Article: How I configured inbound and outbound email in my ServiceNow PDI using Gmail

bmlokeshus16
Tera Contributor

Hi everyone,

I was testing inbound email actions in my Personal Developer Instance. Emails sent to my devxxxxx@servicenowdevelopers.com address were not showing under System Mailboxes → Inbound → Received.

 

I configured a dedicated Gmail account using POP3 for inbound and SMTP for outbound, and that worked.

 

Inbound setup:
Type: POP3
Server: pop.gmail.com
Port: 995
Security: SSL/TLS
Username: Gmail address
Password: Gmail App Password

 

Outbound setup:
Type: SMTP
Server: smtp.gmail.com
Port: 587
Security: STARTTLS
Username: Gmail address
Password: Gmail App Password

 

I also noticed that if multiple inbound actions match the same email, ServiceNow may create duplicate incidents. Setting my custom inbound action to Execution Order = 1 and Stop processing = true fixed that.

 

My question:
Is this the recommended approach for PDI email testing when the @servicenowdevelopers.com instance email does not receive external emails?

 

Also, is there any official limitation around using the devxxxxx@servicenowdevelopers.com email address for inbound testing in PDIs?

 

Sharing my setup in case it helps others, but I would appreciate confirmation from the community.

1 ACCEPTED SOLUTION

devxxx@servicenowdevelopers.com

 

did not work. but I agree that using personal mail is not the best practice. But creating a new email and configuring it for personal use wouldn't be a problem. Since in Companies things like this will be configured up front by the IT teams mostly. Please correct me if 'm wrong.

View solution in original post

9 REPLIES 9

devxxx@servicenowdevelopers.com

 

did not work. but I agree that using personal mail is not the best practice. But creating a new email and configuring it for personal use wouldn't be a problem. Since in Companies things like this will be configured up front by the IT teams mostly. Please correct me if 'm wrong.

I have looked multiple sources and understood that SN makes the default email to spam or junk. For that reason we need to use an another email to configure the inbound and outBound.

Mark Manders
Giga Patron

Be aware that PDIs aren't always cleaned well before they are redistributed after being reclaimed. Leaving your gmail credentials on a PDI may not be the best idea.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Tanushree Maiti
Tera Patron

 

Hi @bmlokeshus16 

 

Refer :

https://www.youtube.com/watch?v=JIJrdjXuYgk

Solution : How to configure Email Account in ServiceNow using your personal GMAIL mailbox 

Changes to sending emails from PDIs 

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
Uploaded by IndoPhil: Code, Culture & Connection on 2024-01-05.

I believe my approach and the content in the video are same.
Because mine is in written format. But thank you for replying.