PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
EmailStartPOP3Session Does not work with GMail
EmailStartPOP3Session Does not work with GMail
Started by willy hermans, Feb., 20 2018 3:41 PM - 3 replies
Connect yourself…
willy hermans
#1
Posted on February, 20 2018 - 3:41 PM
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
Report
0
0
willy hermans
#2
Posted on February, 23 2018 - 8:38 AM
Nobody ?
Report
0
0
Paulo Oliveira
#3
Posted on February, 23 2018 - 10:35 AM
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…
Report
0
0
willy hermans
#4
Posted on February, 23 2018 - 10:43 AM
Thanks,
Seems to work only with WinDev22.
Willy Hermans
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