Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MAPIOBJECT Error

Status
Not open for further replies.

kezzab

Programmer
Nov 9, 2005
14
GB
I was kindly advised how I could send an auto email from .net yesterday by Ruffnekk, however on implementing this code I still have problems whereby the mapiobject isn't supported and access is denined.

I am running this in conjuction with an exchange2003 server. The error message I receive is as follows:

"Item.MAPIOBJECT property is not supported: Access is denied"

.Net identifies the following lines as the culprits to the problem:

SafeItem.Recipients.Add("My.Email@MyDomain.com")
SafeItem.Recipients.ResolveAll()

Does anyoneknow why this would happen and what the potential solution would be?

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top