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   830 Views

Avatar
Big Bang Creative

Community Member, 92 Posts

20 March 2009 at 4:58am

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

Community Member, 787 Posts

21 March 2009 at 1:51am

Not sure, but is it this one ??

in your _config.php :

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

Avatar
Big Bang Creative

Community Member, 92 Posts

21 March 2009 at 2:05am

Where in the _config file do I add that?

Avatar
Fuzz10

Community Member, 787 Posts

21 March 2009 at 2:06am

doesn't matter ?

At the bottom seems like a good spot ;-)

Avatar
Big Bang Creative

Community Member, 92 Posts

21 March 2009 at 2:07am

will give it a go now

Avatar
Big Bang Creative

Community Member, 92 Posts

21 March 2009 at 3:34am

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.