Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Email from VFP app via gmail server
Message
From
02/02/2018 17:16:19
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01657742
Message ID:
01657743
Views:
109
>Hi,
>
>I am trying to send email using GMAIL server. For SMTP I use "smtp.gmail.com", port 465, and then user gmail user ID and password.
>But I get a message "cannot connect to the server"
>Is there a setting or something I am missing?

In your mail client you need to specify that encryption is required: https://www.lifewire.com/what-are-the-gmail-smtp-settings-1170854

If you're using port 465, specify the encryption type is SSL. If you use TLS it's port 587.

Also make sure your user name is not just "YourUserName", instead it has to be "YourUserName@gmail.com".

Whichever port you use, you need to make sure your environment allows outgoing traffic on that port. That's not usually an issue in small environments (typically no restrictions on outgoing traffic) but if it's been locked down for any reason then you'll need to get the sysadmin to allow your traffic.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform