News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Getting my head around email notifications

Started by DavidBarrett, May 11, 2022, 10:06:15 AM

Previous topic - Next topic

DavidBarrett

Afternoon

I have taken over looking after our clubs forum and we have noticed that we are not getting email notifications at the moment.

I have updated the mail server settings to *Known good* settings - known good as in I have used them in another app to send an email and its working fine.

I am getting the following in the logs :
fsockopen(): Unable to connect to XXX.XXX.XXX.XXX:25 (Connection timed out)Where XXX XXX XXX XXX is the IP address for the mail server (I have also tried it with a domain name).

I have checked the mail server logs and cant see any incoming connections so its like the forum isn't trying to connect?

Edit to add - There is no firewall on the mail server blocking things.

Any ideas would be appreciated.

Thanks




DavidBarrett

Don't know if this casts any more light on it, I'm not overly familiar with php, my background is C#.

You cannot view this attachment.

DavidBarrett

For anyone who may have the same issue in the future.

I fixed this by using port 587 instead of 25.

I guess that port 25 was blocked somewhere along the way... Either way, its working now :)

Advertisement: