Difference between revisions of "Jabber Email Header"

From XMPP WIKI
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 16: Line 16:
       (concat "Jabber-ID: your-jid-here\n"
       (concat "Jabber-ID: your-jid-here\n"
               message-default-headers))
               message-default-headers))
== KMail ==
In [http://kmail.kde.org/ KMail], do the following:
# Select Settings > Configure KMail
# Go to the Composer category
# Select the Headers tab
# Click on New
# In the Name: field, type "Jabber-ID"
# In the Value: field, type "[your-jid-here]"
# Click OK


== Mail.app ==
== Mail.app ==
Line 22: Line 33:


# Open a terminal window
# Open a terminal window
# Construct a command like: <blockquote><code>defaults write com.apple.mail UserHeaders '{"Jabber-ID" = "your-jid-here";}'</code></blockquote>
# Construct a command like:  
defaults write com.apple.mail UserHeaders '{"Jabber-ID" = "your-jid-here";}'


== Mutt ==
== Mutt ==
Line 29: Line 41:


# Open your .muttrc file
# Open your .muttrc file
# In the Composing section (or wherever) add a line that reads <blockquote><code>my_hdr Jabber-ID: your-jid-here</code></blockquote>
# In the Composing section (or wherever) add a line that reads
 
my_hdr Jabber-ID: your-jid-here


== Thunderbird ==
== Thunderbird ==
Line 50: Line 62:


Note: The text "jid" can be anything, as long as it's consistent
Note: The text "jid" can be anything, as long as it's consistent
== Mail Gateways ==
More e-mail header information in [[Email Gateway]] page.

Revision as of 23:34, 21 February 2006

Tell the world that you use Jabber by including a "Jabber-ID" header in your outgoing email. This page describes how to set that up in various email clients. (Feel free to add the config for your email client, just put them in alphabetical order please. :-)

Note well: RFC 2822 does not allow anything but US-ASCII text in email headers, so if you have a Jabber ID with Unicode characters in it, you will need to escape those! See the Internet-Draft for details.

Emacs

If you use mail-mode for composing mail, this should do the trick:

(setq mail-default-headers
      (concat "Jabber-ID: your-jid-here\n"
              mail-default-headers))

If you use message-mode for composing mail (which you do if you use Gnus for reading mail), this should do the trick:

(setq message-default-headers
      (concat "Jabber-ID: your-jid-here\n"
              message-default-headers))

KMail

In KMail, do the following:

  1. Select Settings > Configure KMail
  2. Go to the Composer category
  3. Select the Headers tab
  4. Click on New
  5. In the Name: field, type "Jabber-ID"
  6. In the Value: field, type "[your-jid-here]"
  7. Click OK

Mail.app

In Apple's Mail.app program, do the following:

  1. Open a terminal window
  2. Construct a command like:
defaults write com.apple.mail UserHeaders '{"Jabber-ID" = "your-jid-here";}'

Mutt

In Mutt, do the following:

  1. Open your .muttrc file
  2. In the Composing section (or wherever) add a line that reads
my_hdr Jabber-ID: your-jid-here

Thunderbird

In Thunderbird, you need to define two separate config options, so do the following:

  1. Open the Preferences
  2. Click the Advanced tab
  3. Click the Config Editor button
  4. Right-click anywhere in the about:config window
  5. Select New -> String
  6. For the preference name, type "mail.identity.id.header.jid"
  7. For the preference value, type "Jabber-ID: your-jid-here"
  8. That's the first pref; now right-click anywhere in the about:config window
  9. Select New -> String
  10. For the preference name, type "mail.identity.id.headers"
  11. For the preference value, type "jid"
  12. If you have multiple accounts in Thunderbird, differentiate them with mail.identity.id1... and mail.identity.id2 (etc.)

Note: The text "jid" can be anything, as long as it's consistent

Mail Gateways

More e-mail header information in Email Gateway page.