Hi
I am getting the following error when the Send command executes.
-2147417848
Automation error
The object invoked has disconnected from its clients.
Here is the code:
With MAPISession1
.DownLoadMail = False
.LogonUI = False
.SignOn
.NewSession = True
MAPIMessages1.SessionID = .SessionID
End With
With MAPIMessages1
.Compose
.RecipAddress = "helpmeplease@urgent.com"
.MsgSubject = strMailSubject
.MsgNoteText = strMailText
.Send False '<<<Gettting that error here
End With
Why does this error occur and what is the possible remedy ?
Thank you in Advance.
RR
:-(
I am getting the following error when the Send command executes.
-2147417848
Automation error
The object invoked has disconnected from its clients.
Here is the code:
With MAPISession1
.DownLoadMail = False
.LogonUI = False
.SignOn
.NewSession = True
MAPIMessages1.SessionID = .SessionID
End With
With MAPIMessages1
.Compose
.RecipAddress = "helpmeplease@urgent.com"
.MsgSubject = strMailSubject
.MsgNoteText = strMailText
.Send False '<<<Gettting that error here
End With
Why does this error occur and what is the possible remedy ?
Thank you in Advance.
RR
:-(