Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
Is there any way that the form "from" field on the email that is generated from a form subbmission can be populated with the sender's email address (captured within the form), rather than "<cms:send_mail from=k_email_from" ?

ie: this would enable using the reply function, rather than having to dig out the email address from the email text.

Thanks for any help.
Hi,

You should set the sender's email as the 'reply_to' parameter of cms:send_mail.
That way upon replying to the mail, the mail client will automatically use that as the 'to' address.

It is a recommended practice to set the 'from' field to an email belonging to your own domain (as with 'k_email_from') because otherwise many SMTP servers flag the mail as spam and refuse to accept it.

Hope the reply helps.
It does indeed help. Thank you!
3 posts Page 1 of 1