setting the "To" property for a mailitem

G

Guest

I am trying to automaigicly send project schedules to program managers from a
macro. I have been able to set the subject, body, cc and bcc fields. but i
cant se the to field. here is a snipet

OL_mail.To = "(e-mail address removed)"
using the OL_mail.bcc = "(e-mail address removed)" works while the "to"
field refuses to be set. is there a field i need to change to all the to
field to be updated ?

thanks in advance

roman
 
S

Sue Mosher [MVP-Outlook]

There's no reason the code you posted shouldn't work. What symptoms indicate that the To field isn't working as expected?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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

Top