MyBB Community Forums

Full Version: Email Issue (Yahoo Hosting)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
New install of MyBB Version 1.4.8
Using the PHP mail function.

Almost everything is working, mass email works and activation email works!

However, Yahoo requires that the sender email address use a domain address, it will not accept emails sent from users who did not register with an email address that matches the forum domain.

I looked at the Help:Mail wiki at:
http://wiki.mybboard.net/index.php/Help:Mail
However, the page is over 2 years old and the code in inc/functions.php has changed.
I attempted to insert the code suggested:
ini_set("sendmail_from", " [email protected] ");

I have checked the MyBB System Mail Log, the “From” address is still listed as the user and not what I set in the functions.php file, the mail is then rejected by Yahoo's server.

I have tested SMTP mail and that does not work at all, so I must to use PHP mail.

Any advice on what code I could use in the functions.php file would be greatly appreciated.

Thank You,
Jerry
I would really like to have all the users on my forum be able to use the email feature.

Does anyone have any ideas? Am I missing a simple fix?

Not all of our users will have an email address from our domain. If I cannot get the email feature to work for them, I will have to disable the user email features in my install of MyBB Sad

Help!

Jerry
You can always just have all emails sent out done with php sendmail.

ACP>Mail Settings>*php sendmail* then put in an email address, iirc.
(2009-08-12, 02:16 AM)Tabbie Wrote: [ -> ]You can always just have all emails sent out done with php sendmail.

ACP>Mail Settings>*php sendmail* then put in an email address, iirc.

Thank you Tabbie!

If I understand you correctly, I do currently have PHP mail (sendmail) selected as the MyBB mail handler. I added the "[email protected]" to the "Additional Parameters" field in the mail settings section of the Admin CP. Unfortunately, it appears that Yahoo's sendmail install will not work with the -f flag. So any user who does not have a domain email address still cannot send email from our MyBB install.

Any suggestions on code changes to the functions.php file I could try?

Thanks again,
Jerry