Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

winsock control problem w/ email body string

Status
Not open for further replies.

tatum

Technical User
Dec 20, 2002
57
US
I am using vb and winsock control to send emails out to list of email addresses. The body of the email is just a string. But when it gets sent to a certain email address an exclamation point and then a carraige return/line feed are added in the string at random places. The email is not long, only maybe 1.5-2.0 kb's. I just can't figure out where this '!' and cr/lf are coming from. Any one have any ideas??
 
Tatum,

I've had a simular problem under different circumstances mostly with CRLF's.

I use the replace command to filter it out before using the data

replace(replace(mytextstring,vbcrlf,""),vblf,"")

Hope this helps


DASH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top