K
k.visube
In my ASP application,i need to send a formatted text mail (i.e with
newline characters).
here in my application i used a function in javascript which construts
the mail body
sample snippet
strbody=strbody +"dear customer,\n";
strbody=strbody +"we are glad to see ur response\n";
strbody=strbody +"we will make the needful thing as early as
possible\n";
.................
......................
sendmail(strbody) \\ this is a function to send email that written in
vbscript
..............
............
then send mail function uses cdo to send mail.
inside th sendmail() function . i ve set the mail body as textbody
i.e
objCDO.To = strTo
objCDO.From = strFrom
objCDO.Subject = strSubject
objCDO.TextBody =strBody
objCDO.Send
The actual problem is it works fine and produces text line breaks in
yahoo , hotmail, gmail ids .but with some other ids ...i seems not
working properly..i doesnt respect the newline character and shows the
mailbody as a chunk of paragraph...
why this type of controdictory effect with cdo with some mail ids....
Give me an idea to get rid off this problem .. thanx in advance
visu.
newline characters).
here in my application i used a function in javascript which construts
the mail body
sample snippet
strbody=strbody +"dear customer,\n";
strbody=strbody +"we are glad to see ur response\n";
strbody=strbody +"we will make the needful thing as early as
possible\n";
.................
......................
sendmail(strbody) \\ this is a function to send email that written in
vbscript
..............
............
then send mail function uses cdo to send mail.
inside th sendmail() function . i ve set the mail body as textbody
i.e
objCDO.To = strTo
objCDO.From = strFrom
objCDO.Subject = strSubject
objCDO.TextBody =strBody
objCDO.Send
The actual problem is it works fine and produces text line breaks in
yahoo , hotmail, gmail ids .but with some other ids ...i seems not
working properly..i doesnt respect the newline character and shows the
mailbody as a chunk of paragraph...
why this type of controdictory effect with cdo with some mail ids....
Give me an idea to get rid off this problem .. thanx in advance
visu.