Customize Mail.app X-Header

It is possible to add custom headers to mails your are sending with Mail.app. You need to open the Terminal.app and use the following commands.

defaults write com.apple.mail UserHeaders '{
"X-What-Happen" = "Somebody set up us the bomb.";
"X-Accept-Language" = "de, en";
}'

To read the content of your UserHeaders:

defaults read com.apple.mail UserHeaders

To delete the content of your UserHeaders:

defaults delete com.apple.mail UserHeaders

Posted

July 10, 2009, 11:38 am

Tags

, , ,

More

Permalink

Comments

  1. GB says:

    Thu 22/10/09, 8:05 pm

    Was habe ich d-a-n-a-c-h gesucht (und trauere diesbezueglich immer noch EUDORA hinterher) - Chapeau! Vielen Dank

    /

Send your comment by mail.