Outgoing Mail Server Settings
Configure your organization's mail server to send emails and trigger notifications. You can use email protocols (SMTP/SMTPs), Exchange Web Services (EWS), or Microsoft Graph to send emails from ServiceDesk Plus.
Role Required: SDAdmin
Quick Links
Configure Mail Server with Email Protocols
SMTP/SMTPS
|
Field |
Explanation |
|
Authentication Type |
• Select Basic to authenticate the mailbox using the account credentials. • Select OAuth 2.0 to authenticate using OAuth. Know more. |
|
Common Email Server Settings (Applicable to Basic and OAuth) * |
|
|
Server Name / IP Address |
Enter the mail server host name or IP address. |
|
Alternate Server Name/IP Address |
Enter an alternate mail server host name or IP address, if required. |
|
Sender Name |
Enter the sender name displayed in outgoing emails. |
|
Reply to |
Enter the email address to receive replies to outgoing emails. If this field is not specified, replies are sent to the sender's email address. |
|
Protocol |
Select the protocol used to connect to the mail server. |
|
TLS Enabled |
Enable TLS (Transport Layer Security) if required. • Select Yes to establish a secure connection with the mail server. • Select No to connect to the mail server without TLS. |
|
Port |
Enter the port number as per the selected protocol. |
|
Basic Authentication |
|
|
Requires Authentication |
Enable this option to authenticate the mailbox before sending emails. Username: Enter the username used to authenticate the mailbox. Password: Enter the password for the specified username. |
|
OAuth Authentication |
|
|
Permission Type |
• Delegated Access - Use the signed-in user's permissions to access mail resources.
• Application Access - Use application-level permissions to access mail resources without user sign-in. |
|
* Refer to the Common Email Server Settings section. |
|
|
Username (Delegated Access only) |
Enter the username to access the mailbox. |
|
Authorization Server Details |
• Client ID, Client Secret, Authorization URL (Delegated Access only), and Token URL: Obtain these details from the authorization server. Know more. • Scope: Specifies the permissions granted to the OAuth access token for accessing mailbox resources. Know more about the default scope values. • Redirect URL (Delegated Access only): Configure this URL in the authorization server to obtain OAuth tokens. |
After setting up the configuration, click Save.

Secondary Mail Server for Outgoing Mails
In case of connectivity issues with the primary mail server, ServiceDesk Plus will connect with the alternate server and send emails. Once connected, ServiceDesk Plus will continue to send emails via the alternate server. To reconnect with the primary server, you can do one of the following:
A UI message will be displayed to inform users as shown in the screenshot:
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy84NjYvMTQyNjIvY2tmaW5kZXIvaW1hZ2VzL3F1LzIwMjYvdW5rbm93bigyMykucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzg2NzU1ODIwfX19XX0_&Signature=W6FdSf2C2rSqFwdvqAhyffpwAYtrID3icPjrmGj-gvaIjYFEcsE82f6qJnXPYd6fgAouENAXxy~V-uUCghxriNn635t9iMFtk1kO45qvUyzIPVP3U9Ox4-rDd7COvudBfEn4tbWujnjcRxfttIJs8j4xSlXTLptAF8j~hBDdbyykliWS4pYEahuebtvZL-3952gLWm9VTbSuPUYX1rMB5t7nE~~7veKx17Bsb9Pg4PYubY~Wa8k8aQmDsqsdz5CR2dVNW3WCZwPWaywpIskEjalUYeHvgFAHcLzwvV~ikWpxO3tiIKqUDe28xCKjMLCFTOi4pK8o9qaldGN45z5IkQ__&Key-Pair-Id=K2TK3EG287XSFC)
Configure Mail Server with Exchange Web Services
EWS (Exchange Web Services)
|
Field |
Explanation |
|
Authentication Type |
• Select Basic to authenticate the mailbox using the account credentials. • Select OAuth 2.0 to authenticate using OAuth. Know more. |
|
Basic Authentication |
|
|
Connect URL |
Enter the connect URL of the EWS mail server. |
|
Username |
Enter the username to access the mailbox. |
|
Password |
Enter the password to access the mailbox. |
|
Sender Name |
Enter the sender name to be displayed in outgoing emails. |
|
Reply to |
Enter an email address to be mentioned as From address in outgoing emails. Reply emails will be received from this email address. |
|
OAuth Authentication |
|
|
Permission Type |
• Delegated Access - Use the signed-in user's permissions to access mail resources.
• Application Access - Use application-level permissions to access mail resources without user sign-in. |
|
Connect URL |
Enter the connect URL of the EWS mail server. |
|
Username (Delegated Access only) |
Enter the username to access the mailbox. |
|
Sender Name |
Enter the sender name to be displayed in outgoing emails. |
|
Reply to |
Enter an email address to be mentioned as From address in outgoing emails. Reply emails will be received from this email address. |
|
Authorization Server Details |
• Client ID, Client Secret, Authorization URL (Delegated Access only), and Token URL: Obtain these details from the authorization server. Know more. • Scope: Specifies the permissions granted to the OAuth access token for accessing mailbox resources. Know more about the default scope values. • Redirect URL (Delegated Access only): Configure this URL in the authorization server to obtain OAuth tokens. |
After setting up the configuration, click Save.

