can i use and *.html file as the body in mailmessage class in ASP.net C#

Discussion in 'ASP .Net' started by khawar, Jul 30, 2003.

  1. khawar

    khawar Guest

    i am tring to send email using mail message class in
    asp.net using C# language.
    can i use and *.html file as the body arg in mail message
    class.
    help
    bye
    khawar, Jul 30, 2003
    #1
    1. Advertising

  2. khawar

    CT Guest

    Yes, you can. Make sure you set the BodyFormat of the MailMessage object
    property to MailFormat.Html


    --
    Carsten Thomsen
    Enterprise Development with Visual Studio .NET, UML, and MSF
    http://www.apress.com/book/bookDisplay.html?bID=105
    "khawar" <> wrote in message
    news:000b01c356ac$9e897cc0$...
    > i am tring to send email using mail message class in
    > asp.net using C# language.
    > can i use and *.html file as the body arg in mail message
    > class.
    > help
    > bye
    >
    CT, Jul 31, 2003
    #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. Ray Dixon [MVP]

    Re: MailMessage Max Body Length

    Ray Dixon [MVP], Aug 25, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    781
    Corey Jackson
    Aug 25, 2003
  2. =?iso-8859-1?Q?Kai_Br=E4utigam?=

    MailMessage.Body limited?

    =?iso-8859-1?Q?Kai_Br=E4utigam?=, Aug 28, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    523
    =?iso-8859-1?Q?Kai_Br=E4utigam?=
    Aug 28, 2003
  3. =?Utf-8?B?bWc=?=

    MailMessage Body appear in italics

    =?Utf-8?B?bWc=?=, Feb 8, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    416
    =?Utf-8?B?RGF2aWQgQ29l?=
    Feb 8, 2004
  4. Mark Sandfox
    Replies:
    2
    Views:
    4,140
    Mark Sandfox
    Jun 24, 2004
  5. Guest
    Replies:
    2
    Views:
    4,645
    Guest
    Jan 6, 2006
Loading...

Share This Page