Hi,
I need the C code for Sending Email with attachment through
SMTP protocol, running under linux platform.
Thanks
Printable View
Hi,
I need the C code for Sending Email with attachment through
SMTP protocol, running under linux platform.
Thanks
Yeah? Well I need US$1 million. What are the chances someone's just going to give it to me?
if you still need it pm me, i have written one some time ago, but i cant tell you now how much it is reliable
As a potential complication that may or may not apply to your situation: I used to do this using perl and sendmail or postfix. It was always a riot to send mail "from" my mom to my sister, and then vice versa, etc.
However, such a custom personal mail system was apparently a popular strategy with pervayors of spam as well (hope you're not one of those). Thanks to that, it is now impossible today: a large percentage (possibly most) of mail servers (eg, the one receiving your mail) use a common list of other "trusted" servers and simply do not accept anything from anyone else. Some of the those may send you a bounce notice saying as much, but last time I checked, most of them behave as if the message were accepted, then they throw it out without telling you or the intended recipient.
So if you were hoping you could just send mail without going thru a real ISP you will be out of luck, I promise, regardless of how honest you are. If you will only be sending to one particular place and you can make arrangements with the mail server there it will work, otherwise don't waste your time.