You don't have appropriate permission to perform this operation

  • Thread starter Thread starter Neil Penn
  • Start date Start date
N

Neil Penn

We have an in-house application written to send e-mails from addresses in
our SQL database using Outlook.

Generally this appears to be working fine, except for one user who keeps
getting the message:

You don't have appropriate permission to perform this operation

The e-mail is sent correctly and nothing else appears to be going wrong.

On investigation I discovered that if I go into the user's "sent items"
folder, open an item and click on "save" it comes up with the message:

Your changes could not be saved because you don't have permission to modify
some or all of the items in this folder.
Do you want to save a copy of this item in the default folder for the item?

The code for sending the message is essentially:

create a mail message from an outlook template file sitting on a shared
folder
address the mail using an address from the database
send the mail

If I just create a mail message and send it I don't get any errors, and I
can open the mail in the sent items folder and click save without any
errors.

Any ideas what the problem might be?

We are using Outlook 2000.
 
What does the template file look like and do?
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Its just an HTML e-mail. There are a couple of pictures, an HTML table,
formatted text etc.

Clearly it must be something to do with the template, which is the "unusual"
element here, however it does run without problems for all the other users.

Two other things:

1. It was created with a "post" rather than a mail (i.e. File/New/Post in
this Folder rather than File/New/Mail Message), however to follow this up I
created an identical mail item as the template and still got the same
problem, which was why I didn't mention it in the first place!

2. This user is also nearly unusual in that he has "local" folders whereas
nearly everyone else has their folders on the server. There is one other
user who has local folders and they don't have these problems however.

Hope that helps.

What does the template file look like and do?
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Could you show the code you're using to create the message?
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Thanks for replying Sue, I've been moved onto something else at the moment
so I can't follow this through but as soon as I get time I'll post the code
as a new thread to try to resolve this.

Could you show the code you're using to create the message?
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Back
Top