R
rchf
His one supposed to put additional TO/CC/BCC recipients on a MailItem using
C# in VSTO?
I would really appreciate your ideas/suggestions.
Here is the very short source code that was supposed to add the new CC
address....
void applicationObject_ItemSend(object item, ref bool cancel)
{
Outlook.MailItem myItem = item as Outlook.MailItem;
if( myItem != null)
{
myItem.CC = "(e-mail address removed)";
}
}
As I say this code results in the user-created outbound email being sent to
the user-entered email address and shows an attempt to send to the additional
new address "'(e-mail address removed)'"@myhost.com
Apparently Outlook is default-appending the domain name of my IMAP host
provider (myhost.com), from where I get/send my email. I checked and this is
NOT happening on the server-side. Why not just accept the BCC I provide and
why does Outlook append the host's email address?
Thanks,
Richard
C# in VSTO?
I would really appreciate your ideas/suggestions.
Here is the very short source code that was supposed to add the new CC
address....
void applicationObject_ItemSend(object item, ref bool cancel)
{
Outlook.MailItem myItem = item as Outlook.MailItem;
if( myItem != null)
{
myItem.CC = "(e-mail address removed)";
}
}
As I say this code results in the user-created outbound email being sent to
the user-entered email address and shows an attempt to send to the additional
new address "'(e-mail address removed)'"@myhost.com
Apparently Outlook is default-appending the domain name of my IMAP host
provider (myhost.com), from where I get/send my email. I checked and this is
NOT happening on the server-side. Why not just accept the BCC I provide and
why does Outlook append the host's email address?
Thanks,
Richard