Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2017-01-21 02:19:33

TheBritain
Member
Registered: 2015-12-20
Posts: 51

GMail SMTP

Recently, my site stopped sending emails, so I attempted to setup SMTP over GMail. I enabled less secure apps, and modified my cache_config.php with the appropriate settings.

http://i.imgur.com/0CPnwOR.png

With 'o_smtp_ssl' => '1',

http://i.imgur.com/5y1MaZ6.png

Any help would be appreciated.

Also, just for extra info.

http://i.imgur.com/d5L2iMF.png

Offline

#2 2017-01-21 21:43:50

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,724
Website

Re: GMail SMTP

Please don't change settings directly in cache_config.php. Just use the administration panel directly.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#3 2017-01-22 06:52:02

Recognition
Member
From: Toronto, Canada
Registered: 2017-01-20
Posts: 79
Website

Re: GMail SMTP

I am thinking of trying this too. My server is sending mail but its SO SLOW.

https://www.digitalocean.com/community/ … mtp-server

Might try this. How did you enable less secure apps?

Offline

#4 2017-01-22 07:06:39

Recognition
Member
From: Toronto, Canada
Registered: 2017-01-20
Posts: 79
Website

Re: GMail SMTP

I can tell you right now my bet is that its not working because there is no where to put the port number which is 465. Where the hell to we specify it

smtp.gmail.com

Requires SSL: Yes

Requires TLS: Yes (if available)

Requires Authentication: Yes

Port for SSL: 465

Port for TLS/STARTTLS: 587



I have tried putting smtp.gmail.com:465 and it still wont work for me either

Last edited by Recognition (2017-01-22 07:10:29)

Offline

#5 2017-01-22 15:47:53

Recognition
Member
From: Toronto, Canada
Registered: 2017-01-20
Posts: 79
Website

Re: GMail SMTP

tried 2 other smtp providers as well with no luck lol

Offline

#6 2017-01-23 19:00:23

chris98
Member
From: England, United Kingdom
Registered: 2013-05-31
Posts: 1,292
Website

Re: GMail SMTP

Hi, I have written an article for my forum software here.

The debugging process is exactly the same for Panther as FluxBB, but you may find this information useful: https://www.pantherforum.org/docs/artic … h-panther/

Last edited by chris98 (2017-01-23 19:00:35)

Offline

#7 2020-07-27 12:49:49

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: GMail SMTP

1. Create a mailbox YOUR.EMAIL@gmail.com or go to it through your browser.
2. In your gmail account, allow access from insecure devices/apps.
3. Set and save the options in the forum admin panel:

Webmaster email = YOUR.EMAIL@gmail.com
SMTP server address = smtp.gmail.com:465
SMTP username = YOUR.EMAIL@gmail.com
SMTP password = Check the box and enter the password from your email in both fields
Encrypt SMTP using SSL = Yes

4. Make a trial registration or mailing through the forum.
5. Check your inbox for warning emails from google. If there are any, then give permission again.

Last edited by Visman (2020-07-27 12:55:33)

Offline

#8 2020-09-04 00:26:22

Recognition
Member
From: Toronto, Canada
Registered: 2017-01-20
Posts: 79
Website

Re: GMail SMTP

dont think Gmail SMTP works for free anymore... sad

Offline

#9 2020-09-04 01:13:13

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,476
Website

Re: GMail SMTP

Everything works, unlike Yandex, which constantly refuses to accept mail, believing that I am a spammer.

Offline

#10 2020-09-04 01:15:44

Recognition
Member
From: Toronto, Canada
Registered: 2017-01-20
Posts: 79
Website

Re: GMail SMTP

Gmails SMTP stopped working for me out of no where. I've switched to mailgun and its working.

Offline

#11 2020-09-04 11:10:48

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,724
Website

Re: GMail SMTP

We do use Gmail SMTP here as well - mostly without issues so far. Do you get notification emails from fluxbb.org?


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#12 2020-09-04 14:53:37

Recognition
Member
From: Toronto, Canada
Registered: 2017-01-20
Posts: 79
Website

Re: GMail SMTP

Gmail SMTP seems to be working here. I gave up trying to figure out why it stopped working on my site. I made sure less secure apps was on. I literally didnt change anything on my end it just stopped working. Too frustrating trying to figure it out. It would also say bad credentials even though I made sure they were correct.

Error: Could not connect to smtp host "smtp.mailgun.org:587" (0) (). with MailGun too. I'm thinking this is not a SMTP server issue... I really don't know what to do.

Last edited by Recognition (2020-09-04 22:12:58)

Offline

#13 2020-09-05 20:48:28

Recognition
Member
From: Toronto, Canada
Registered: 2017-01-20
Posts: 79
Website

Re: GMail SMTP

Update, I gave up on MailGun and Gmail.

I now use SMTP2GO and it was SO easy to setup. https://www.smtp2go.com/

Offline

Board footer

Powered by FluxBB