S
Srinu
Hi,
I am using the Event 'ItemSend' to get the sent MailItem. All i need
is the From from this MailItem. I am getting 'Nothing' when i tried to
access the properties of 'SenderName' and 'SenderEmailAddress' of
SafeMailITem. I even tried Save() method. But no Luck. ( I am using VB.NET
and my program needs to work outlook 200/2002/2003 with/without Exchange
Server.
My code snippet
Public Function MsgSent(ByVal mitem As Outlook.MailItem)
Dim oMailItem As New Redemption.SafeMailItem
mitem.Save()
oMailItem.Item = mitem
MsgBox oMailItem.SenderName
MsgBox oMailItem.SenderEmailAddress
End Function
I even trid the following code for getting the current user but no luck. It
is returning 'Unknown'
Dim cu As New SafeCurrentUser
MsgBox cu.Name
cu.Cleanup()
cu = Nothing
Is there any way i can get the Sender Info from the MailItem without
Security Message ?
Thanks,
Srinu
I am using the Event 'ItemSend' to get the sent MailItem. All i need
is the From from this MailItem. I am getting 'Nothing' when i tried to
access the properties of 'SenderName' and 'SenderEmailAddress' of
SafeMailITem. I even tried Save() method. But no Luck. ( I am using VB.NET
and my program needs to work outlook 200/2002/2003 with/without Exchange
Server.
My code snippet
Public Function MsgSent(ByVal mitem As Outlook.MailItem)
Dim oMailItem As New Redemption.SafeMailItem
mitem.Save()
oMailItem.Item = mitem
MsgBox oMailItem.SenderName
MsgBox oMailItem.SenderEmailAddress
End Function
I even trid the following code for getting the current user but no luck. It
is returning 'Unknown'
Dim cu As New SafeCurrentUser
MsgBox cu.Name
cu.Cleanup()
cu = Nothing
Is there any way i can get the Sender Info from the MailItem without
Security Message ?
Thanks,
Srinu