Page 1 of 1
Rules for sending a mail with purebasic and gmail.com
Posted: Wed Sep 17, 2025 4:31 pm
by loulou2522
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.
Re: Rules for sending a mail with purebasic and gmail.com
Posted: Wed Sep 17, 2025 6:22 pm
by HeX0R
Afaik they changed several years ago already?
You need so called
app passwords.
Re: Rules for sending a mail with purebasic and gmail.com
Posted: Wed Sep 17, 2025 6:40 pm
by mk-soft
In addition, you must authorise foreign mail programs.
Otherwise, only certified mail programs will be authorised.
Re: Rules for sending a mail with purebasic and gmail.com
Posted: Thu Sep 18, 2025 1:12 am
by BarryG
loulou2522 wrote: Wed Sep 17, 2025 4:31 pmThe rules for sending emails on Gmail from an external mailer have changed.
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.
@mk-soft: I don't think you need to authorise your app, because I haven't.