Difference between revisions of "Jabber Email Header"

Jump to navigation Jump to search
74 bytes added ,  01:03, 12 September 2006
no edit summary
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
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. :-)
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 [http://www.xmpp.org/drafts/draft-saintandre-jabberid-02.html Internet-Draft] for details.
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 [http://www.xmpp.org/drafts/draft-saintandre-jabberid-03.html Internet-Draft] for details.


== Emacs ==
== Emacs ==
Line 7: Line 7:
If you use mail-mode for composing mail, this should do the trick:
If you use mail-mode for composing mail, this should do the trick:


  (setq mail-default-headers
  (if (not (string-match "Jabber-ID" mail-default-headers))
      (concat "Jabber-ID: your-jid-here\n"
    (setq mail-default-headers
              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:
If you use message-mode for composing mail (which you do if you use Gnus for reading mail), this should do the trick:
80

edits

Navigation menu