setting the "To" property for a mailitem

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
Back
Top