e-mail looses formatting

Discussion in 'ASP .Net' started by SAL, Sep 21, 2007.

  1. SAL

    SAL Guest

    Hello,
    I am sending an e-mail message from my ASP.NET 2.0 application. The body of
    the message is coming from a database and formatting has already been
    applied to the text. My problem is that if I set:
    IsBodyHtml = True
    The body looses its formatting.
    I'm including an hyperlink in the body, which I'd like to be clickable, but
    I don't care if the rest of the message is html. Is there a way to make both
    things happen (have the text hold it's formatting and have an embedded
    hyperlink) in a mailMessage from ASP.NET???

    I appreciate any help on this topic and sorry if it's already been covered.

    SAL
     
    SAL, Sep 21, 2007
    #1
    1. Advertising

  2. SAL

    SAL Guest

    Nevermind. Just make the:
    IsBodyHtml = False
    And it's all good.
    Go figure... Whatever....


    S

    "SAL" <> wrote in message
    news:%23X393wH$...
    > Hello,
    > I am sending an e-mail message from my ASP.NET 2.0 application. The body
    > of the message is coming from a database and formatting has already been
    > applied to the text. My problem is that if I set:
    > IsBodyHtml = True
    > The body looses its formatting.
    > I'm including an hyperlink in the body, which I'd like to be clickable,
    > but I don't care if the rest of the message is html. Is there a way to
    > make both things happen (have the text hold it's formatting and have an
    > embedded hyperlink) in a mailMessage from ASP.NET???
    >
    > I appreciate any help on this topic and sorry if it's already been
    > covered.
    >
    > SAL
    >
     
    SAL, Sep 21, 2007
    #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. Replies:
    4
    Views:
    1,004
  2. =?Utf-8?B?QW5kcmV3IFBhcmtz?=

    Context looses the ISitePrincipal...

    =?Utf-8?B?QW5kcmV3IFBhcmtz?=, Mar 5, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    368
    Joe Fallon
    Mar 6, 2004
  3. =?Utf-8?B?bWl6ZA==?=
    Replies:
    0
    Views:
    446
    =?Utf-8?B?bWl6ZA==?=
    Apr 16, 2004
  4. =?Utf-8?B?SXVsaWFuIElvbmVzY3U=?=

    Switching to the secure page looses authentication...

    =?Utf-8?B?SXVsaWFuIElvbmVzY3U=?=, May 24, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    325
    Calvin Luttrell/ProjectThunder.com
    May 24, 2004
  5. Mike Dole
    Replies:
    3
    Views:
    6,244
    Karl Seguin
    Nov 17, 2004
Loading...

Share This Page