Difference between revisions of "Jabber Email Header"

Jump to navigation Jump to search
162 bytes added ,  01:05, 17 December 2020
m
no edit summary
m
(10 intermediate revisions by one other 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 XMPP 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 5322 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 [https://datatracker.ietf.org/doc/draft-saintandre-jabberid/ 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:
Line 52: Line 54:


# Open the Preferences
# Open the Preferences
# Click the Advanced tab
# Click the Advanced icon
# Click the General tab
# Click the Config Editor button
# Click the Config Editor button
# Right-click anywhere in the about:config window
# Right-click anywhere in the about:config window
Line 64: Line 67:
# If you have multiple accounts in Thunderbird, differentiate them with mail.identity.id1... and mail.identity.id2 (etc.)
# If you have multiple accounts in Thunderbird, differentiate them with mail.identity.id1... and mail.identity.id2 (etc.)


Note: The text "jid" in the preference names can be anything, as long as it's consistent.
Note: In the preference name for Step 7 and the preference value for Step 12, the string "jid" can be anything, as long as the string is the same for both.


Try [http://mnenhy.mozdev.org/ Mnenhy] to show the Jabber-IDs in email messages that people send you!
Try [http://mnenhy.mozdev.org/ Mnenhy] to show the Jabber-IDs in email messages that people send you!
216

edits

Navigation menu