Solved

Button for Outlook that attaches selected emails and sends message

Posted on 2006-11-03
3
135 Views
Last Modified: 2010-04-08
I work for a company that out-sources our anti-spam filters to a service that filters everything inbound.  We do not use the anti-spam options with Exchange 2003 or set any special configurations for our Outlook client's Junkmail filters.  Employees do turn on these filters to catch and report any spam messages that come through from the filtering service.  Our director has asked me to explore adding a button or command to Outlook that will:

On click:
1. attach each selected message in the junkmail folder to a blank email
2. keep count of number of emails being attached
3. write subject to email of “Spam (# of attachments)”
4. address email to spam reporting address
5. send email when last selected message is attached and items three and four are complete
6. delete reported emails

Is this possible?  I've been searching for examples or a place to start, but haven't found any that are close.  I've explored the vb editor in Outlook and I think it is possible for my session, but I'm not sure if a package can be made to install this feature to other Outlook instances.  Any pointers would be appreciated.

Thanks,
Q.
0
Comment
Question by:Quested
3 Comments
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
ID: 17874258
Greetings, Quested.

Yes, it is possible, but there's a hitch.  Sending a message via code is going to trigger Outlook's built-in security.  This will cause a dialog-box to pop up warning that an application is attempting to send on your behalf and asking for your permission to allow it to continue.  There are three ways around this.  One, write this as an Outlook add-in.  Add-ins have different security rules, but are also more difficult to create and debug.  Two, use Click-Yes (http://www.contextmagic.com/express-clickyes/).  This utility sits in the system tray and clicks the Yes button on Outlook's security dialog for you.  Three, use Outlook Redemption (http://www.dimastr.com/redemption).  Redemption is a component library that safely circumvents Outlook security.  An alternative is to not have the code send the message, but instead to display it onscreen and let the user click Send.

Cheers!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question