Customer email message

G

Guest

I'm working with a database that automatically sends a email message when a
new issue is submiited. We recently changed to the Microsoft Exchange Server,
and now when a question is submitted, noone get anything. When I looked at
the code, I get the error message, "You do not have the permission to send
the message on behalf of the specified user."
Enclosed is some of the code below.
Set objOutlook = Outlook.Application
Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
With objOutlookMsg
.subject = "New Submission"
.Importance = olImportanceHigh
.To = "(e-mail address removed);[email protected]"
.Cc = "(e-mail address removed)
.sentonbehalfofname = "(e-mail address removed)"
.htmlbody
"
"
.Send
End With
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top