Forums

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

You are not logged in.

#1 2014-02-08 02:44:07

Different55
Member
Registered: 2011-11-18
Posts: 177

Gmail SMTP not working

I can't get it to work. Every time an email is supposed to be sent, the smtp server returns an error. I'm running FluxBB 1.5.6 on PHP 5.4.19, and I've copied the smtp configuration from an email client that works with few alterations, so I don't know why it isn't working here. Maybe someone else can see what I'm missing.

SMTP server address: smtp.gmail.com:465
SMTP username: jdiff55@gmail.com
SMTP password: the correct password for this account
Encrypt SMTP using SLL: Yes

The SMTP server returns this error: 555 5.5.2 Syntax error. tr10sm15373966obb.6 - gsmtp
I found nothing searching for this string exactly, but stripping the characters out of the search query returned a few possibly related results that I'm still looking into, but most have to do with cakephp, which I'm not using.

Offline

#2 2014-02-08 08:20:34

seven
Member
From: Torino, Italy
Registered: 2010-08-19
Posts: 314
Website

Re: Gmail SMTP not working

Hello. Is your server running linux or windows? I guess linux.

See: http://fluxbb.org/forums/viewtopic.php?id=7570

The issue is being addressed: http://fluxbb.org/development/core/tickets/949/

The quick solution should be:

define('FORUM_EOL', "\r\n");

Cheers,

7


gamezoo.org - serious gaming services for serious gamers.

Offline

#3 2014-02-08 11:26:10

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

Re: Gmail SMTP not working

Yes, seven is right. That is the quick fix. Please add that line in your config.php file.


fluxbb.de | develoPHP

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

Offline

#4 2014-02-08 20:24:44

Different55
Member
Registered: 2011-11-18
Posts: 177

Re: Gmail SMTP not working

I'm running Windows XP Home Edition and that worked great, thanks.

Offline

Board footer

Powered by FluxBB