FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Email Send Error
Email Send Error
Débuté par Vijay Patel, 17 sep. 2012 11:09 - 2 réponses
Connectez-vous…
Vijay Patel
#1
Posté le 17 septembre 2012 - 11:09
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>
Signaler
0
0
Santiago
#2
Posté le 18 septembre 2012 - 10:24
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)
Signaler
0
0
AMH
#3
Posté le 15 novembre 2018 - 16:41
Hi
I have the same problem,
did you find solution?
Thanks
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte