G
Guest
I'm working with a database that automatically sends a email message when new
issue are submitted. When recently changed from a Pop3 Server to the
Microsoft Exchange Server. Now when a question is submitted, noone gets sent
a email. I get a error message, "You do not have the permission to send the
message on behalf of the specified user."
Below is some off the code...
Set objOutlook = Outlook.Application
Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
With objOutlookMsg
.subject = "New Submission"
.Importance = olImportanceHigh
.To = "(e-mail address removed);[email protected]"
.sentonbehalfofname = "(e-mail address removed)"
.htmlbody
"
"
.send
End With
issue are submitted. When recently changed from a Pop3 Server to the
Microsoft Exchange Server. Now when a question is submitted, noone gets sent
a email. I get a error message, "You do not have the permission to send the
message on behalf of the specified user."
Below is some off the code...
Set objOutlook = Outlook.Application
Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
With objOutlookMsg
.subject = "New Submission"
.Importance = olImportanceHigh
.To = "(e-mail address removed);[email protected]"
.sentonbehalfofname = "(e-mail address removed)"
.htmlbody
"
"
.send
End With