Reply to sent email

Oct 20, 2013 at 10:37 AM
Hi all,

When I send a mail from the quick form module, the senderof the email is the email address that is specified in the settings to send to.

How do I specify the senders email address (the author of the message) so that when replying to the mail it goes to the sender and not the owners email address (the email address specified in the setting "Send to")

Thanks in advanced,

Oct 21, 2013 at 2:31 PM
Hi Geoff,

the sender is always the e-mail address of the Admin user, as shown in this line of code from FormBuilder.ascx.vb:
Email.From = New MailAddress(PortalSettings.Email)
If you want another sender you can change that line and hard-code the e-mail address you want, or add a new setting to the module, or change the portal Admin user e-mail, either way remember that sender's e-mail should be valid for the DNN SMTP settings to dispatch.