Create custom email header: importance

Valor1
Giga Guru

I'd like to create a custom email header for the "importance" flag in Outlook.

After much digging, it looks like I need to do the following, but I can't figure out how to view / modify the string
1) Edit the "Header" string in the sys_email table to first get the importance header to be recognized as such,
2) and then create a corresponding "importance" column in the same table.

Any pointers?

1 ACCEPTED SOLUTION

john_roberts
Mega Guru

I recently added options to email notifications to set high/low importance and include actual file attachments from the record. Unfortunately it didn't make the winter release, but will be in Winter 2011 Stable 1.
Notification Options


View solution in original post

12 REPLIES 12

Bill_Collins
Mega Guru

valor, Did you get an answer to this question? Did you figure it out? Thanks, Bill


Has anyone been able to figure this one out? Looks like the headers field in sys_email is not being applied to the emails being sent, but rather captures what it creates after the javamail sender completes. There is also an 'importance' column already on sys_email, but it too seems to be a collector for inbound emails rather than being used for outbounds.

Headers of interest would be:

Priority: Urgent
Importance: high
X-Priority: 1
X-MSMail-Priority: High

Yet still no way to add those in. Javamail supports adding of any custom header, but unless SN provides a way to feed custom headers into the API, we might be stuck.


Yes I'm also looking into it, how to customize mail header?


Try this:



<mail_script>
email.setHeader("Priority", "High");
email.setHeader("Importance", "high");
</mail_script>