Author Topic: Outlook question  (Read 2529 times)

wilywombat

  • Newbie
  • *
  • Posts: 1
Outlook question
« on: July 13, 2013, 01:39:29 am »
I'm writing a script that responds to a button press that was created using the WIL Dialog editor.  When selected the button starts an Outlook windows to send an email "To" a recipient list.  The question is, whilst I can send "To", how do I "Cc or "Bcc" the email?
Thanks for any help!

Deana

  • Wilson WindowWare Tech Support
  • Pundit
  • *****
  • Posts: 1183
  • WinBatch® can do it.
    • WinBatch Tech Support Database
Re: Outlook question
« Reply #1 on: July 15, 2013, 08:15:18 am »
The answer will depend on how you are currently launching Outlook to send the email. Are you using COM automation, if so I believe the MailItem object has a CC and BCC property that can be defined. http://msdn.microsoft.com/en-us/library/office/aa210946(v=office.11).aspx

Alternatively you might consider using the Postie Extender to send your email. http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/tsleft.web+WIL~Extenders/Postie+Send~Email~with~dialog.txt
Deana F.
Technical Support
Wilson WindowWare Inc.