[TriLUG] OT: C++ question
Phillip Rhodes
mindcrime at cpphacker.co.uk
Mon Oct 31 20:52:28 EST 2005
Mark Freeze wrote:
> Can someone show me how to send an email from within a c++ program? Or at
> least point me in the direction of a good learning resource?
I would the two best options would be to use the
aforementioned "exec sendmail" or use an existing,
open-source SMTP client library. There is an
LGPL'd one here:
http://www.stafford.uklinux.net/libesmtp/
I would recommend against writing your own low-level
socket / smtp protocol stuff... why re-invent the wheel
when libraries already exist?
TTYL,
Phil
--
North Carolina - First In Freedom
Free America - Vote Libertarian
www.lp.org
More information about the TriLUG
mailing list