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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Forgot Email From Address Help!


Go to End


3 Posts   2158 Views

Avatar
dancrew32

Community Member, 15 Posts

19 September 2008 at 12:22pm

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

Community Member, 470 Posts

19 September 2008 at 3:31pm

Adding this to your config might fix it

Email::setAdminEmail('email')

Avatar
dancrew32

Community Member, 15 Posts

2 October 2008 at 11:09am

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!