Solved

Button for Outlook that attaches selected emails and sends message

Posted on 2006-11-03
3
130 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Use email signature images to promote corporate certifications and industry awards.
If you don't know how to downgrade, my instructions below should be helpful.
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 …
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now