View Single Post
Old 02-09-2013, 10:52 AM   PM User | #6
rshekhar21
New Coder

 
Join Date: Jan 2013
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
rshekhar21 is an unknown quantity at this point
sir as my problem is almost over, however there is one thing left, which is not an irk, but if something can be done for it then it will be so nice of you.

strFeedMessage="<html><body style='font-family:Verdana; font-size:12px'><h2 style='color:#06F; font-family:Verdana'>MESSAGE SUMMARY </h2><hr><br /><br /><table width='100%' border='0' cellspacing='4' cellpadding='10' style='color:#2C3038; font-family:Verdana; font-size:13px'> <tr> <td width='20%' align=right bgcolor='#f1f1f1'><strong>TITLE</strong></td> <td width='80%' bgcolor='#f1f1f1'>"& strFeedTitle &" </td> </tr> <tr> <td align=right bgcolor='#f5f5f5'><strong>NAME</strong></td> <td bgcolor='#f5f5f5'><strong>"& strFeedName &" </strong></td> </tr> <tr> <td align=right bgcolor='#f1f1f1'><strong>EMAIL</strong></td> <td bgcolor='#f1f1f1'>"& strFeedEmail &" </td> </tr> <tr> <td align=right bgcolor='#f5f5f5'><strong>PHONE</strong></td> <td bgcolor='#f5f5f5'>"& strFeedCell &" </td> </tr> <tr> <td align=right bgcolor='#f1f1f1'><strong>COMPANY</strong></td> <td bgcolor='#f1f1f1'>"& strFeedCompany &" </td> </tr> <tr> <td align=right bgcolor='#f5f5f5'><strong>SUBJECT</strong></td> <td bgcolor='#f5f5f5'>"& strFeedSubject &" </td> </tr> <tr align=right> <td align='right' bgcolor='#f1f1f1'><strong>MESSAGE</strong></td> <td height='auto' align='left' valign='top' bgcolor='#FFFFFF'>"& strFeedMessage &"</td> </tr> <tr> <td align=right bgcolor='#f1f1f1'><strong>IP ADD</strong></td> <td align='left' bgcolor='#f1f1f1'>"& UserIPAddress &" </td> </tr></table></body></html>"


this block of coed is the email body which i receive in my email clinte.

all the details comes as it suppose to come, i only want a little change in the message area ie. strFeedMessage,

the message comes like a block of pragraph, i mean no tabs not line breaks, just a pragraph,

to explain this, for example if i fill the form and in the message area i write

"hi,
i have given my order,
plese chek to it

thanks"

now when i receive this mail, i simply get the above text as

"hi, may i have give my order, please check to it thanks."

although i can understand it but if it comes in a defined was as it was then it would be more better.

i tried to change the myMail.HtmlBody to myMail.TextBody then it change the results were so ugly that i cant tell here. the same block of html code was thrown like as it it.

hence something else is required to solve this.

i hope you understand my point.

so can you suggest something.

raj
rshekhar21 is offline   Reply With Quote