MyBB Community Forums

Full Version: Email Issues even with Mail Test
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Has anyone experienced their forum sending topic subscription emails to the forum admin but no user can get a verification email or forum response email. I have successfully ran the email test script for PHP Mail Function:"Mail was sent by PHP"

**************************************
Test script:

Please create a new .php file with this content:

<?php error_reporting(E_ALL); $to = '[email protected]'; if(mail($to, 'Testing mail', 'This is a mailing test to see if PHP mail works.')) { echo 'Mail was sent by PHP'; } else { echo 'PHP could not send the mail'; } ?>
Replace [email protected] with your email address. Upload this file to your webserver and run it with your browser.

It should say "Mail was sent by PHP" and there should not be any other errors that show up.

Some webhosts have various restrictions on PHP mail. Some hosts require that the "From" address be a mailbox address on their server. Other hosts may disable the mail function completely. Please ask your webhost if there are any special restrictions they have on sending mail via PHP.
**************************************
mail account associated with domain name (eg. [email protected]) is preferable for using with the forum to prevent such issues
Also, just a tip setting up mandrillapp is a better option that using your host as a mail sender as it's more reliable plus free.
@.m. - I editted the post to include the "[email protected]" etiquette.

@rakes - is this a solution I should spend time implementing? I'm on a dedicated server and would like less plugins/mods if possible.
(2014-11-15, 06:24 PM)ringring Wrote: [ -> ]@.m. - I editted the post to include the "[email protected]" etiquette.

@rakes - is this a solution I should spend time implementing? I'm on a dedicated server and would like less plugins/mods if possible.

You won't really spend any time as it's smtp which mybb's core already supports.