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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Put OL2000 email sender into Junk Senders List using VBA

Status
Not open for further replies.

TonyG

Programmer
Nov 6, 2000
79
US
Hello,

Does anybody know how to put an email's sender address in the Junk Senders List using VBA in Outlook 2000.

I want to be able to click a toolbar button that will take the selected emails, add them to the Junk Senders List and delete the email.

I thought that it could be done by programatically executing the menu selections in outlook, but i can't figure out how to do that. I know how to loop through the selected emails, but i can't figure out to execute a menu selction on the selected email. I'm not even sure if i'm on the right track.

Any help with this would be appreciated.

Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top