Rules for sending a mail with purebasic and gmail.com

Just starting out? Need help? Post your questions and find answers here.
loulou2522
Enthusiast
Enthusiast
Posts: 553
Joined: Tue Oct 14, 2014 12:09 pm

Rules for sending a mail with purebasic and gmail.com

Post 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.
User avatar
HeX0R
Addict
Addict
Posts: 1207
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: Rules for sending a mail with purebasic and gmail.com

Post by HeX0R »

Afaik they changed several years ago already?
You need so called app passwords.
User avatar
mk-soft
Always Here
Always Here
Posts: 6270
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Rules for sending a mail with purebasic and gmail.com

Post by mk-soft »

In addition, you must authorise foreign mail programs.

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
BarryG
Addict
Addict
Posts: 4194
Joined: Thu Apr 18, 2019 8:17 am

Re: Rules for sending a mail with purebasic and gmail.com

Post 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.
Post Reply