MyBB Community Forums

Full Version: How can i change the email from?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I change the from part when MyBB sends an email? I want it when MyBB sends an email on the from part to say GameTomato Forums not only the email address.
file to edit : ~/inc/class_mailhandler.php Lines : 301-302
// Build mail headers
$this->headers .= "From: {$this->from}{$this->delimiter}";

you can add {$mybb->settings['bbname']} or GameTomato Forums before {$this->from}

php files should be edited using an advanced editor like notepad++ or though file manager at web host panel
and they should be saved in utf encoding without BoM