The rules for sending emails on Gmail from an external mailer have changed. Can anyone tell me what the new rules are for sending emails from PureBasic using a Gmail account?
Thanks in advance.
Rules for sending a mail with purebasic and gmail.com
-
- Enthusiast
- Posts: 553
- Joined: Tue Oct 14, 2014 12:09 pm
Re: Rules for sending a mail with purebasic and gmail.com
Afaik they changed several years ago already?
You need so called app passwords.
You need so called app passwords.
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{History Viewer Online}.:|:.{Send a Beer}
Re: Rules for sending a mail with purebasic and gmail.com
In addition, you must authorise foreign mail programs.
Otherwise, only certified mail programs will be authorised.
Otherwise, only certified mail programs will be authorised.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Rules for sending a mail with purebasic and gmail.com
Hmm, my app still sends mail from my Gmail account without issue. You have to use an app password, though (you can't use your normal Gmail password). Also, SSL/TLS must be 1, with port 587. Use smtp.gmail.com for the server. Works perfectly for me.loulou2522 wrote: Wed Sep 17, 2025 4:31 pmThe rules for sending emails on Gmail from an external mailer have changed.
@mk-soft: I don't think you need to authorise your app, because I haven't.