PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Mailbox Calendars

Reply

Mailbox Calendars

 
Thread Tools Rate Thread
Old 22-09-2003, 01:33 AM   #1
Wanda
Guest
 
Posts: n/a
Default Mailbox Calendars


Created a custom appointment form and when all the options
were selected, the form went to the specific folder
under "Public Folders" ... such as:

If cboCalValue = "Cal - 3A" Then
Item.Recipients.Add ("3amax15persons.@ic.gc.ca
<mailto:3amax15persons.@ic.gc.ca>")

******************
Now I need this form to go to a specific Mailbox (WST-
PWGSC), a subfolder named (Regina) and then to the
specific calendar (PWGSC Exec Calendar). Is this
possible? What type of coding ... similar to the above
for Public Folders? Thanks very much.

Wanda
  Reply With Quote
Old 22-09-2003, 08:23 PM   #2
Sue Mosher [MVP]
Guest
 
Posts: n/a
Default Re: Mailbox Calendars

You cannot address an item to a particular folder. You can create a new item in that folder (assuming you have permissions) with the MAPIFolder.Items.Add method. You would need to have the mailbox visible in your folder list.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Wanda" <wanda.moyer@pwgsc.gc.ca> wrote in message news:a0bf01c380a1$2621dfb0$a601280a@phx.gbl...
> Created a custom appointment form and when all the options
> were selected, the form went to the specific folder
> under "Public Folders" ... such as:
>
> If cboCalValue = "Cal - 3A" Then
> Item.Recipients.Add ("3amax15persons.@ic.gc.ca
> <mailto:3amax15persons.@ic.gc.ca>")
>
> ******************
> Now I need this form to go to a specific Mailbox (WST-
> PWGSC), a subfolder named (Regina) and then to the
> specific calendar (PWGSC Exec Calendar). Is this
> possible? What type of coding ... similar to the above
> for Public Folders? Thanks very much.
>
> Wanda

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off