Targeted Communications - Select sending address?

t_a_rogers
Kilo Expert

I am interested in deploying the Targeted Communications application to key business stakeholders for HR, IT, etc comms. In order for this to be effective for us, we would need the email to appear to originate from various internal mailboxes (IT Communications, HR Communications, etc).

Currently we route mail through our internal exchange so all ServiceNow messages appear to originate from the same internal mailbox. But increasingly other teams want to brand their messages separately..

Is this possible?

1 ACCEPTED SOLUTION

sachin_namjoshi
Kilo Patron
Kilo Patron

Yes, this is possible with mail scripts for different email notification.



Please check below post which will be helpful to you.



Can you configure multiple 'From' email addresses



Regards,


Sachin


View solution in original post

8 REPLIES 8

Yes, you could have a FROM field either freeform, or probably more ideally as a choice list with common predefined FROM entries you use for your targeted comms (less chance for somebody to screw it up). Then you'll call that entry from the notification template. This one is a bit higher effort, but not by much. 

I'm kind of wondering if ServiceNow messed up the coding on this app. it seems odd that on a one time publication(email) to a group of people you would create its own notification. I would understand this for recurring publications. It seems like you are just going to blow out the notification table with a ton of notifications for one time use cases. 

Eric M
Giga Expert

Yeah, this is something they really need to add to the publication definition. I'm getting our developers to add it to this form. 

Swadesh Saraf2
Kilo Guru

Probably I am too late to the party, but I did make a small change to make this happen.

 

Create a field in the Targeted Communication, which will hold the value of From address i.e. u_from

Reciepeint List API - Script Include

Add Line 313 -  var from = publicationGr.u_from;

Change Line 319 -  notificationId = new global.PublicationUtils().createEmailNotification(name, collection, generation_type, action_update, condition, template,from);

 

That's it, it works like a charm 🙂