codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  send mail in html format  eshwar_gp at 06:26 on Tuesday, March 01, 2005
 

Hi, i am trying to send mail in html format. But, itz giving html source code in my mail box, instead of content.


Please solve it.

  Re: send mail in html format  omerozulku at 02:34 on Saturday, March 05, 2005
 

maybe you can put these
<br> + html codes..... + <\br>

omerozulku@yahoo.com

can you say me how did u succes on sending html mails.i am trying it for a week but i couldn.t have.plz help me

  Re: send mail in html format  vglass at 17:39 on Saturday, March 05, 2005
 

For the body to be rendered in HTML by the email client you will need to change the Content-Type header to text/html (the default is text/plain)

e.g.

Content-Type: text/html

If you want to support all email clients then you should consider sending both HTML and text parts in a multipart message.

A tutorial on the structure can be found here:

http://www.jscape.com/articles/sending_html_email_using_java.html

This tutorial is Java based but the same concepts apply in any language.

You may find the email components in Email Factory for .NET useful in this effort

http://www.jscape.com/emailfactorydotnet/








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: Problem to declare global variable in Object oriented perl
•  Re: dereferenceing a string to a constant name
•  Re: Submit multiple forms with one button
•  Re: Passing Password using $ssh->cmd
•  Re: ADODB.Recordset error (0x800A0CB3)
•  Re: Open a Modal Pop Up From a LinkButton In a GridView
•  Re: Need Javascript Multiple sidebar menu with sliding effects
•  Re: ASP.NET /Excel opening in frame Issue
•  Re: `section` is an unexpected token. Expecting white space. Line 1, position 137.


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2010