Hello,

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?

Best regards Roland

asked 16.03.2015 at 14:12

roland's gravatar image

roland
(suspended)
accept rate: 41%


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).

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. See here how to use apache commons mail. Because the priority is not a real internet mail standard you have to set the priority as header like this:

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);
link

answered 20.04.2015 at 15:46

Christian%20Strebel's gravatar image

Christian St... ♦
3.2k31338
accept rate: 88%

edited 20.04.2015 at 15:47

Hi, not really what I want to hear, but hopefully it will be a feature in one of the next versions.

thanks

Roland

(22.04.2015 at 14:43) roland roland's gravatar image

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×34

Asked: 16.03.2015 at 14:12

Seen: 3,558 times

Last updated: 22.04.2015 at 14:43