hello,
Would is it possible to add the ability to change the Mailer name in the Admin CP ?
I found already a topic on this subject which was from 2006 :
http://community.mybboard.net/archive/in...11334.html
but if I look at the code, this is still hardcoded.
One mybb user can't receive email notification because 'mailer' is being
rejected by spam rules (too generic). If I change 'mailer' to 'mybb-mailer'
it works but I had to change the code.
Laurent
Hi,
You can open inc/functions.php and find:
PHP Code:
$from = "\"".$mybb->settings['bbname']." Mailer\" <".$mybb->settings['adminemail'].">";
Replace it with:
PHP Code:
$from = "\"".$mybb->settings['bbname']."\" <".$mybb->settings['adminemail'].">";
Or whatever you'd like it to be.
Chris.
Chris Boulton Wrote:Hi,
You can open inc/functions.php and find:
PHP Code:
$from = "\"".$mybb->settings['bbname']." Mailer\" <".$mybb->settings['adminemail'].">";
Replace it with:
PHP Code:
$from = "\"".$mybb->settings['bbname']."\" <".$mybb->settings['adminemail'].">";
Or whatever you'd like it to be.
Chris.
Yes ... but need to patch this file for each upgrade. Just wanted to know if you have some plan to add this in the Admin CP.
It seems you are not the only one software using the name 'Mailer' and some
are spammer

Changing 'Mailer' to 'Mybb-Mailer' would solve the problem if you don't
want to add an extra field in the Admin.
Laurent
I would of thought that this would be translatable? if not it should be
Chris Boulton Wrote:Hi,
You can open inc/functions.php and find:
PHP Code:
$from = "\"".$mybb->settings['bbname']." Mailer\" <".$mybb->settings['adminemail'].">";
Replace it with:
PHP Code:
$from = "\"".$mybb->settings['bbname']."\" <".$mybb->settings['adminemail'].">";
Or whatever you'd like it to be.
Chris.
How could I remove board name from the from part of email?
Remove \"".$mybb->settings['bbname']."\"
Tikitiki Wrote:Remove \"".$mybb->settings['bbname']."\"
Thank you. I would like to write something, but to exclude board name. How to write something if remove mentioned part totally? Mean where to write?