PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → Email Send Error
Email Send Error
Started by Vijay Patel, Sep., 17 2012 11:09 AM - 2 replies
Posted on September, 17 2012 - 11:09 AM
I Am Send Email In Use gmail Server, To Give 1 error,


UserName is string
UserName = "testemail@Gmail.com"
IF EmailStartSMTPSession(UserName,"Email123","smtp.gmail.com",587) = True THEN

Email.NbRecipient=1
Email.Recipient="Receivemail@gmail.com"
Email.Subject="hi"
Email.Sender=UserName
Email.Message = "Email content"
IF EmailSendMessage(UserName) = False THEN
Error()
END
EmailCloseSession(UserName)
ELSE
Error("Unable to establish the connection",ErrorInfo(),...
"In case of time-out, check the parameters of the ""Firewall"" on the port used (587)")
END



Error Is,
unable to send Message,
Check the receipeint addresses as well as your account settings(Sender address),

Failure may be caused by a technical problem.
four successive attempts have been mode,problem Details.

-First Attempt:
Content of email.sender not recognized by server transaction deriad.
Last SMTP server Response:
<530.5.7.0 must issue a STARTTLS command First :gj9sm6378036pbc.16>

--Second Attempt:
content of email sender not recognized by server.Transaction denied.
Last SMTP server Response.
<530.5.7.0 must issue a STARTTLS command First: gj9sm6378036pbc.16>

essai 2

--Third Attempt:
content of Email.Sender not Recognized by server.Transaction denied.
Last SMTP server Response.
<530 5.7.0 must issue a STARTTLs command First.gj9sm6378036pbc.16>

--Fourth Attemp:
Content of Email.Sender not Recognized by Server.Transaction denied.
Last SMTP server response:
<530 5.7.0 must issue a STARTTLS command first.gj9sm6378036pbc.16>
Posted on September, 18 2012 - 10:24 AM
SMTPSession is EmailSMTPSession
SMTPSession.Name="User"
SMTPSession.Password="Password"
SMTPSession.ServerAddress="smtp.gmail.com"
SMTPSession.Port=587
SMTPSession.Option = emailOptionSecuredTLS

MyMail is email

//Fill MyMail variable

EmailStartSession(SMTPSession)
//Check error

EmailSendMessage(SMTPSession,Correo)
//Check error

EmailCloseSession(SMTPSession)
Posted on November, 15 2018 - 4:41 PM
Hi
I have the same problem,
did you find solution?
Thanks