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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email.. Email Email

Status
Not open for further replies.

bigtings

IS-IT--Management
Oct 4, 2000
8
GB
Hi Room
Can you help???

I am very new to Visual Basic so bear with me. I am trying to write a bit of code to read my email box within outlook express and pick out all the email address within the body of the email them to a file

Can you help as I have been up all week trying to figure out where to start..
 
I have a small asp email program, it is well documented on books and on web. basically
I declare a CDONTS.Newmail object and then assigned it TO, FROM, SUBJECT, BODY properties and then I used SEND method.
the program runs, but it does not send email to the destination. instead it put the email and error message to a Badmail folder on the machine. the error message said error when processs in Pickup folder, What is the Problem?

thanks. friends
 
If you still need help with this send an email to david_t_60188@yahoo.com I may be able to help.
 
I don't use OE so I don't know for sure, but most email programs store the messages in text files. If I was trying to harvest addresses out of those messages, I'd open the text files and search through them for likely candidates. I use the Scripting Runtime library's FileSystemObject for handling text files. You can use VB's built in file-handling functions but I think the FSO's versatility and ease of use outweigh the cost of the extra overhead. You could use the VBScript Regular Expressions library to search for patterns that appear to be email programs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top