gmail smtp server

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
kamikazebaa
Registered User
Posts: 3
Joined: Sun Jun 23, 2024 2:47 pm

gmail smtp server

Post by kamikazebaa »

what did i do wrong in this configuration?

Use smtp: yes
server : smtp.gmail.com
port:587
auth: login
smtp user: [email protected]
smtp pass: the thing i got from app passwords in google
and all the check marks here are set to no

this all worked in an smtp tester but not in phpbb, can anyone help me?
Last edited by Mick on Mon Sep 02, 2024 7:37 am, edited 1 time in total.
Reason: Solved.
User avatar
Kailey
Community Team Leader
Community Team Leader
Posts: 3937
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Snay

Re: gmail smtp server

Post by Kailey »

Do these work? I did a search and someone was able to get it working with the settings below.
SMTP server address: tls://smtp.gmail.com
SMTP server port: 465
Kailey Snay - Community Team Leader
Knowledge Base | Documentation | Community rules
If you have any questions about the rules/customs of this website, feel free to send me a PM.

My little corner of the world | Administrator @ phpBB Modders
kamikazebaa
Registered User
Posts: 3
Joined: Sun Jun 23, 2024 2:47 pm

Re: gmail smtp server

Post by kamikazebaa »

no, it doesent
User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10588
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster

Re: gmail smtp server

Post by Noxwizard »

What do the ACP error logs say?
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.
kamikazebaa
Registered User
Posts: 3
Joined: Sun Jun 23, 2024 2:47 pm

Re: gmail smtp server

Post by kamikazebaa »

Code: Select all

	Email error
» EMAIL/SMTP
/adm/index.php?i=acp_board&sid=REDACTED&mode=email

Could not get mail server response codes.
Backtrace
Connecting to tls://smtp.gmail.com:465
LINE: 1210 <- 220 smtp.gmail.com ESMTP REDACTED - gsmtp

# EHLO
LINE: 1557 <- 501-5.5.4 Empty HELO/EHLO argument not allowed, closing connection.

LINE: 1557 <- 501 5.5.4 https://support.google.com/mail/?p=helo REDACTED - gsmtp

# HELO
D3R
Registered User
Posts: 7
Joined: Sat Aug 31, 2024 8:43 am

Re: gmail smtp server

Post by D3R »

Kailey wrote: Sun Jun 23, 2024 7:34 pm Do these work? I did a search and someone was able to get it working with the settings below.
SMTP server address: tls://smtp.gmail.com
SMTP server port: 465
TLS goes with port 465? i thought it's on 587?
User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10588
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster

Re: gmail smtp server

Post by Noxwizard »

It varies depending on the settings and the host. Most properly configured SMTP servers that support tls:// should be using port 587.
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.
User avatar
Kailey
Community Team Leader
Community Team Leader
Posts: 3937
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Snay

Re: gmail smtp server

Post by Kailey »

D3R wrote: Sat Aug 31, 2024 8:44 am TLS goes with port 465? i thought it's on 587?
Yes, it's usually 587 (as noted above). My point was that someone that had this problem previously got it to work with those settings. ;)
Kailey Snay - Community Team Leader
Knowledge Base | Documentation | Community rules
If you have any questions about the rules/customs of this website, feel free to send me a PM.

My little corner of the world | Administrator @ phpBB Modders
D3R
Registered User
Posts: 7
Joined: Sat Aug 31, 2024 8:43 am

Re: gmail smtp server

Post by D3R »

Kailey wrote: Sat Aug 31, 2024 7:54 pm
D3R wrote: Sat Aug 31, 2024 8:44 am TLS goes with port 465? i thought it's on 587?
Yes, it's usually 587 (as noted above). My point was that someone that had this problem previously got it to work with those settings. ;)
I should give it a try then

edit: nope, this patch solved the error

Code: Select all

https://www.phpbb.com/community/viewtopic.php?p=16026568#p16026568

Return to “[3.3.x] Support Forum”