Email Preview is empty

paradise624
Tera Contributor

I'm having an issue with an email script, I've written the script below and called it in the notification, however when I go to preview the notification, the body of the notification is empty in the preview. Did I miss a step here? I created the event, created the email script, added the script name into the notification, but the preview is still empty. I used this script in other email notifications and it works fine, not sure why I'm having an issue here. Did I miss a step in my script or in the process?

find_real_file.png

3 REPLIES 3

Nayan Mahato
Tera Guru

Hi Paradise624,

 

Can you show the notification where you are calling this email script? Make sure you are using the correct syntax to call an email script. And make sure you are doing testing for notification preview for a record of the current object(The record of the table on which you have created the notification)

${mail_script:test_script}

 

Regards,

Nayan

 

bammar
Kilo Sage

I have seen this before.... it was weird and it happened when i copied and pasted a mail script from another notification to reuse it in a new notification - when i deleted the mail script and refreshed the preview came back- then i ended up typing in the mail script syntax manually in the notification html.... and setting its attributes aka bold, size then save and preview worked.

The copying and pasting may have brought in some artifacts I didnt see and could have cleaned up with html editor but that is what i did- see if you concur,...

I tried to manually type it in and the preview notification is still empty 😞