To send email attachments with absolute path specified using JAVA mail API 1.4

Discussion in 'Java' started by Jag, Dec 28, 2006.

  1. Jag

    Jag Guest

    Hi all,
    I need to send email attachments with their absolute paths
    specified in a DB table using Java Mail API 1.4 , i am newbie and not
    very much familiar in Java Mail methods ans functions,

    Thankz
    Jag
    Jag, Dec 28, 2006
    #1
    1. Advertising

  2. "Jag" <> wrote in news:1167313870.947714.134240
    @s34g2000cwa.googlegroups.com:

    > Hi all,
    > I need to send email attachments with their absolute paths
    > specified in a DB table using Java Mail API 1.4 , i am newbie and not
    > very much familiar in Java Mail methods ans functions,


    First, you should familiarize yourself with the Internet Standards that
    specify the format of attachments in email messages, these are the RFCs
    number 2045, 2046, 2047, 2048 and 2049.

    Once you've done this, look at the classes javax.mail.internet.MimeMessage,
    javax.mail.internet.MimeBodyPart and javax.mail.internet.MimeMultipart.

    Cheers!
    GRB

    --
    ---------------------------------------------------------------------
    Greg R. Broderick

    A. Top posters.
    Q. What is the most annoying thing on Usenet?
    ---------------------------------------------------------------------
    Greg R. Broderick, Dec 29, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brad
    Replies:
    2
    Views:
    9,917
  2. Andrew Thompson
    Replies:
    0
    Views:
    487
    Andrew Thompson
    Dec 7, 2006
  3. tulasikumar
    Replies:
    2
    Views:
    918
    Mark Rae
    Mar 6, 2007
  4. codewarrior
    Replies:
    0
    Views:
    526
    codewarrior
    May 4, 2009
  5. James Byrne
    Replies:
    3
    Views:
    549
    James Byrne
    Sep 14, 2010
Loading...

Share This Page