For sending mail with attachment, you may refer to samples in javamail demo
directory, e.g. sendfile.java. For only file uploading servlet, you may use
oreilly��s upload servlet,
http://www.servlets.com/jsp/examples/ch04/index.html#ex04_17
<http://www.servlets.com/jsp/examples/ch04/index.html#ex04_17>

Kenneth Kwan

        -----Original Message-----
        From:   sreenu pallepati [mailto:[EMAIL PROTECTED]]
        Sent:   Friday, September 22, 2000 2:16 AM
        To:     [EMAIL PROTECTED]
        Subject:        Uploading a mail attachment from servlet

        Hi,
            I want to upload a file for sending a mail from
        a servlet.
             I looked for this stuff in java mail API, but
        could not find any calsses for uploading a file.
             Could some one help me please ....
        Thanks in advance,
        Sreenu


        __________________________________________________
        Do You Yahoo!?
        Send instant messages & get email alerts with Yahoo! Messenger.
        http://im.yahoo.com/


___________________________________________________________________________
        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

___________________________________________________________________________
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