how to send an email using C/C++ with Auth Gmail Account
I want to simply send email using C or C++.
I have tried so many examples and sample codes but they didn effect..
I hv tried to use the google smtp like a smtp replay(i mean pushed through the gmails smtp relay) but gmail is rejecting my IP address and says like this
Can anyone tell me how to use separate Gmail account authorization and work with this Email thing with C/C++ code..(I mean suppose I have an Gmail Account called firstname.lastname@example.org, I hv done this using Java.. Java allow to send emails through that authorized gmail account- by giving username and passwords to the Java code)
The IP you're using to send mail is not authorized to send email directly to our servers. Please use the SMTP relay at your service provider instead. Learn more at http://mail.google.com/support/bin/answer.py?answequit
I want to get this work on Windows platform..
how to do this using C/C++?
pls help me guyz.