FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
EmailStartPOP3Session Does not work with GMail
EmailStartPOP3Session Does not work with GMail
Débuté par willy hermans, 20 fév. 2018 15:41 - 3 réponses
Connectez-vous…
willy hermans
#1
Posté le 20 février 2018 - 15:41
Hello
I use this code from an existing example
// if the user computer is not connected to Internet IF InternetConnected()=False THEN Info("") RETURN END HourGlass() // start a session EmailStartPOP3Session("MyEmailAdress@gmail.com","mypassword","pop.gmail.com",995, optionSSL) IF ErrorOccurred THEN Error(ErrorInfo(errSummary)) RETURN END CHProgressBar=0;CHProgressBar..Visible=True EmailProgressBar(CHProgressBar) // import the emails nNbMail is int nNbMail = nImportMail() CHProgressBar=100;CHProgressBar..Visible=False // close the session EmailCloseSession("MyEmailadress@gmail.com") // switch to the "New message and refresh" tab //IF nNbMail>0 THEN // // MessageFilter(ACCOUNT_Combo, "ñ") //END Info(StringBuild("", nNbMail)) HourGlass(False)
It gives an error
POP3 session: the connection failed. No response from the server.
The settings in the GMail account fore using POP3 are correct.
I have also tried it with Thunderbird. There it works file.
The Google account is a test account added to my person. It is not the only account that is linked with my person. Could this be a problem ?
Anybody an idea.
Thanks
Willy Hermans
Signaler
0
0
willy hermans
#2
Posté le 23 février 2018 - 08:38
Nobody ?
Signaler
0
0
Paulo Oliveira
#3
Posté le 23 février 2018 - 10:35
Read this FAQ for GMAIL and SMTP.
I don't know if the problem is the same with POP3 but you can try it to see if it works.
http://faq.windev.com/15563-google_emailstartsmtpsession_smtp_gmail-read.awp…
Signaler
0
0
willy hermans
#4
Posté le 23 février 2018 - 10:43
Thanks,
Seems to work only with WinDev22.
Willy Hermans
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