Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


December 22, 2003

Outlook: Making a Send To Message Look like a Typical Outlook Message

RSS
Subscribe to Windows IT Pro | See More Exchange Server and Outlook Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Download the Code Here

When I use Microsoft Word's File, Send To, Mail Recipient (as Attachment) command to send a Word document or when I right-click a file in Windows Explorer and choose Send To, Mail Recipient, the resulting email message is in plain text format and doesn't include my Outlook stationery. How can I send a typical Outlook message, with the file attached, from these applications?

The Send To feature uses a mechanism called Simple Messaging API (MAPI) to create a new message. As the name implies, Simple MAPI is a basic mail technique that creates a new message regardless of which program is set as the default mail program. (You can change the default in Microsoft Internet Explorer--IE--under Tools, Internet Options, Programs.) The side effect of this simplicity is that if Outlook is the default mail program, the resulting message is in plain text format and doesn't display any default stationery, signature, or custom form that you might have set up.

However, a couple of workarounds let you create a typical Outlook message when you send an attachment from Windows Explorer or Word. To send files from Windows Explorer, you can create a new shortcut to launch an Outlook message with your file attached. In the \documents and settings\%userprofile%\sendto folder, create a new shortcut that points to the copy of Outlook installed on your system and add the /a %1 command-line switch, which tells Outlook to create a new message and attach the file you choose. On my Microsoft Office 2003 system, the shortcut target looks like this:

"c:\program files
  \microsoft office\office11
  \outlook.exe" /a %1

You would, of course, need to use the file path on your system. You can name the shortcut Outlook. To use the shortcut, right-click a file in Windows Explorer, then choose Send To, Outlook (or whatever you named the shortcut). A new Outlook email message that has your default stationery and signature and the file as an attachment should appear.

The solution for Word is a short Visual Basic for Applications (VBA) macro. In Word, with a blank document open, press Alt+F11 to enter the VBA environment, and add the code that Web Listing 1 (http://www.winnetmag.com/microsoftexchangeoutlook, InstantDoc ID 41018) shows to the normal.dot template, either in the ThisDocument module or in a new module that you add. Use Tools, References in VBA to add a reference to the Microsoft Outlook library. After you add the code, you can customize one of the Word toolbars or the File, Send To menu by adding the macro to it.

End of Article



Reader Comments
This command has worked well for me, but at one point it it started to display, " This command argument is invalid"

pwarmen3 April 09, 2008 (Article Rating: )


This command has worked well for me, but at one point it it started to display, " This command argument is invalid"

pwarmen3 April 09, 2008 (Article Rating: )


I had the "argument invalid" error too. You can change the argument for the shortcut from "/a %1" to just "/a" or "/c ipm.note /a". Not sure what the difference is, both seem to work. The original argument seems to have broken after SP3 was applied.

msp1rew May 12, 2008 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
What You Need to Know About Microsoft's x64 Server Product Plans

What do Longhorn Server, Windows Compute Cluster Server, and Windows Vista have in common? The x64 platform. ...

Anti-Virus Vendors Prepare for War with Microsoft ... Again

When Microsoft announced its Windows Live OneCare security and PC health product over five years (as MSN OneCare), Symantec, McAfee, and the other consumer-oriented security vendors reacted with stunning vigor. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...


Exchange Server and Outlook Whitepapers The IT Guidebook To Evaluating Hosted Exchange Providers

Continuous Data Protection and Recovery for Microsoft Exchange

Related Events WinConnections and Microsoft® Exchange Connections

Bail Out Your Exchange Environment

Continuous Application Virtualization: An Answer to Exchange Recovery Problems

Check out our list of Free Email Newsletters!

Exchange Server and Outlook eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

The Expert's Guide for Exchange 2003: Preparing for, Moving to, and Supporting Exchange Server 2003

Related Exchange Server and Outlook Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

Exchange & Outlook UPDATE eNewsletter
News, strategies, products, and developments in Exchange Server and Outlook messaging.

Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home asp.netPRO Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement | Reprints and Licensing