FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Error connecting to Gmail SMTP from WD
Error connecting to Gmail SMTP from WD
Débuté par steve erts, 04 déc. 2017 19:03 - 6 réponses
Connectez-vous…
steve erts
#1
Posté le 04 décembre 2017 - 19:03
As of yesterday we started getting the following error when trying to connect to gmail SMTP from our windev app.
"A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider"
This happens when using 587/TLS and 465/SSL
We do have "allow access to less secure apps" enabled in our gmail accounts
Does this mean we need to start digital signing our application?
Any ideas?
Signaler
0
0
Joris
#2
Posté le 05 décembre 2017 - 09:17
Hi,
see
http://27130.foren.mysnip.de/read.php…
and
http://27130.foren.mysnip.de/read.php…
Kind regards,
Joris.
Signaler
0
0
steve erts
#3
Posté le 05 décembre 2017 - 17:37
Joris,
adding
EmailConfigure(emailParameterMode, 1)
before "emailstartsession" did the trick.
Many thanks!
Steve
Signaler
0
0
PETER ZHOU
#4
Posté le 06 décembre 2017 - 15:58
Quote
steve erts
Joris,
adding
EmailConfigure(emailParameterMode, 1)
before "emailstartsession" did the trick.
Many thanks!
Steve
Hi Steve,
I do not find any function available for EmailConfigure(emailParameterMode, 1)
Could you explain further ?
Regards,
PETER ZHOU
Signaler
0
0
Arie
#5
Posté le 06 décembre 2017 - 19:45
You need V22 for that...
Signaler
0
0
Frank
#6
Posté le 06 décembre 2017 - 22:46
I am having the same issue. I am starting to get customers stating that my windev app does not send emails via their gmail account which has been working for years.
I am currently using rev 21. Does upgrading to 22 and adding the code EmailConfigure(emailParameterMode, 1) before EmailStartSMTPSession really work?
Signaler
0
0
creiglee
#7
Posté le 20 mars 2018 - 07:26
It is because Google blocks sign-in attempts from apps which do not use modern security standards (mentioned on their support page). You can however, turn on/off this safety feature by going to the link below:
Go to this link and select Turn On
https://www.google.com/settings/security/lesssecureapps
Moreover google block an ip when you try to send a email since a unusual location, so, you can unblock in the next link
https://support.google.com/accounts/answer/6009563
and clicked in
accounts.google.com/DisplayUnlockCaptcha .
http://net-informations.com/python/net/email.htm
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