So for the Newsgroup:
It worked on my system.
I added new lines of code for save the item before send.
When i call SafeItem.Send, the Mail is in my Draftsfolder until i click
send/receive.
so I added a line to start synchronizing.
PLease test it first with a already running Outlook instance,
so you can see if there is a Problem with objNS.Logon....
here goes the code:
Dim objApp As Outlook.Application
Dim objNS As Outlook.NameSpace
Dim objSafeItem As Redemption.SafeMailItem
Dim objMailItem As Outlook.MailItem
objApp = New Outlook.Application
objNS = objApp.GetNamespace("MAPI")
objNS.Logon("Outlook", "", False, False)
objMailItem = objApp.CreateItem(OlItemType.olMailItem)
objSafeItem = New SafeMailItem
objSafeItem.Item = objMailItem
objSafeItem.Recipients.Add(
[email protected])
objMailItem.Subject = "TestMessage"
objSafeItem.Body = "This message is sent from Redemption...."
'the new save
objMailItem.Save()
objMailItem.To = (e-mail address removed)
objSafeItem.Send()
objNS.SyncObjects.Item(1).Start()
objSafeItem = Nothing
objMailItem = Nothing
objNS.Logoff()
objNS = Nothing
objApp = Nothing
--
regards,
Helmut Obertanner
DATALOG Software AG
http://www.datalog.de
[obertanner at datalog dot de]
Done, twice. Also received the two test messages.
Regards
please send it to [flash at x4u dot de]
i'm not at work now...
--
regards,
Helmut Obertanner
DATALOG Software AG
http://www.datalog.de
[obertanner at datalog dot de]
Thanks Helmut. BTW, a copy of my redemption project should be in your
inbox.
Was too large to post here.
Thanks again.
Regards
Hello,
yes it is, you can write an Outlook Add-In and use the Redemption
from
www.dimastr.com
If Outlook is in a Exchange environment, you could use the
Administrative
Forms to enabled the dll to bypass the security block.
--
regards,
Helmut Obertanner
DATALOG Software AG
http://www.datalog.de
[obertanner at datalog dot de]
Hi
Is it possible to write vb.net code around outlook 2000 dlls and
then
use
the code on ol2002 machines to send emails and bypass ol 2002
email
block?
Thanks
Regards