Home Case Studies MS Office Tips and Tricks Sample Code Helpful Videos Custom Development  Custom Training Join Us Contact Us
Search Our Site:  

Outlook Add-Ins

There are a lot of ways of sending documents to members on your team both inside your company and outside. All of the MS Office Suite programs have File > Send To >  Mail Recipient. You can also send files to the recipient with a routing list, as an attachment and other options (shown below).



And most of techniques are accessible using VBA as well. It's just that, your program wants to know that it's YOU sending the emails. Ever since Melissa and I Love You and the other big Visual Basic worms Microsoft has been a little fanatical about stopping any programmatic access to email.

If you use a program that attempts to look up email addresses or send email, warning messages pop up: "A program is trying to automatically send e-mail on your behalf. Do you want to allow this?"



Then you have to wait a full five seconds until the Yes button becomes enabled before you can click it. It's probably a good idea, and not that big a problem if you're only sending one or two emails, but if you're sending emails to a few dozen, a few hundred or a few thousand recipients this just doesn't work.

For instance, one of our customers needed to have one giant sales report in Excel chopped into separate Excel workbooks by sales rep and then sent to each individual sales rep via email - you can read the whole story in the Success Story section. I Get It! Development helped the customer's accounting department write the program in a custom training class and it was a great success.

The problem is that after this security 'fix' was put in place, the program stalled out before every email. The process is still MUCH less work than the former manual process, but now it's a great deal more work than before Microsoft's security 'fix'.

It's been several years since the 'fix' came out but many organizations are still limping along, clicking 'Yes' every five seconds when they want to send out email. That's one way to get around it...

There are a few other suggestions summarized on Microsoft's web site in an article titled "Avoiding Excessive Security Warnings when Sending Automated E-mail Messages".

The heart of one solution is to send the emails from inside Outlook. As you know, any Office program can control any other Office program - that's the central problem here, Outlook gets worried because some other program is trying to send email.

So turn the situation on its head and have Outlook do the work you were doing in Excel or Word and then send the email from Outlook. You can't use simple VBA to do this - Outlook is still concerned that the program is running from an email or visited website. You have to create a trusted add-in to run your code.  The add-in is written, compiled and signed by a developer and then Outlook knows the program running the code and allows emails to be sent without the security challenges.

I Get It! Development can create the program for you to automate your email, just contact us for more information.
 
Please share your comments on this article!

 
Name (opt)
Email Address (opt)
Your Questions/
Comments

I Get It! Development does not share your email address or other information, nor do we add you to any mailing lists unless you specifically request to be added by checking the box below.



SEE ALSO
You may also find the following articles useful:

Clean up your contacts by contacting them!

Learn to sort on multiple columns in MS Outlook and Explorer

Who's (Garbage) Data Is This?!

Color Code The Emails In Your Inbox To Help Organize Them

Outlook Combined Items

Use Custom Spell Check Dictionaries


View Your Contacts In Access

Send Email From The Native Application

Manage Your Email

Manage Spam in Outlook with signatures

Calculate Growth Rates In Excel

Spreadsheet vs. Database

Pimp My Spreadsheet!

Columns In Word

References

Journal of Accountancy Articles

Tweaking The Numbers

Block That Spreadsheet Error

Excel Security Issues


 

Clients

Do you need help with Microsoft Office? Contact us

See how we've helped companies like yours develop effective business processes

Client Success Stories


 

Consultants

I Get It! Consultants set their own hours, work with their own clients, and choose their own projects.

If you're a Microsoft Office guru and would like to explore being a full-time consultant, please see our consultant information pages.