muquit / mailsend

A program to send mail via SMTP from command line
Other
294 stars 68 forks source link

priority option missing #112

Open nyukuri opened 7 years ago

nyukuri commented 7 years ago

I very much love mailsend, the only missing part is a priority option (-priority 1, etc.) usually smtp servers know of 5 different priority levels, it would be great if that can be implemented in mailsend...

muquit commented 7 years ago

Priority is a header and you can set any header (standard or custom) with -H flag. Example: -H "X-Priority: 1" -H "Importance: high" -H "Priority: Urgent" Note: Some SMTP server can strip off standard headers. Thanks.