Inbound & Outbound Emails -MS exchange with IMAP / SMTP

New Developer_S
Giga Sage

Hi,

Can we Configure the Same Email account address for Inbound and Outbound Email in Servicenow ? I have integrated MS Exchange with Service now Via SMTP and IMAP. Customer has provided me to configure the same account for both IMAP and SMTP .Can we configure like this ?

I get

SMTPSender: no recipients, email send ignored for outbound

 

and for Inbound i am not  Receiving any emails.

I have seen a related content below.Can anyone once again confirm if you have worked on this ?

https://www.servicenow.com/community/developer-forum/smtpsender-no-recipients-email-send-ignored/m-p...

 

 

 

3 REPLIES 3

GodOfWar
Mega Guru

Yes, You may do that. You need to configure the notifications. This will direct the email to your desired email addresses.

 

email script:

(function runMailScript(current, template, event) {
email.setFrom(current.recruiter_email.toString());
email.setReplyTo(current.recruiter_email.toString());
})(current, template, email, email_action, event);

 

Don't hesitate to click the Thumbs up button if this helps.

@GodOfWar  can you send me screen shot where exactly i need to configure this script ?

Go to "Notification email scripts". Create one with your custom script then, call it in every notification you needed for outbound.

 

Don't hesitate to click the Thumbs up button below if this helps.