anyone use an external SMTP service? Failed emails.

Steve R Aguilar
Tera Contributor

Hello, anyone use an external SMTP service to bypass the 10000 limit emails for O365. Apparently, this has been happening for quite some time (our SN admin no longer is employed) and we are having issues with our service desk email address being used to send and receive failing, as well as sending to our users. I attached screenshot. Any best practice or thoughts? A great, big thank you!!!

 

1 ACCEPTED SOLUTION

Amit Gujarathi
Giga Sage
Giga Sage

Hi @Steve R Aguilar ,
I trust you are doing fine.

It seems like you've hit the limit of 10,000 emails for Office 365 and are looking to use an external SMTP service to bypass this limit.

Using an external SMTP service is a common solution for organizations that send a large volume of emails. It can also provide benefits such as better deliverability and additional features.

To configure an external SMTP service in ServiceNow, you'll need to update the SMTP properties in your instance. You can do this by navigating to System Properties > Email > Outbound > SMTP Properties. Here, you can update the SMTP server, port, and credentials to match your external SMTP service.

Here's an example of what the code might look like:

smtp_server = "smtp.example.com"
smtp_port = "587"
smtp_username = "username"
smtp_password = "password"

gs.setProperty('glide.email.smtp_server', smtp_server)
gs.setProperty('glide.email.smtp_port', smtp_port)
gs.setProperty('mail.smtp.auth', 'true')
gs.setProperty('mail.smtp.user', smtp_username)
gs.setProperty('mail.smtp.password', smtp_password)

Was this answer helpful?


Please consider marking it correct or helpful.


Your feedback helps us improve!


Thank you!


Regards,


Amit Gujrathi



View solution in original post

2 REPLIES 2

Amit Gujarathi
Giga Sage
Giga Sage

Hi @Steve R Aguilar ,
I trust you are doing fine.

It seems like you've hit the limit of 10,000 emails for Office 365 and are looking to use an external SMTP service to bypass this limit.

Using an external SMTP service is a common solution for organizations that send a large volume of emails. It can also provide benefits such as better deliverability and additional features.

To configure an external SMTP service in ServiceNow, you'll need to update the SMTP properties in your instance. You can do this by navigating to System Properties > Email > Outbound > SMTP Properties. Here, you can update the SMTP server, port, and credentials to match your external SMTP service.

Here's an example of what the code might look like:

smtp_server = "smtp.example.com"
smtp_port = "587"
smtp_username = "username"
smtp_password = "password"

gs.setProperty('glide.email.smtp_server', smtp_server)
gs.setProperty('glide.email.smtp_port', smtp_port)
gs.setProperty('mail.smtp.auth', 'true')
gs.setProperty('mail.smtp.user', smtp_username)
gs.setProperty('mail.smtp.password', smtp_password)

Was this answer helpful?


Please consider marking it correct or helpful.


Your feedback helps us improve!


Thank you!


Regards,


Amit Gujrathi



Steve R Aguilar
Tera Contributor

Thank you very much!