Setting the Message Priority

You can change the priority of the message with setPriority(). Setting the priority will not change the way your email is sent – it is purely an indicative setting for the recipient.

The priority of a message is an indication to the recipient what significance it has. Swift Mailer allows you to set the priority by calling the setPriority method. This method takes an integer value between 1 and 5:
  1. Highest
  2. High
  3. Normal
  4. Low
  5. Lowest

To set the message priority:

Set the priority as an integer between 1 and 5 with the setPriority() method on the Message.
//Indicate "High" priority
$message->setPriority(2);

NOTE: Documentation for version 3 is in the wiki.