|
Sending mails from google account |
Iniciado por Issa, 04,oct. 2017 15:15 - 2 respuestas |
| |
| | | |
|
| |
Miembro registrado 20 mensajes Popularité : +1 (1 vote) |
|
Publicado el 04,octubre 2017 - 15:15 |
Hello everybody
I have created on site a function for sending e-mails (from my google account). Till now I have sent maximum 10 e-mails/day
This is the code
SI EmailOuvreSessionSMTP(sNomUser,sPassExp,sServeurSMTP,587,Faux,emailOptionSécuriséTLS) = Vrai ALORS
SI EmailEnvoieMessage(sNomUser,emailOptionEncodeEntête) = Faux ALORS Erreur(ErreurInfo()) EmailFermeSession(sNomUser) RETOUR FIN EmailFermeSession(sNomUser) Info("Votre email a été envoyé") SINON Erreur("Impossible d'établir la connexion", ErreurInfo(errMessage), ... "En cas de Time Out, assurez-vous des paramètres du ""Pare-Feu"" sur le port utilisé (587)") FIN
it worked till 2 days ago but now the error message is :
A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider
Does anybody know what happened with google?
Thank you for your help
-- Issa Bej |
| |
| |
| | | |
|
| | |
| |
Publicado el 04,octubre 2017 - 20:15 |
Hi Issa,
yes, and pcsoft published a faq about it and how to get rid of it in windev 22 using emailparameter function, if I remember correctly
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM (open source)
More information on http://www.fabriceharari.com
Le 10/4/2017 à 7:15 AM, Issa a écrit :
Hello everybody I have created on site a function for sending e-mails (from my google account). Till now I have sent maximum 10 e-mails/day This is the code SI EmailOuvreSessionSMTP(sNomUser,sPassExp,sServeurSMTP,587,Faux,emailOptionSécuriséTLS) = Vrai ALORS SI EmailEnvoieMessage(sNomUser,emailOptionEncodeEntête) = Faux ALORS Erreur(ErreurInfo()) EmailFermeSession(sNomUser) RETOUR FIN EmailFermeSession(sNomUser) Info("Votre email a été envoyé") SINON Erreur("Impossible d'établir la connexion", ErreurInfo(errMessage), ... "En cas de Time Out, assurez-vous des paramètres du ""Pare-Feu"" sur le port utilisé (587)") FIN it worked till 2 days ago but now the error message is : A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider Does anybody know what happened with google? Thank you for your help -- Issa Bej |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 20 mensajes Popularité : +1 (1 vote) |
|
Publicado el 05,octubre 2017 - 08:14 |
Thank you Fabrice
It was very helpful
-- Issa Bej |
| |
| |
| | | |
|
| | | | |
| | |
|