Difference between revisions of "Email Gateway"

From XMPP WIKI
Jump to navigation Jump to search
m
 
m
 
Line 1: Line 1:
This will describe how to create a Email<->Jabber gateway.
+
This will describe how to create a Email<->XMPP gateway.
  
 
----
 
----
Line 6: Line 6:
 
   X-Originating-JID: <jid>
 
   X-Originating-JID: <jid>
  
Determines that the e-mail come from jabber network and MUST be mapped using the [http://xmpp.org/extensions/xep-0033.html XEP-0033] to the following format:
+
Determines that the e-mail come from XMPP network and MUST be mapped using the [https://xmpp.org/extensions/xep-0033.html XEP-0033] to the following format:
   <message from='email@jabber server gateway'>
+
   <message from='email@xmpp server gateway'>
 
     <addresses xmlns='http://jabber.org/protocol/address'>
 
     <addresses xmlns='http://jabber.org/protocol/address'>
 
       <address type='replyto' jid='jid from X-Originating-JID MIME tag'/>
 
       <address type='replyto' jid='jid from X-Originating-JID MIME tag'/>

Latest revision as of 01:25, 17 December 2020

This will describe how to create a Email<->XMPP gateway.


The definition of the MIME Tag:

 X-Originating-JID: <jid>

Determines that the e-mail come from XMPP network and MUST be mapped using the XEP-0033 to the following format:

 <message from='email@xmpp server gateway'>
   <addresses xmlns='http://jabber.org/protocol/address'>
     <address type='replyto' jid='jid from X-Originating-JID MIME tag'/>
   </addresses>
   <subject>email subject</subject>
   <body>email body</body>
 </message>

(DRAFT)


Related pages: Jabber Email Header