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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

"From" email address for new mailing list sign up


Reply

6 Posts   790 Views

Avatar
Big Bang Creative

20 March 2009 at 4:58am Community Member, 92 Posts

How can I set the "from" email address on the email that is sent when the user first signs up to the mailing list?

I can change the email for newsletters I send out but I can't see where I can change the email of the thank you email when the user first signs up.

Avatar
Fuzz10

21 March 2009 at 1:51am Community Member, 787 Posts

Not sure, but is it this one ??

in your _config.php :

Email::setAdminEmail('info@yourdomain.nl');

Avatar
Big Bang Creative

21 March 2009 at 2:05am Community Member, 92 Posts

Where in the _config file do I add that?

Avatar
Fuzz10

21 March 2009 at 2:06am Community Member, 787 Posts

doesn't matter ?

At the bottom seems like a good spot ;-)

Avatar
Big Bang Creative

21 March 2009 at 2:07am Community Member, 92 Posts

will give it a go now

Avatar
Big Bang Creative

21 March 2009 at 3:34am Community Member, 92 Posts

Got it working..

Now I need to get the users email as the "from" address for contact form submissions... talking of which the "Contact Page" page type has disapeared.