View Single Post
  #8  
Old May 29th 09, 07:10 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Sending a email using an account setup for the process sending

If the logged in user has Send As permissions for the target sending mailbox
then setting SentOnBehalfOfName() will do what you want. Set that property
to the email address of the mailbox alias and send the item.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Cyberwolf" wrote in message
...
Basically we would need to set the group email up on the pc's that need it
and then I control which account the mail is sent from through my code,
using
something like .sentonbehalfof?


--
Cyberwolf
Finder of Paths, Hunter of Prey
Ghost of the Night, Shadow of Day
The Wolf


Ads