Thread: BCC
View Single Post
  #5  
Old March 23rd 07, 07:29 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default BCC

Did you publish the form to the Organizational Forms library? Leave the "send form definition with item" box unchecked? Set the Forward action on the (Actions) page to use the published custom form? All those are necessary steps to get code to run on a forward item.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"teenzbutler" wrote in message ...
I was able to remove the email from the BCC field. I have the code inserted,
however, when I forward the form, it is not BCC the email I entered in the
code.

"teenzbutler" wrote:

I deleted the BCC field, and published the form. I opened the form, clicked
the To: button, and the BCC field is populating with the old email address.
How is that possible without the BCC field in the form? Is there a cache
somewhere that I am not aware of? I assume you need a BCC field in the form
in order for the code to work. Isn't that correct?

"Sue Mosher [MVP-Outlook]" wrote:

I can't quite picture what you're doing, given that it is not possible to delete a standard field from any Outlook item.

The way to remove a recipient from a custom form is to run the form, remove the recipient, republish.



"teenzbutler" wrote in message ...
Thanks Sue. I am testing the code with a new email address. However, I have
one problem, I cannot remove the old email address within the BCC field. I
did not input the email address in the field below "Set the initial value of
this field to:" I manually entered it within the BCC field itself by editing
the field. Now when I try and remove the email address, it won't go away.
Even if I delete the BCC field and create a new one, the old address
re-populates. I went into Advanced Properties to remove it, but nothing
works. What am I doing wrong?

"Sue Mosher [MVP-Outlook]" wrote:

Put code in the Item_Forward event handler to set the Bcc property of the new forward message to the desired address:

Function Item_Forward(ByVal ForwardItem)
ForwardItem.Bcc = "
End Function


"teenzbutler" wrote in message ...
Thanks for you reply. No, I did not set the initial value to this field.
Instead, I edited the field an manually inputted the email address. The
reason why I did it this way was because, when I checked the "Set the initial
value of this field to:" box, the users were unable to send the form. They
would get "Operation failed". It took me a while to figure out that it was
this setting that caused the problem. Even though I published the form to
the Organizational Library, it still would fail. Do you have any
suggestions?

"Sue Mosher [MVP-Outlook]" wrote:

Are you setting the value of the Bcc property of the original item with an initial value? If not, how?

"teenzbutler" wrote in message ...
I created a BCC: field so that a specific user is copied anytime the form is
submitted. I want that same person to be BCC-ed when the form is forwarded
as well. For some reason, I cannot figure this out. Does anyone have any
information on this?



Ads