Referring to the tutorial on http://www.chronoengine.com/faqs/52-cfv4/cfv4-emails/2603-how-can-i-send-an-email-to-different-addresses.html , I have few questions to ask:
1. It is stated that the email action is enabled and has standard Static values for Subject, From Name and From Email. What if I also want to have dynamic subject for the email. I found the tutorial for dynamic subject, http://www.chronoengine.com/faqs/52-cfv4/cfv4-emails/2569-how-do-i-create-an-email-subject-using-data-from-the-form.html , and tried to combine both codes in a single custom code field. But it doesn't work.
2. Following the example illustrated in the tutorial, what if the mail sent to different departments also contains the department name in the email body?
If the email recipient is bob@example.com, so the email body will be:
Dear Bob,
Lorem ipsum dolor sir amet......
If the email recipient is info@example.net, so the email body will be:
Dear Info Department,
Lorem ipsum dolor sir amet......
Thank you.
1. It is stated that the email action is enabled and has standard Static values for Subject, From Name and From Email. What if I also want to have dynamic subject for the email. I found the tutorial for dynamic subject, http://www.chronoengine.com/faqs/52-cfv4/cfv4-emails/2569-how-do-i-create-an-email-subject-using-data-from-the-form.html , and tried to combine both codes in a single custom code field. But it doesn't work.
2. Following the example illustrated in the tutorial, what if the mail sent to different departments also contains the department name in the email body?
If the email recipient is bob@example.com, so the email body will be:
Dear Bob,
Lorem ipsum dolor sir amet......
If the email recipient is info@example.net, so the email body will be:
Dear Info Department,
Lorem ipsum dolor sir amet......
Thank you.