How to call email script in the body of email client template

maddulaswat
Tera Contributor

I used the following syntax :${mail_script:EmailTemplate_for_test}

But it is giving me an error message: Email script render error: email script [ EmailTemplate_for_test] does not exist

4 REPLIES 4

Bhavya11
Mega Patron

hi @maddulaswat,

 

'EmailTemplate_for_test' is this correct name of the mail script then 

${mail_script:EmailscriptName}

 

Thanks,

BK

 

Hi Bhavya, 

Thank you for your response! 

My issue got resolved. 

 

Thanks, 

Swathi

Rutuja Khalate
Tera Guru

Hi @maddulaswat ,

 

If an email script name is 'attach_links_sm'

then you can call this email script in email client template with below syntax:

${mail_script:attach_links_sm}

 

Mark this answer as helpful if it helps you in any way.

Thanks,
Rutuja K

Hi Rutuja, 

Thank you for your response! 

My issue got resolved. 

 

Thanks, 

Swathi