Hello Experts, I have already one mail system in which I want to make some modification. System developed using CGI Script Language. In that system it sends plain text mail. But now I. want to send formatted mail (HTML mail) but when I send mail to particular use it shows the html tag in the mail. So please tell me how I can do that . Tanks
How do you construct your email, is it using Perl script or other languange? In the email body, do you have a header to identify the conent type, something like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><title>Email Notification</title> <META http-equiv=Content-Type content="text/html; charset=windows-1252"> </head>
expert i think u r very near to the solution. i send u my actual code it wrok properly but not show proper formatted text it show bold text like <strong>hi</strong> my code is ......
}); </script> <script language="JavaScript"><!-- var myDefaultLanguage="<!--IMAIL.Include.config_DefaultLanguage.cgi-->" var myCharset="<!--IMAIL.Include.config_DefaultLanguageCharset.cgi-->" <!--IMAIL.Include.languageLoader.cgi-->
function resizeText(form) { var winSize; var boxLength; (is_ie4up)?winSize=document.body.clientWidth:(is_nav4up)?winSize=self.innerWidth:winSize=500; (winSize>799)?boxLength=72:boxLength=52; form.textBody.cols=boxLength; }
function myLoad(){ if(location.pathname.indexOf("sendmail.")==-1 && location.pathname.indexOf("exitspell.")==-1 ){ var sigValue = document.SendMail.signature.value; //keyr 1 //alert(document.SendMail.signature.value);