<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: setting priority of an Email</title><link>https://answers.axonivy.com/questions/1231/setting-priority-of-an-email</link><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;is it possible to send an email with the mail step in a defined priority.
I want send an email with high priority. is this possible?&lt;/p&gt;
&lt;p&gt;Best regards
Roland&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1231/setting-priority-of-an-email" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 20 Apr 2015 15:46:30 -0400</lastBuildDate><item><title>Answer by Christian Strebel</title><link>https://answers.axonivy.com/questions/1231/setting-priority-of-an-email/1271</link><description>&lt;p&gt;By now it is not possible to set the priority.
We have added this as feature request to our issue database (see #25464: Make priority configurable in the e-mail element).&lt;/p&gt;
&lt;p&gt;Because this feature has not a high priority at the moment i give you this workaround:
You can send an E-Mail also per Java.
Easiest way I know is the apache commons mail library. &lt;a href="https://commons.apache.org/proper/commons-email/userguide.html"&gt;See here how to use apache commons mail&lt;/a&gt;.
Because the priority is not a real internet mail standard you have to set the priority as header like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Map headers = new HashMap();
headers.put("X-Priority", "1"); // possible values: "1" (highest) or "2" (high) "3" (normal) "4" (low) and "5" (lowest)
// may you also set the importance header field
headers.put("Importance", "high"); //possible values: "high", "normal" or "low"
email.setHeaders(headers);
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Strebel</dc:creator><pubDate>Mon, 20 Apr 2015 15:46:30 -0400</pubDate><guid>https://answers.axonivy.com/questions/1231/setting-priority-of-an-email/1271</guid></item></channel></rss>