Configure Mail Server with Microsoft Graph
Network Access Requirements:
For sending emails by using Microsoft Graph, the ServiceDesk Plus server requires access to the following hosts:
graph.microsoft.com
login.microsoftonline.com
outlook.office365.com
Access to outlook.office365.com is required when sending emails with attachments larger than 3MB, because the attachments are uploaded in batches by using the Upload API.
Microsoft Graph
Choose the Connection Protocol as Microsoft Graph.
Microsoft Graph supports only OAuth authentication. Use the pointers given below to configure the mail server:
|
Field |
Explanation |
|
OAuth Authentication (default) |
|
|
Permission Type |
• Delegated Access - Use the signed-in user's permissions to access mail resources.
• Application Access - Use application-level permissions to access mail resources without user sign-in. |
|
Graph Endpoint |
Endpoint to access Microsoft Graph API. Know more about graph endpoints. |
|
Reply to |
Enter an email address to be mentioned as From address in outgoing emails. Reply emails will be received from this email address. |
|
Authorization Server Details |
• Client ID, Client Secret, Authorization URL (Delegated Access only), and Token URL: Obtain these details from the authorization server. Know more. • Scope: Specifies the permissions granted to the OAuth access token for accessing mailbox resources. Know more about the default scope values. • Redirect URL (Delegated Access only): Configure this URL in the authorization server to obtain OAuth tokens. |
After setting up the configurations, click Save.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy84NjYvMTQyNjIvY2tmaW5kZXIvaW1hZ2VzL3F1LzIwMjYvdW5rbm93bigyMSkucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzg2NzU1ODIwfX19XX0_&Signature=pY58rYZquOztp-DmwwhVslj6LmezKgHxvc~XDNdCcHopnvATYSzT73PsgHJKse7iyXgexM2d0F-2wrWGv1IDaupHqYR0vrrNLoqMiI2eAjr0vS3VpOGqJ8kiD6YlfRed~GQIPIF1szw47WZfdXRKG4TbTIv1iZFCTmzqdlfd2z9Ifik-nb~EBdtkjhrIAK9lfNqwrPC7nRjFRkMx5zxz3U5CQUanSaAsddxLODAyS1xqeZD3Sj-hMe2ac6jM8MwgPfPfCnaCew~4gYX-RBCbzb3RaEUtCpA9aPzj2OvaKnN7uB6xSyl8BT-qjiM4Ezl32fOSkVqTiXAgmAjJagXsNg__&Key-Pair-Id=K2TK3EG287XSFC)
For OAuth Authentication, provide your login credentials and submit your consent for the mentioned permissions. The login credential should be the same as the username configured in the Mail Server Settings. Ensure that you have not blocked pop-ups and redirects in your browser to view the user consent window.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy84NjYvMTQyNjIvY2tmaW5kZXIvaW1hZ2VzL3F1LzIwMjYvdW5rbm93bigyNCkucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzg2NzU1ODIwfX19XX0_&Signature=RBKRiTvMsxX03xLsbUPvvkymgDLkwFGyUyePvaM2Np0magqdWTlYZ-YKEG-961sWLHvW6t5vAGECut5YiN~GKb7OBn2MVoqpAQlVF8fLJ5MUx8BjIq9i2Ki--51DJpUoyBrA4vaFzxgLVwaJ7QBjSuhi1sdU6QcveW00orWp1oSnyHGJP3EaQaCe73J7MfxLbGxMg0o638k4fR4xw4hC9UVZe5fIATPwtrD78hdEiirlOcI5oxidpe0HvDIcWt-6M3-IsgKJFOI0eI-DViAItyk0y2kuMezKLCJsq96HYJ5jiJ4KS1TyW4MyFlGtJOXTjv8vQW1SloWhk01VISCRSw__&Key-Pair-Id=K2TK3EG287XSFC)
In build 13001 or earlier, stop the mail fetching process and make the necessary changes.
In build 13002 or later, administrators can edit the mail server settings as needed. If a mail fetching process is ongoing, the application will prompt to disable mail fetching temporarily. After saving the changes, enable the fetching process manually.
The outgoing mail server connectivity can be tested by sending a sample email from the mail server. Mention an email address and click Send a sample mail.
If the settings are configured right and the connection is successful, then a sample email will be sent to the mentioned email address. If not, an error message will be displayed on the screen.
To learn more about troubleshooting mail server errors, click here.
Due to severe throttling policies of Microsoft Graph API, ServiceDesk Plus has certain limitations when Microsoft Graph protocol is used for sending emails.
Microsoft has set service limits to only four concurrent API requests. Since ServiceDesk Plus can send emails through multiple threads (user replies, forwards, system notifications, or custom triggers), there might be a delay while sending emails.

On performing a load simulation setup at our end to test the delay, we have verified the following stats:
|
|
Email Inflow Rate |
Email Outflow Rate |
Results |
|
Scenario 1 |
600 emails per hour where the inflow rate is constant (~10 emails per minute) 10 inline images for every 3 emails |
1800 notifications sent from application (3 notifications for each request created) Average time to send an email = 2~3 seconds |
Emails were sent without any delays. |
|
Scenario 2 |
High inflow rate (sudden surge of 100 emails per minute) 10 inline images for every 3 emails |
300 notifications sent from application (3 notifications for each request created) Average time to send an email = ~3 seconds |
Emails were sent without much delay. |
|
Scenario 3 |
High inflow rate (sudden surge of 200 emails per minute) 10 inline images for every 3 emails |
600 notifications sent from application (3 notifications for each request created) Average time to send an email = 8~9 seconds |
Max. of 10 mins delay in sending an email (time difference between 200th request creation and its notification) |
As per the stats, when the inflow rate surges/an increased number of notifications are configured, there is an evident delay in sending emails.
Therefore, we recommend users not to configure Microsoft Graph protocol as the outgoing mail server in the following cases:
Workaround: You can use SMTP protocol for sending emails.