[JDEV] MIME-Version

arh14 at cornell.edu arh14 at cornell.edu
Wed Aug 11 11:53:29 CDT 1999


Sendmail handles the SMTP protocol, that's what it's for.  If the 
message is just a chunk of MIME, you should be able to send it straight 
to Sendmail.  If it is not simply a chunk of MIME, but some headers have
been moved to XML attributes, you will have to extract the headers from 
the attributes, and concatenate them with the content, then send it to 
sendmail.  The only support that needs to be present for SMTP is email 
addresses (Sendmail has to send it somewhere).

If MIME is just used as a chunk of text in a message, the whole thing 
just passes to Sendmail and the transport/translation is little or none 
(just get an email address from the target or something).

Aaron

On Wed, 11 Aug 1999, Thomas D. Charron wrote:

> On Wed, 11 Aug 1999 12:09:57   Patrick McCuller wrote:
> >	Aaron is 100% right on this one.  Have you looked at MIME-enabled
> >libraries? Java's javax.mail.internet package is tied closely enough to
> >RFC822 style email messages that it would be a hack at best to even use it
> >to parse our half-kosher style.
> >	It doesn't really make MIME easier to use, just different.
> >	JabberBeans will have to write its own MIMEish modules, yay.
> 
>   Unfortionatly, it's the price we pay for not using SMTP, which is what MIME is meant for.  We WILL be using MIME standard header types, just put differently..  Just like Content-Type is used a little differently for HTTP, we're using it a little differently for XML.
> 
>   I mean, should be just start adding SMTP protocol support into the jabber protocol, so we don;t need to have SMTP transports, but can send it out raw to sendmail?  ;-P
> 
> ---
> Thomas Charron




More information about the JDev mailing list