- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 09-28-2024 08:38 AM
Hello Community,
We all know ServiceNow PDI restricted email sending and receiving. But sometimes we want to test inbound email actions or outbound email actions from our PDI. In this case, we can do it with our own personal Gmail account.
Here are the steps to read Gmail inbox emails from our ServiceNow PDI.
- Go to your Gmail account, From Settings Gear icon, select See all settings
- From the Forwarding and POP/IMAP tab, look for the POP Download option. Check POP status whether it is Enabled or Disabled. If it is disabled select the appropriate option and click on Save Changes. (We can enable all mails or new mails which are coming after this configuration is done)
After enabling the POP Download, it looks like this
3. Now it's time to move to our ServiceNow PDI. In All navigation type Email Accounts (Actual path is All --> System Mailboxes --> Administration --> Email Accounts)
4. Create new email account by clicking New button with the following details.
- Name: (any desired name)
- Type: POP3
- Authentication: Password
- Server: pop.gmail.com
- Active: true
- Username: (your Gmail ID- Complete ID with domain name)
- Connection Security: SSL/TLS
- Port: 995
Note: To know about Connection security and port https://support.google.com/mail/answer/7104828?hl=en check this Google support page
5. Now it is very crucial to give the password to establish the connection. But we need to remember here, the password should not be our Gmail password. We need to Generate App-specific password from the Google account manager and paste that App-specific password into ServiceNow in this page.
6. Goto https://myaccount.google.com/apppasswords this link
7. Give the App name (For example ServiceNow) then click on create button. It generates one 16-character App password. Make sure to copy it.
8. Copy this app-generated password and paste it into our ServiceNow new email account. Save the record. Test your connection by clicking the Test Connection-related link.
9. Tadaa….. Your personal Gmail is now integrated with your ServiceNow PDI. Check from sys_email.LIST (email logs). It may take several minutes to sync (less than 5 minutes).
10. If you want to disable this Connection, you can do it in two ways.
- Simply make an active false created Email Account in ServiceNow
- Disable POP Download from Gmail Settings
Either way will work to disable this functionality
Major Points to Remember:
- 2-step verification should be activated for your Gmail account and
- Receiving email property should be activated in your ServiceNow PDI (check it from Email Properties)
Thank you for reading this Article. Please mark it as Helpful, if you feel this article helps
Thanks & Regards
Ramana Murthy G - ServiceNow Developer
ServiceNow Community Rising Star 2024
- 3,295 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Nice Article.
Regards,
Priyanka Salunke
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Thank you very much @Priyanka_786