21282 Posts in 5730 Topics by 2601 members
General Questions
SilverStripe Forums » General Questions » Need exact syntax for Specifying E-mail from the system
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 126 Views |
-
Need exact syntax for Specifying E-mail from the system

19 March 2013 at 4:03pm
I tried to syntax for specifying the e-mail is coming from a user but the system when I do a password reset only, just sends from
the defaultI am suspecting that the reset pwd feature is sending email from somewhere else
Please adviseEmail::setAdminEmail(string $adminemail
Thanks
John -
Re: Need exact syntax for Specifying E-mail from the system

19 March 2013 at 10:00pm
You forget to mention whether you are on 3.0 or 2.4? Pretty sure if you use Email::setAdminEmail("youremail@mail.com") it should use that email address. If you need to change this email address you can in 3.0 via the new Injector API - http://doc.silverstripe.org/framework/en/reference/injector.
-
Re: Need exact syntax for Specifying E-mail from the system

20 March 2013 at 6:56am
Silver Stripe 3.05
| 126 Views | ||
|
Page:
1
|
Go to Top |


