Emails are not getting triggered when we use "add a script" to setoption in email content
Hi Team,
Emails are not getting triggered when we use "add a script" to set option in email content.
Important things to note:
1) We are using hybrid model and mid sourcing sends out the emails.
2) When i use simple code like <% logInfo('something') %>, email is triggering
3) But when i use code like <% setOption('CustomOption',recipient.id) %>, emails are not triggering.
4) I am guessing that the marketing side option 'CustomOption' should also be available at mid side.
Could someone please help in finding why the emails are not triggering.
--> One more question that we have along with above i.e. We are looking to add some part of the dynamic email content as an attachment in same email. Below is the requirement.
Email Content:
Hi Customer,
Some content here.
recipient.id
recipient.name
etc..
Some content here.
Thanks
Here the highlighted part need to be written to a file and attach it to the same mail and also it should not print in the mail body. Could someone please help on this 2nd question as well.
Thanks you so much in advance.