Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Email Creation

sathiammaji
Tera Contributor

How to send email from servicenow to personnel email(gmail).

1 ACCEPTED SOLUTION

s_p_naidu
Tera Expert

Hi @sathiammaji
First you need to create a ‘App Password’ for your google account (for the email you want to send email from Service-Now)

Step-1: Go to Google Account Manager ‘Security’ section and make sure 2-Step Verification is enabled, if not enable 2-Step Verification.

          

s_p_naidu_0-1787142317111.png

 

Step-2: Create App Password, click the below link.

https://security.google.com/settings/security/apppasswords

                 

s_p_naidu_1-1787142317118.png

 

  • Give app name and click ‘Create’, it will give 16-digit password copy the password.

      

s_p_naidu_2-1787142317125.png

 

Step-3: Navigate to System Mailboxes > Administration > Email Properties from the application navigator, Check the ‘Email sending enabled’ property, give your email address as shown in the below image.

s_p_naidu_3-1787142317137.png

 

 

Step-4: Navigate to System Mailboxes > Administration > Email Accounts

Create new record to configure email smtp

s_p_naidu_4-1787142317143.png

 

 

Give Meaningful Name, set Type to ‘SMTP’, give ‘smtp.gmail.com’ in Server field,

Give any meaningful user label in Email user label field
In User name field give your email address

In Password field give the app password you copied in Step-1

Give Connection Security as SSL/TLS and port number as 465.

 

s_p_naidu_5-1787142317150.png

 

After saving the record click the ‘Test Connection’ in the related links.
If connection is successful you will get a success message.

 

                     

s_p_naidu_6-1787142317157.png

 

After sending notification you can check the sys_email table, if type is ‘sent’ email is successfully sent. Check the email logs if any error occurred, also check System Diagnostics > Email Diagnostics.

View solution in original post

3 REPLIES 3

s_p_naidu
Tera Expert

Hi @sathiammaji
First you need to create a ‘App Password’ for your google account (for the email you want to send email from Service-Now)

Step-1: Go to Google Account Manager ‘Security’ section and make sure 2-Step Verification is enabled, if not enable 2-Step Verification.

          

s_p_naidu_0-1787142317111.png

 

Step-2: Create App Password, click the below link.

https://security.google.com/settings/security/apppasswords

                 

s_p_naidu_1-1787142317118.png

 

  • Give app name and click ‘Create’, it will give 16-digit password copy the password.

      

s_p_naidu_2-1787142317125.png

 

Step-3: Navigate to System Mailboxes > Administration > Email Properties from the application navigator, Check the ‘Email sending enabled’ property, give your email address as shown in the below image.

s_p_naidu_3-1787142317137.png

 

 

Step-4: Navigate to System Mailboxes > Administration > Email Accounts

Create new record to configure email smtp

s_p_naidu_4-1787142317143.png

 

 

Give Meaningful Name, set Type to ‘SMTP’, give ‘smtp.gmail.com’ in Server field,

Give any meaningful user label in Email user label field
In User name field give your email address

In Password field give the app password you copied in Step-1

Give Connection Security as SSL/TLS and port number as 465.

 

s_p_naidu_5-1787142317150.png

 

After saving the record click the ‘Test Connection’ in the related links.
If connection is successful you will get a success message.

 

                     

s_p_naidu_6-1787142317157.png

 

After sending notification you can check the sys_email table, if type is ‘sent’ email is successfully sent. Check the email logs if any error occurred, also check System Diagnostics > Email Diagnostics.

Dr Atul G- LNG
Tera Patron

Are you referring to the PDI? If yes, then this is restricted OOTB. You can follow these steps to set it up.

 

https://www.servicenow.com/community/developer-forum/sending-emails-to-a-servicenow-pdi-updated-appr...

 

https://youtu.be/sge1X9BmW1s

 

****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************
CISITSM #ITSM #csa #ServiceNow #TechnoFuncational Disclaimer: These videos are from my training batch. These videos did not promote any ServiceNow Sales pitch or marketing. These videos are only for knowledge purposes & basic on my experience & Knowledge. Redistribution or copying of functionality

Dr Atul G- LNG
Tera Patron

Hi @sathiammaji 

 

https://www.scribd.com/document/904492923/Enable-Sending-receiving-Emails-in-ServiceNow-PDI

One point to keep in mind: if you add your Gmail account to your PDI, you may be able to view your emails within the PDI. This could be a security/privacy risk if you share the PDI with another person, as they may be able to access your emails.

****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************