- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2023 02:10 AM
Hello,
Please provide answers of below questions.
1.How an email will be recognized by service now system?
2.How the data will be read from email with examples?
3.How to create link to approve/reject an approval in email?
4.How to print test or something from mail script?
5.what is the use of email template and how to trigger a template from script.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2023 02:31 AM
Hi @Shaik22
Please check below answers
1.How an email will be recognized by service now system?
https://tech.forums.softwareag.com/t/servicenow-email-notification/237436
2.How the data will be read from email with examples?
It is consider Inbound email
We can use the "email" object to obtain data from inbound emails:
email.body_text: Contains the body of the email as a plain text string.
email.body_html: Contains the body of the email as an HTML string.
Also for other values you can refer below :
3.How to create link to approve/reject an approval in email?
4.How to print test or something from mail script?
We can use template.print(“test”);
5.what is the use of email template and how to trigger a template from script.
Email templates enable administrators to create reusable content for the subject line and message body of email notifications.
call email script like below
${mail_script:script name}
Please check and Mark Helpful and Correct if it really helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2023 02:31 AM
Hi @Shaik22
Please check below answers
1.How an email will be recognized by service now system?
https://tech.forums.softwareag.com/t/servicenow-email-notification/237436
2.How the data will be read from email with examples?
It is consider Inbound email
We can use the "email" object to obtain data from inbound emails:
email.body_text: Contains the body of the email as a plain text string.
email.body_html: Contains the body of the email as an HTML string.
Also for other values you can refer below :
3.How to create link to approve/reject an approval in email?
4.How to print test or something from mail script?
We can use template.print(“test”);
5.what is the use of email template and how to trigger a template from script.
Email templates enable administrators to create reusable content for the subject line and message body of email notifications.
call email script like below
${mail_script:script name}
Please check and Mark Helpful and Correct if it really helps you.