PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Email Send Error
Email Send Error
Started by Vijay Patel, Sep., 17 2012 11:09 AM - 2 replies
Connect yourself…
Vijay Patel
#1
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>
Report
0
0
Santiago
#2
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)
Report
0
0
AMH
#3
Posted on November, 15 2018 - 4:41 PM
Hi
I have the same problem,
did you find solution?
Thanks
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text