Mich., 1841‑45; in Military Occupation of Texas, 1845‑46; in the War with Mexico, 1846, 1846‑47, being engaged in the Battle of Palo Alto, May 8, 1846, — Battle of
Resaca-de‑la‑Palma, May 9, 1846, — Siege of Vera Cruz, Mar. 9‑29, 1847, — on Expedition to Alvarado to procure provisions and draught animals, Apr., 1847, — Capture of San Antonio, Aug. 20, 1847, — Battle of Churubusco, Aug. 20, 1847, — and Battle of Molino del Rey, Sep. 8, 1847, where he was Mortally Wounded in leading the Light Infantry Battalion under his command to the assault of a battery of the enemy.b

Died of Wounds, Sep. 11, 1847, near the City of Mexico: Aged 40.

Thayer's Notes:

a
Ephraim Kirby Smith is not to be confused with his more famous brother, Edmund Kirby Smith, also frequently referred to as E. Kirby Smith.

b
Twenty-four of his letters to his wife from the Mexican War have been published as To Mexico with Scott: letters of Captain E. Kirby Smith to his wife (Harvard University Press, 1917); he wrote the last of them, a long one, the day before he was killed. A photocopy of the book is online
at Archive.Org.

Images with borders lead to more information.
The thicker the border, the more information.
(Details here.)