Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > can i use and *.html file as the body in mailmessage class in ASP.net C#

Reply
Thread Tools

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

 
 
khawar
Guest
Posts: n/a
 
      07-30-2003
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

 
Reply With Quote
 
 
 
 
CT
Guest
Posts: n/a
 
      07-31-2003
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" <(E-Mail Removed)> wrote in message
news:000b01c356ac$9e897cc0$(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MailMessage HTML body - Please Help Urgent ASP .Net 2 01-06-2006 02:50 PM
Is there a way to insert an existing htm page into body of a mailmessage? Mark Sandfox ASP .Net 2 06-24-2004 02:00 PM
MailMessage Body appear in italics =?Utf-8?B?bWc=?= ASP .Net 1 02-08-2004 02:31 AM
MailMessage.Body limited? =?iso-8859-1?Q?Kai_Br=E4utigam?= ASP .Net 0 08-28-2003 03:54 PM
Re: MailMessage Max Body Length Ray Dixon [MVP] ASP .Net 1 08-25-2003 08:03 PM



Advertisments