Inbound/outbound emails from Servicenow PDI - Article
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 04:29 AM
Inbound and outbound emails from ServiceNow PDI
- All the emails reside in the email server
- To process the emails from and to ServiceNow we have to connect with Email Server download emails from it
- Create a new email account for this for better practise
Setup connection between Email Server and Servicenow
- Navigate to ALL-> Email Accounts
- Click on New and fill the details
- Name :- Unique name
- Server :- pop.gmail.com
- Username :- Email Id
Information of Protocols
- POP3(Post office protocol version-3) :- Downloading and receiving a mail
- SMTP (Simple mail transfer agent) :- Sending the email out (MTA – Message Transfer Agent)
- IMAP (Internet Message Access protocol) :- While using IMAP users are not downloading the message that they want to read on the system.
- Pop.gmail.com – 990 Port Number
- Smtp.gmail.com – 465 Port Number
Password Generation:-
- Go to myaccount.google.com
- Go to Security
- Scroll down go to signing to google
- Activate two step verification
- If it is already activated you can skip the below step
- Click on 2- Step Verification
- Click on Get Started
- Give your mobile number
- Click on next
- You will receive a OTP Code click on next
- Click on Trun On
- Go back to the google account -> Security
- Once 2-step process is enabled App Passwords is visible to us
- Click on App Passwords
- Select Mail
- Select Other and give the name
- Click on Generate
- Copy the password
- Go back to the Email Account
- Paste the Password
- Choose Security :- SSL/TLS
- Enter the Port Number :- 995
- Save the form
- Click on Test Credentials
- Click on Active and save the form
- Navigate to ALL-> Email Properties
- Enable the email receive and save
- Wait for three (3) Minutes
- Because system property of email set value is 3
Checking POP Enable of Email Server
- Go the Gmail App
- Click on the Settings
- Click on see all settings
- Go to Forwording and POP/IMAP
- From the emails check downloaded or not from email server to PDI
- Congrats !!! If you are getting mails means inbound is working fine.
Outbound Emails:-
- Navigate to Email Accounts
- Create New SMTP account
- Fill the fields
- Email User Label :- Unique name
- Username and password similar to above account
- Connection Security :- SSL/TLS
- From :- Email Id
- Port Number :- 465
- Save the form and test the Credentials
- Enable Active and save
- Navigate to Email Properties
- Enable Email Sending and save the form
Testing:-
- Create an user with your email ID
- Create an Incident with assigned to your user account
- Navigate to Emails -> Created on today
- Refresh and Type will be changes Send- Ready
- Once Type changes to sent you will receive an email
Testing Inbound Email :-
- Open the personal Gmail App
- Click on send Gmail
- In TO give your create gmail account ID(which is used for Servicenow Connection)
- Give any Subject and Body
- Click on send
- Navigate to emails and check if it received or not
- Where type is Received (Takes some time -refresh)
Extra Information :-
Note: Please Mark this Helpful ,If this Helps you . This will help both the community and me.
Happy Learning !!!
Regards
SK CHAND BASHA
- 1,809 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 05:09 AM
Information is very insightful 👏
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2024 02:33 AM
Very Informative, Thanks for sharing Mr. @SK Chand Basha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2024 06:41 AM
This is a very good solution, thanks. But Unfortunately I cannot use this according to the organization policy.
But found another option recomended, which would need me to get the following from service now:
MX record values
DKIM entries (2048-bit)
SPF entries
DMARC entry specific to the subdomain
Is there a way to get these from service now