Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: timetraveller - elokuu 10, 2011, 06:17:18 AP

Otsikko: E-mail notifications not working
Kirjoitti: timetraveller - elokuu 10, 2011, 06:17:18 AP
I uninstalled Simple Portal early on Tuesday morning. There was an error message in the log but I checked on the Simple Portal forums which suggested that any possible repercussions would be minor and easily fixed.

Everything seems to have gone fine but I seem to have one thing not working now and that is the email notifications.

Can someone tell me what to look at to fix it?
Otsikko: Re: E-mail notifications not working
Kirjoitti: timetraveller - elokuu 11, 2011, 05:51:25 IP
Any help for this?

Alternatively, I assume that when I upgrade to SMF 2.0 (in September) it will be automatically fixed?
Otsikko: Re: E-mail notifications not working
Kirjoitti: Angelina Belle - syyskuu 09, 2011, 12:53:15 IP
What was the error? Are you certain this problem is related to the SimplePortal uninstall?

When you upgrade to SMF 2.0, you will start with a fresh new set of forum files. Everything should work fine at that point.
Otsikko: Re: E-mail notifications not working
Kirjoitti: timetraveller - syyskuu 21, 2011, 06:36:18 IP
I'm not sure - it just happened at the same time.
The error is this (from the error logs):
2: mail() has been disabled for security reasons
File: /home/joemusic/public_html/forum/Sources/Subs-Post.php
Line: 661
Otsikko: Re: E-mail notifications not working
Kirjoitti: Illori - syyskuu 21, 2011, 07:18:50 IP
you should contact your host and find out if their server supports email.
Otsikko: Re: E-mail notifications not working
Kirjoitti: timetraveller - syyskuu 24, 2011, 03:24:16 IP
They definitely support email. The function *used* to work, members were getting email notifications of threads they subscribed to and I was getting email notifications of new member registrations etc.
Plus I am still receiving emails from other sources, it's just the forum emails that have stopped.
Otsikko: Re: E-mail notifications not working
Kirjoitti: Illori - syyskuu 24, 2011, 04:13:05 IP
you mean your email account is getting email from other forums and such? that is nothing to do with this.

are you getting any type of email from your forum? pm received? newsletters sent?

if not then contact your host to see what is going on with their mail server.
Otsikko: Re: E-mail notifications not working
Kirjoitti: timetraveller - syyskuu 24, 2011, 06:05:16 IP
I'm not getting any email from the smf forum.
I am getting email to the website from other sources.
I'm not sure I understand why that would be a problem with the host. Could you explain so that I am fully armed when I contact them :)
Otsikko: Re: E-mail notifications not working
Kirjoitti: Illori - syyskuu 24, 2011, 07:17:03 IP
either your forum is not set to use their mail server or it is not configured correctly which you host should be able to tell you what you need to use to connect to the mail server
Otsikko: Re: E-mail notifications not working
Kirjoitti: Oldiesmann - syyskuu 25, 2011, 03:01:12 IP
The error means your host has disabled PHP's mail function. You basically have three options:

Switch SMF to use SMTP instead (may not work - depends on whether they've also disabled fsockopen())
Contact your host and ask them to re-enable it
Switch to a better host (if your current host isn't willing to re-enable it and SMTP doesn't work).
Otsikko: Re: E-mail notifications not working
Kirjoitti: Angelina Belle - syyskuu 26, 2011, 08:20:34 IP
Were you able to make this work using SMTP mail instead?
Otsikko: Re: E-mail notifications not working
Kirjoitti: timetraveller - syyskuu 27, 2011, 07:19:56 IP
I've just found out the host did disable pHp on shared servers, problems with spam or something. They sent out some script which I'm supposed to do something with although what is not clear ;) So I need to contact them.

In the meantime I'm not sure what I should put in the settings on smf - username etc.
Otsikko: Re: E-mail notifications not working
Kirjoitti: Angelina Belle - syyskuu 27, 2011, 08:18:56 IP
Whatever SMTP settings you would need to use for sending from a desktop email client -- those are what you'd use to send from SMF