New features Please use http://kentico.uservoice.com as the primary place to submit your suggestions and allow others to vote for your ideas!
Version 4.x > New features > LogonForm default "From" email address View modes: 
User avatar
Member
Member
Steve-Appetere - 6/16/2009 8:15:42 AM
   
LogonForm default "From" email address
Hi

In CMSWebParts/Membership/LogonForm, the default "from" email address is hard-coded around line 59 as:

return DataHelper.GetNotEmpty(ValidationHelper.GetString(this.GetValue("SendEmailFrom"), "admin@domain.com"), "admin@domain.com");

How about changing this to:

return DataHelper.GetNotEmpty(this.GetValue("SendEmailFrom"), SettingsKeyProvider.GetStringValue(CMSContext.CurrentSiteName + ".CMSNoreplyEmailAddress"));

which is what the RegistrationForm uses. This avoids a hardcoded email address in the ASPX page, which is not good for maintenance.

User avatar
Kentico Developer
Kentico Developer
kentico_jakubo - 6/16/2009 11:10:20 AM
   
RE:LogonForm default "From" email address
Hi Steve,

Thank you for your notice. You are right, hard-coded email in web part property is not good. We will change it in nearest version.

Best regards,
Jakub

User avatar
Member
Member
kyle.kraus-thefoodgroup - 10/18/2010 3:15:52 PM
   
RE:LogonForm default "From" email address
i had the same issue. i have modified the page, yet the changes are not reflected on the emails that they system is sending. i have stopped & started the "site" and have cleared the cache & click on restart application. still is trying to send from admin@. what do i need to do so the email address change is reflected on the "lost password" email that Kentico CMS sends out?

thanks,
kyle;

User avatar
Kentico Support
Kentico Support
kentico_radekm - 11/24/2010 4:50:48 AM
   
RE:LogonForm default "From" email address
Hello.

E-mail address from what forgotten password e-mails is sent can be set in Site Manager -> Settings -> (select web site) -> Security -> Send password e-mails from property.

Best Regards,
Radek Macalik