"Srini Sathya." wrote:

> Hi,
>
> I am having some attachments which i have to send thro email.  I am using a
> simple smtp program from java to send mail right now is that possible to
> send attachment via them or else i need to go for javax mail package only.
>

There are two ways to do that. First of all you can UUENCODE the attachment and
just print it inside the message; but some mail programs don't understand it.
Another way is to create a multipart MIME document and as one of the parts send
a BASE64 encoded attachment. Consult RFC's for details.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to