Problem changing default email configuration

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
rcope
Posts: 3
Joined: 16 Aug 2014, 06:28

Problem changing default email configuration

Post by rcope »

I'm new to MantisBT (and this forum). I've successfully installed 1.2.17 on a Mac OSX Server running Mavericks. I also successfully set up email and email is being sent properly.

However, I tried changing the default email aliases in the config_inc.php file, but that seems to break Mantis. When I change them, I only get a blank page returned from the site. Specifically, if I change any of the following:

$g_administrator_email = 'administrator@example.com';
$g_webmaster_email = 'webmaster@example.com';
$g_from_email = 'noreply@example.com'; # the "From: " field in emails
$g_return_path_email = 'admin@example.com'; # the return address for bounced mail
# $g_from_name = 'Mantis Bug Tracker';

to new values, then the site only returns a blank page. If I change them back to these defaults, then all works fine.

Any suggestions would be greatly appreciated.

Thanks.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Problem changing default email configuration

Post by atrol »

Add step by step one single line to config_inc.php until the problem occurs.
Please use Search before posting and read the Manual
rcope
Posts: 3
Joined: 16 Aug 2014, 06:28

Re: Problem changing default email configuration

Post by rcope »

Thanks. That's what I've done. If I make any single change to any of those items, the problem occurs. Any idea as to why a change there would cause this issue?

Thanks.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Problem changing default email configuration

Post by atrol »

Does the problem occur if you just open config_inc.php in editor, don't add any line, save the file?
If so, check your editor settings that files are stored with UTF-8 encoding without BOM (Byte order Mark).
Please use Search before posting and read the Manual
rcope
Posts: 3
Joined: 16 Aug 2014, 06:28

Re: Problem changing default email configuration

Post by rcope »

re: just opening the file and saving: No, that does not cause the problem. And, I've changed other settings in the file as well, and they work fine. It just seems to be these.

I'm at a loss as to what else to try.

Other suggestions?

Thanks again.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Problem changing default email configuration

Post by atrol »

Check your webserver log for errors and warnings.
Please use Search before posting and read the Manual
Post Reply