PDA

View Full Version : Auto BCC



Steve2106
08-08-2012, 05:46 AM
Hi There,
I have found some code online and coded a VBA macro to send a BCC when I send an email.
Everything is working great but there are 2 accounts in Outlook.
I only want the BCC to be sent from a particular account and not any of the others.
How can I do that.
I have tried using Account.DisplayName but it does not work.
I do not think I am referencing things properly.
Can someone help me with this please.

Best Regards,


Steve.

JP2112
08-08-2012, 06:53 AM
What is your Outlook version?

Steve2106
08-08-2012, 07:07 AM
Hi JP,
Thanks for the reply.

I use Outlook 2007

Thanks for your help.

Best Regards,

Steve.

JP2112
08-13-2012, 05:29 AM
Check out the MailItem.SendUsingAccount (http://msdn.microsoft.com/en-us/library/office/bb207787(v=office.12).aspx) Property. In your BCC code, you can set this property.