News:

Wondering if this will always be free?  See why free is better.

Main Menu

Mail sending not working

Started by Bruttomucco, March 01, 2017, 02:05:04 AM

Previous topic - Next topic

Bruttomucco

Hello, my SMF is not able to send emails.
I tried both with standard php and with different SMTP server (the one of my domain, Gmail with and without ssl before the name server).

Mi server's configuration (namecheap) seems OK: they confirm everything is OK and phpbb forum in another folder works fine with sending emails.

The strange thing is that the administrator receive the email when new users ask to register, but no notifications for new topoc/post or emails between users are working (I enabled these 2 options).

Could you please suggest my any advice? Thanks a lot!

Caracal

I had a lot of issues with this on my forum lately in the end i got it down to enabling the mail queue. At first i thought it needed to be off but few days ago i enabled it and i now receive notifications on replies to topics. So try this

Bruttomucco

Thank you, I tried your suggestion (I also increased the email limits), but no way...

I can't understand the reason and I don't know what to do.

Shambles

Are there any mail-related errors in your error log?

Bruttomucco

It says "not possible to send the email to the email address".
I tried with different email addresses

Bruttomucco

Update:

When I set SMTP with SSL (not supported), the error log says "Unable to send mail to the email address '[email protected]"

When I set SMTP without SSL, the error log says "Ran into problems sending Mail. Error: 550 From"

Bruttomucco

I think that I have to give up with SMF, taking also into account that phpbb forum works out of the box without any setting change.

After struggling a lot with the assistance of my server, this is the possible reason of the issue with SMF (the last answer of namecheap helpdesk):

We tested your contact form and faced 500 Internal error. According to the apache error, the script with the register form required too many time to be process or it is too large to be processed. (The error: Script timed out before returning headers: index.php, referer: hxxp:hackmed.org/specializzandi/index.php?action=admin;area=regcenter;sa=register [nonactive] )

This means that our server cannot handle this request.

In order to fix the issue, you need to optimize this script or check for non-compatible components. You may check the settings of this software to allow more time to process the requests.

The attention of the developer of this software is needed.

Shambles


Bruttomucco

Thank you for the workaround Shambles, really appreciated, but since probably I will not be the only admin of the forum, I prefer keeping the things as much plain and easy as possible, without unsupported code editing or thirdy part services (that's why I wanted SIMPLY machine forum :-D ).

Anyway, thanks a lot for your replies!

Shambles

It's not so much a workaround, more a change to conform to Gmail's tightened authentication protocols.

Bruttomucco

Just a small hint, I hope it can be useful somehow for other users/developers.

I noticed that in phpbb SMTP settings there is an additional option compared to SMF (see attachment): if you don't set "LOGIN" as "Authentication method", you have issues in sending e-mails similar to SMF.

Maybe the implementation of this feature could be the key to solve the problem.

Advertisement: