Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Forgot Email From Address Help!


Reply

3 Posts   1186 Views

Avatar
dancrew32

19 September 2008 at 12:22pm Community Member, 15 Posts

When our users are putting in their "Forgot my password" stuff, they email comes from a bogus server address and goes straight to spam usually..

How do I make the 'From' line of those emails look like it was from my site through the config file?

Thanks for any help you can provide!

Avatar
Liam

19 September 2008 at 3:31pm Community Member, 470 Posts

Adding this to your config might fix it

Email::setAdminEmail('email')

Avatar
dancrew32

2 October 2008 at 11:09am Community Member, 15 Posts

other people seem to be having this problem:

http://www.silverstripe.com/extending-hacking-silverstripe-forum/flat/5754

I too placed "Email::setAdminEmail('me@mysite.net');" in my _config.php file, but form emails still show up as sent from admin@myhost.com.

This is a pretty major bug.. I'm guessing that every single version of 2.2.2 has this issue too..
A fix would really be nice!