Is it possible to create a user editable subject line for contact forms? I think it will help me sift through the mail and quickly figure out what is spam or simply figure out what message belongs to who. Thanks!
Suppose following is the opening tag of send_mail
- Code: Select all
<cms:send_mail from=k_email_from to=k_email_to subject='Feedback from your site'>
Instead of hard-coding the subject as above, we can use any variable for it. For example
- Code: Select all
<cms:send_mail from=k_email_from to=k_email_to subject=my_subject>
or
- Code: Select all
<cms:send_mail from=k_email_from to=k_email_to subject="<cms:show my_subject />">
The 'my_subject' could be an editable region that you define in the contact template for the site-owner to edit.
Does this help?