Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Email from VFP app via gmail server
Message
De
02/02/2018 17:16:19
 
 
À
02/02/2018 16:27:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01657742
Message ID:
01657743
Vues:
112
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform