<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>5 Jan 2015 14:29:00 Z</lastBuildDate><pubDate>1 Jan 2015 15:30:00 Z</pubDate><description>I am trying to send email to user using following code:&#13;
gSessionSMTP is EmailSMTPSession gSessionSMTP..ServerAddress="smtp.gmail.com" gSessionSMTP..Name=gsUser gSessionSMTP..Password=gsPassword gSessionSMTP..Port=587 gSessionSMTP..Option=optionSecureTLS //Content of the email AnEmail is Email object AnEmail..SenderAddress=gsUser AnEmail..Recipient[1]=gsSendTo AnEmail..Subject = "Thank your giving Business to us" AnEmail..Message = gsMailBody //Send the email IF EmailStartSession(gSessionSMTP)=True THEN IF EmailSendMessage(gSessionSMTP,AnEmail)=False THEN Error("Failure sending the email.",ErrorInfo(errMessage)) END ELSE Error("Unable to establish the connection", ErrorInfo(errMessage)) END&#13;
What is wrong with this code.&#13;
&#13;
It keeps on failing.&#13;
&#13;
The above code that I am currently using is copied from WinDev's Help and modified as per my needs.&#13;
&#13;
TIA&#13;
&#13;
Yogi Yang</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49664-sending-email-using-smtp-goolge-does-not-work/read.awp</link><title>Sending Email using SMTP of Goolge does not work</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49664-sending-email-using-smtp-goolge-does-not-work-49715/read.awp</comments><pubDate>5 Jan 2015 14:29:00 Z</pubDate><description>Hi Yogi,&#13;
you will have to change a setting on your gmail account.&#13;
Enable -&gt; "Access for less secure apps" and everything will …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49664-sending-email-using-smtp-goolge-does-not-work-49715/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49664-sending-email-using-smtp-goolge-does-not-work-49715/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49664-sending-email-using-smtp-goolge-does-not-work/read.awp">Sending Email using SMTP of Goolge does not work</source><title>Re: Sending Email using SMTP of Goolge does not work</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49664-sending-email-using-smtp-goolge-does-not-work-49710/read.awp</comments><pubDate>5 Jan 2015 11:27:00 Z</pubDate><description>Danny,&#13;
&#13;
Thanks for the link. I will check it out.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49664-sending-email-using-smtp-goolge-does-not-work-49710/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49664-sending-email-using-smtp-goolge-does-not-work-49710/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49664-sending-email-using-smtp-goolge-does-not-work/read.awp">Sending Email using SMTP of Goolge does not work</source><title>Re: Sending Email using SMTP of Goolge does not work</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49664-sending-email-using-smtp-goolge-does-not-work-49665/read.awp</comments><pubDate>1 Jan 2015 16:05:00 Z</pubDate><description>Yogi,&#13;
&#13;
Check out this forum question&#13;
&#13;
http://27130.foren.mysnip.de/read.php?27131,490891,493554#msg-493554&#13;
&#13;
There is code …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49664-sending-email-using-smtp-goolge-does-not-work-49665/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49664-sending-email-using-smtp-goolge-does-not-work-49665/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49664-sending-email-using-smtp-goolge-does-not-work/read.awp">Sending Email using SMTP of Goolge does not work</source><title>Re: Sending Email using SMTP of Goolge does not work</title></item></channel></rss>
