- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2024 10:55 AM
Hi experts,
We are having a requirement like we will be sending email with subject as "test".
Later we get a response and the response should be in Below format:
From:xyz@gmail.com
Date:
To:123@gmail.com
Subject: you email with test has been sent successfully to 123@gmail.com
Previously when we send email we included test as subject ,now that subject test has to be included in response mail (see subject format).
How to configure inbound for this?
[current.comments = "reply from: " + email.origemail + "\n\n" + email.body_text;
current.update();]
I found the above script but it just gives from ,to and date, but i need subject: your email with test has been successfully sent. How to include this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2024 01:04 PM
Hi @User_267 ,
Please confirm about the first mail send via outlook to ServiceNow ( with Subject : Test ) and ServiceNow inbound action is processing that request and then .. what kind of record it is creating and sedning response with new ( updated ) subject line.
For incoming email ( inbound Action ) you can use email.subject to read email subject.
The second email from ServiceNow to user's email , you must have some condition based notification and that notification has subject line.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2024 01:04 PM
Hi @User_267 ,
Please confirm about the first mail send via outlook to ServiceNow ( with Subject : Test ) and ServiceNow inbound action is processing that request and then .. what kind of record it is creating and sedning response with new ( updated ) subject line.
For incoming email ( inbound Action ) you can use email.subject to read email subject.
The second email from ServiceNow to user's email , you must have some condition based notification and that notification has subject line.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2024 07:09 PM
When we submit catalog item ,The first email wil be automatically sent from servicenow to an email address(xyz@gmail.com) with subject line "test".
And then for this email they will be sending an response .
The response should be in this format.
From:123@gmail.com
To:servicenow
Date:
Subject: your email with subject test has been successfully sent to email id.
As this is a response but it shouldn't be like reply(prefix: re) .it should be same how I given in above subject line.
And this has to be captured in ritm worknotes