First off, I'd use the code at Danny Lesandrini's site to deal with
sending e-mail. That way, you know that part should not be the
problem. to be sure, test the code with sample data you know will work
(like sending e-mail to your own address).
Danny's code:
http://www.amazecreations.com/datafa...utlookMail.asp
Then why not just create a query to create the recordset instead of
looping through an entire table? That's going to be unnecessarily slow
if you have a big table - just query out the junk you don't want.
Then you could do something like
set rst=dbengine(0)(0).openquerydef("qryDueRecords")
do until rst.eof
SendMessage rst.Fields("email")
rst.movenext
loop
of course, you'll have to change Danny's code a little so you can pass
in the e-mail address, etc. (but that's really trivial).
Oh, and two minor things - all caps is considered shouting... We're not
deaf. And what might be urgent to you is not to anyone else. If
you're really in a hurry, search the NG before posting. There are
dozens of examples of automating outlook here. (I've read a lot of
them).