Send style sheet as an attachement in a mail

Discussion in 'Java' started by subhadeep.de@gmail.com, Feb 26, 2005.

  1. Guest

    Hi All,

    I am facing a problem while sending a html file using javamail.

    The html contains refernces to some style sheet classes but those does
    not get applied when I view the html in the mail.

    I have also attached the CSS file that contains the style sheet classes
    and have changed the <link href="images/style.css"> tags to <link
    href="cid:style.css"> in the html to refer to the attached CSS file.

    Does any one have a solution for this?

    Regards,
    SDe
     
    , Feb 26, 2005
    #1
    1. Advertising

  2. GaryM Guest

    wrote in
    news::

    >
    > I have also attached the CSS file that contains the style sheet
    > classes and have changed the <link href="images/style.css"> tags
    > to <link href="cid:style.css"> in the html to refer to the
    > attached CSS file.


    When you attach the style sheet are you setting the Content Disposition
    to 'inline'?
     
    GaryM, Feb 26, 2005
    #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. Scott Allen
    Replies:
    2
    Views:
    2,249
    =?Utf-8?B?c2FtaWtkdXQ=?=
    Feb 17, 2004
  2. Lee
    Replies:
    3
    Views:
    701
    GaryM
    Nov 4, 2003
  3. Replies:
    1
    Views:
    246
    Aspersieman
    Aug 1, 2008
  4. Eric
    Replies:
    1
    Views:
    355
    Andrew Morton
    Apr 23, 2010
  5. Eric

    Mail message attachement problem

    Eric, Apr 23, 2010, in forum: ASP General
    Replies:
    1
    Views:
    771
    Bob Barrows
    Apr 23, 2010
Loading...

Share This Page