CDONTS ... URGENT
-
Hello guys ... I am fasing a problem which I am unable to handle. I am using CDONTS object for mailling (since only object support by the server X| ). I am using HTML fromatting in that mail, when sending mail display on the HOTMAIL it is display good (all HTML formatting is worked) but when i saw this mail in any other mail server like YAHOO and in OUTLOOK box the HTML formatting did not WORK and worse is that the HTML TAGS also displayed in the message. How can i handle this ... and what i should do ... Waitting for your urgent reply .... Thanx in advance
-
Hello guys ... I am fasing a problem which I am unable to handle. I am using CDONTS object for mailling (since only object support by the server X| ). I am using HTML fromatting in that mail, when sending mail display on the HOTMAIL it is display good (all HTML formatting is worked) but when i saw this mail in any other mail server like YAHOO and in OUTLOOK box the HTML formatting did not WORK and worse is that the HTML TAGS also displayed in the message. How can i handle this ... and what i should do ... Waitting for your urgent reply .... Thanx in advance
-
Hello guys ... I am fasing a problem which I am unable to handle. I am using CDONTS object for mailling (since only object support by the server X| ). I am using HTML fromatting in that mail, when sending mail display on the HOTMAIL it is display good (all HTML formatting is worked) but when i saw this mail in any other mail server like YAHOO and in OUTLOOK box the HTML formatting did not WORK and worse is that the HTML TAGS also displayed in the message. How can i handle this ... and what i should do ... Waitting for your urgent reply .... Thanx in advance
Hi Syed Hassan, Here is the solution.
<% dim strMessage myMail strMessage = "<center>Welcome My Friend</center>" strMessage = strMessage & "<br><font color=red>How are you?</font>" Set myMail = Server.CreateObject("CDONTS.NewMail") myMail.From = "somewhere@anydomain.com" myMail.To = "somefriend@anyotherdomain.com" myMail.Subject = "Hello" myMail.Message = strMessage myMail.Send Response.Write("Mail has been sent successfully.") set myMail = NOTHING %>
Zeeshan Mehmood