<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>11 Jun 2016 02:10:00 Z</lastBuildDate><pubDate>9 Jun 2016 14:40:00 Z</pubDate><description>[UPDATE] - Solved this - there was a space at the end of the password ! Thanks for reading.&#13;
&#13;
Hi All&#13;
&#13;
I am trying to send an email from WebDev or WinDev. I have confirmed all settings and have it working in Visual FoxPro using a similar set of code lines as WinDev. However, I keep getting a failure on SMTP Start Sessions saying bad user id or password. However, both are definitely OK. I have also checked the port - which is default 25. Here is my code:&#13;
&#13;
&#13;
MySession is EmailSMTPSession&#13;
&#13;
MySession.ServerAddress = "smtp.mydomain.com"&#13;
&#13;
MySession.Name = "sending_account_username@mydomain.com"&#13;
MySession.Password = "sending_account_password "&#13;
&#13;
IF EmailStartSession( MySession ) = False THEN // Always fails here &lt;=&#13;
&#13;
ToastDisplay( "Unable to connect to the SMTP server." , ErrorInfo() )&#13;
&#13;
RETURN&#13;
&#13;
END&#13;
&#13;
It always fails on the line indicated. Virtually the exact same code but in VFP works fine. Firewall popups are told to allow. I have tried in WinDev and WebDev. What am I missing?&#13;
&#13;
TIA</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58042-21-sending-email-solved/read.awp</link><title>[WD/WB 21] - Sending Email - SOLVED</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/58042-21-sending-email-solved-58066/read.awp</comments><pubDate>11 Jun 2016 02:10:00 Z</pubDate><description>Quote&#13;
JP&#13;
&#13;
[UPDATE] - Solved this - there was a space at the end of the password ! Thanks for reading.&#13;
&#13;
Sounds like a securi…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58042-21-sending-email-solved-58066/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58042-21-sending-email-solved-58066/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58042-21-sending-email-solved/read.awp">[WD/WB 21] - Sending Email - SOLVED</source><title>Re: [WD/WB 21] - Sending Email - SOLVED</title></item></channel></rss>
