<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>14 May 2020 14:03:09 Z</lastBuildDate><pubDate>11 Jul 2013 14:12:31 Z</pubDate><description>Anyone trying to send an email with windev and office 365 ???&#13;
&#13;
&#13;
Here is the setup from office 365&#13;
&#13;
//SMTP&#13;
//Server name: smtp.office365.com&#13;
//Port: 587&#13;
//Encryption method: TLS&#13;
&#13;
The code that doesn't work.&#13;
&#13;
&#13;
gsuser is string = "philip@metrotile.eu"&#13;
gspassword is string = "password"&#13;
&#13;
// Secured SMTP session&#13;
gSessionSMTP is EmailSMTPSession&#13;
gSessionSMTP..ServerAddress = "smtp.office365.com"&#13;
gSessionSMTP..Name = gsuser&#13;
gSessionSMTP..Password = gspassword&#13;
gSessionSMTP..Port = 587&#13;
gSessionSMTP..Option = emailOptionSecuredTLS&#13;
//gSessionSMTP..Option = emailOptionDefault&#13;
&#13;
// Content of the email &#13;
AnEmail is Email//object&#13;
AnEmail..SenderAddress = "Philip Neven"&#13;
AnEmail..Sender = gsuser&#13;
AnEmail..Recipient[1] = "philip@metrotile.be"&#13;
AnEmail..Subject = "Sending an email from WinDev."&#13;
AnEmail..Message = "Sending an email from WinDev."&#13;
&#13;
// Send the email&#13;
IF EmailStartSession(gSessionSMTP)=True THEN&#13;
	IF EmailSendMessage(gSessionSMTP,AnEmail) = False THEN&#13;
		Error("Failure sending the email.", ErrorInfo(errMessage))&#13;
	END&#13;
ELSE&#13;
	Error("Unable to establish the connection", ErrorInfo(errMessage))&#13;
END&#13;
&#13;
&#13;
Anuone?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office/read.awp</link><title>Sending mail with Office 365</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>didier.philippon</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-67826/read.awp</comments><pubDate>14 May 2020 14:03:09 Z</pubDate><description>Bonjour,&#13;
&#13;
j'ai lu votre intervention avec intérêt. Je fais dans mon développement exactement la même chose que vous.&#13;
Depuis m…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-67826/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-67826/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office/read.awp">Sending mail with Office 365</source><title>Re: Sending mail with Office 365</title></item><item><author>bvesy</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-51985/read.awp</comments><pubDate>8 May 2015 09:41:49 Z</pubDate><description>Hello,&#13;
&#13;
J'ai utilisé avec succès le code suivant pour ouvrir une session SMTP sur Outlook365:  &#13;
&#13;
NomUser est une chaîne&#13;
Mon…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-51985/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-51985/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office/read.awp">Sending mail with Office 365</source><title>Re: Sending mail with Office 365</title></item><item><author>thebowlingeur</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-46730/read.awp</comments><pubDate>24 Jun 2014 14:41:18 Z</pubDate><description>Hello,&#13;
&#13;
I have the same problem. Does anyone find a solution ?&#13;
&#13;
I also tried to configure account in thunderbird. The accoun…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-46730/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-46730/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office/read.awp">Sending mail with Office 365</source><title>Re: Sending mail with Office 365</title></item><item><author>jerome.delville</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-43551/read.awp</comments><pubDate>6 Dec 2013 11:42:33 Z</pubDate><description>Hi,&#13;
&#13;
I work with miss Gwennaelle Wit. Yes, the same problem, and we haven't found a solution at this time.&#13;
&#13;
Everyone have an…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-43551/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-43551/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office/read.awp">Sending mail with Office 365</source><title>Re: Sending mail with Office 365</title></item><item><author>jianez</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-42985/read.awp</comments><pubDate>30 Oct 2013 11:02:06 Z</pubDate><description>Exactly the same problem ?&#13;
&#13;
Did you find the solution ??</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-42985/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-42985/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office/read.awp">Sending mail with Office 365</source><title>Re: Sending mail with Office 365</title></item><item><author>gwennaelle.wit</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-42026/read.awp</comments><pubDate>30 Aug 2013 11:55:17 Z</pubDate><description>Hello,&#13;
&#13;
We have the same problem .. ;(&#13;
Did you find the solution?&#13;
&#13;
Thank you very much.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-42026/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office-42026/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/41257-sending-mail-with-office/read.awp">Sending mail with Office 365</source><title>Re: Sending mail with Office 365</title></item></channel></rss>
