Binary data to email

S

Slim

I have a problem converting binary to text

I am reading a page using xmlhttp

xmlhttp.open "GET", url, false ,"userName","password"
xmlhttp.send ""
tex3 = xmlhttp.responseBody

now I have the binary data of the html page I am reading

I can write this data to the asp page using

Response.BinaryWrite tex3

but I don't want to write it, I want to send it in a email but when I do I
get a load of ??????''??????'?????'
I need to convert it to ASCI
I have tried

tex3 = BinaryToText( tex3)

but did not work

any ideas?

I am using responseBody because responsetext has a problem of converting "'"
to "?"

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top