MyBB Community Forums

Full Version: Activation/Subscription E-mails not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,

When people register, or subscribe to a thread, they don't get any e-mail.
I fear it's something in the php settings or something.

Please add me to WLM if you are willing to help, or post in this thread.
WLM/E-mail: makdaddy[at]ozemail[dot]com[dot]au

Regards,

Mak
Okay we will start off with this list

1) have you asked your host if php mail() is enabled?

2) maybe the emails are going to a spam folder.
Hi,

Thanks for the quick reply. I have just put in a ticket - but I read the FAQ and I think this is what is causing it:

Quote:You can be having trouble sending e-mail using Formmail script, because of the following reasons:

1. You have entered an e-mail address which is not hosted on our servers. We require the one of either the 'FROM:' e-mail address or the 'TO:' e-mail address to be hosted on our servers. Only if one of them is hosted on our servers, you will be able to send e-mail successfully.

I assumed this meant I had to edit the functions.php file, so I changed this:

ini_set("sendmail_from", " [email protected] ");
function my_mail($to, $subject, $message, $headers);
{

To this:

ini_set("sendmail_from", " [email protected] ");
function my_mail($to, $subject, $message, $headers);
{

Is this correct?

Mak
Makdaddy Wrote:
ini_set("sendmail_from", " [email protected] ");
function my_mail($to, $subject, $message, $headers);
{
I don't think you need the extra spaces around the email address. If that still doesn't work, you need to contact your host, and ask them if that is the correct way of setting the "from" email address.

Also you can try setting the "Admin Email" in Admin CP --> Board Settings --> Change --> General Configuration