Sending mail in c++ using gmail as smtp relay
Hi guys,
I would like to know how to send mail in c++ on a windows platform. I have referrred to the jwsmtp external library but am unable to get it ported into CodeBlocks. The link is <
http://johnwiggins.net/jwsmtp/howto>.
The link for windows is <
http://johnwiggins.net/jwsmtp/mswin>.
However when i try
g++ mail.cpp -o Mail -IC:\Users\Desktop\jwsmtp-1.32.15 LC:\Users\Desktop\jwsmtp-1.32.15 -ljwsmtp-1.32.15.
It says file not found.
How do iget the jwsmtp ported into codeblocks.(I have installed minsw32 and cygnus)
A step by step explanation would be greatly appreciated as i have tried for a while now without any success.
Topic archived. No new replies allowed.