Resending again.
 
I tried with string builder also. but no use.
 
thanking you in advance for your help.

Parimala Renganathan <[EMAIL PROTECTED]> wrote:

To: [email protected]
From: Parimala Renganathan <[EMAIL PROTECTED]>
Date: Wed, 31 Aug 2005 23:58:34 -0700 (PDT)
Subject: [AspNetAnyQuestionIsOk] Vb.Net (SMTP Mail) - unexpected character 
apprears "!" inside email

Hi Friends,

I am using web.mail for my vb.net windows application to send email by using 
smtp server. Everything working fine, but sometimes inside the email body 
unexpected character ! is apprearing. the email format is html. I am producing 
few of lines of coding for your reference. If anyone come across this problem 
pls help me.

Imports system.web.mail
.
.
.
strbody = "<table>"
strBody+="<tr><td> Name.</td><td>" & txtAttn.Text & "</td></tr>"

strBody+="<tr><td> Property Address</td><td>" & strPropAdd & "</td></tr>"

strBody = strBody & "</table>"
Dim objMail = New MailMessage
objMail.bodyformat = MailFormat.Html
objMail.from = "[EMAIL PROTECTED]"
objMail.to = "[EMAIL PROTECTED]"
objMail.subject = strPropAdd
objMail.Priority = MailPriority.High
objMail.body = strBody
SmtpMail.SmtpServer = "Server1.pspl.com"
SmtpMail.Send(objMail)

-------------------------

the mail received as below. you may notice the ! symbol next to Mr. 

Pls any suggestions how to eliminate ?..

Name              Mr! .RENGA

Property Address  # 12-36 TOH TUCK ROAD, SINGAPORE.




thanks & rgds 

Renga

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]






---------------------------------
YAHOO! GROUPS LINKS 


    Visit your group "AspNetAnyQuestionIsOk" on the web.
  
    To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


---------------------------------



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to