M
ME
(USING IMAP)
I'm trying to find a workaround to a bug in Outlook 2002 Rule Wizard, and
what I need to do is be able to intercept Private Sub
Application_ItemSend(...) to add the e-mail address of the sender. This is
what I have tried, but didn't work (Using IMAP):
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Item.SentOnBehalfOfName = "John Doe ([email protected])"
End Sub
The other choice is to intercept Private Sub Application_NewMail() and try
to do the same thing.
The last resort would be to create a custom form and hard code the From
field, but when I tried to edit the message form and create a custom copy,
some features get disabled, such as View -> Bcc, etc.
I read somewhere that Item.SentOnBehalfOfName(...) only works when
connecting to an Exchange Server. I don't understand why something as simple
as this task requires an Exchange Server to work. It's kind of stupid.
Any ideas???
I'm trying to find a workaround to a bug in Outlook 2002 Rule Wizard, and
what I need to do is be able to intercept Private Sub
Application_ItemSend(...) to add the e-mail address of the sender. This is
what I have tried, but didn't work (Using IMAP):
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Item.SentOnBehalfOfName = "John Doe ([email protected])"
End Sub
The other choice is to intercept Private Sub Application_NewMail() and try
to do the same thing.
The last resort would be to create a custom form and hard code the From
field, but when I tried to edit the message form and create a custom copy,
some features get disabled, such as View -> Bcc, etc.
I read somewhere that Item.SentOnBehalfOfName(...) only works when
connecting to an Exchange Server. I don't understand why something as simple
as this task requires an Exchange Server to work. It's kind of stupid.
Any ideas???