Nodemailer: send emails with priority

Created on 17 Feb 2014  路  2Comments  路  Source: nodemailer/nodemailer

Is there support for sending emails with different priority than normal?

I wasn't been able to find such option in the readme/site and haven't looked through the code base yet.

Most helpful comment

Nodemailer does not have a build in support for priorities. Currently you would have to add these headers by yourself to the e-mail object.

For high priority:

headers: {
    "x-priority": "1",
    "x-msmail-priority": "High",
    importance: "high"
}

or for low priority

headers: {
    "x-priority": "5",
    "x-msmail-priority": "Low",
    importance: "low"
}

All 2 comments

Nodemailer does not have a build in support for priorities. Currently you would have to add these headers by yourself to the e-mail object.

For high priority:

headers: {
    "x-priority": "1",
    "x-msmail-priority": "High",
    importance: "high"
}

or for low priority

headers: {
    "x-priority": "5",
    "x-msmail-priority": "Low",
    importance: "low"
}

Thanks @andris9 , if time permits will send a PR on the topic then ;)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anonprophet picture anonprophet  路  3Comments

Nedudi picture Nedudi  路  5Comments

mohammedSlimani picture mohammedSlimani  路  4Comments

pkaminski picture pkaminski  路  5Comments

pranavpunjabi picture pranavpunjabi  路  3Comments