Skip to main content

Outlook: automatically attach files in new message

Let’s say you want to attach your company’s profile in all of new created email messages automatically in Microsoft Outlook, how do you deal with it? There are two tricky methods to help you automatically attach files in new messages in Microsoft Outlook.

Automatically attach files in new message with customized template

Automatically attach files in new message with VBA

Office Tab - Enable Tabbed Editing and Browsing in Microsoft Office, Making Work a Breeze
Kutools for Outlook - Boost Outlook with 100+ Advanced Features for Superior Efficiency
Boost your Outlook 2021 - 2010 or Outlook 365 with these advanced features. Enjoy a comprehensive 60-day free trial and elevate your email experience!

arrow blue right bubbleAutomatically attach files in new message with customized template

This method will guide you to create a new template with an attachment, and then apply this template. It will automatically attach the specified file when you are applying this customized template in Microsoft Outlook.

Step 1: Create a new email message:

  1. In Outlook 2007, please click the File > New > Mail Message.
  2. In Outlook 2010 and 2013, please click the New Email button on the Home tab.

Step 2: In the Message window, attach files with clicking the Insert > Attach File, then in the Insert File dialog box, selecting the specified files and clicking the Insert button.

Step 3: Click the File > Save As in the Message window. (If you are using Outlook 2007, please click the Office button at the upper-left corner > Save As > Save As.)

Step 4: In the Save As dialog box,

  1. Enter a name for the new template in the File name: box;
  2. Click the Save as type: box, and select the Outlook Template in the drop down menu;
  3. Click the Save button.

Note: The template will be automatically saved to the Outlook Template folder if you select Outlook Template from the Save as type drop down list.

Step 5: Close current composing email message.

The specific template has been created, and you can apply it if you want to automatically attach the file in your new email message. You can do it as following:

Step 6: Open the Choose Form dialog box:

  1. In Outlook 2007, click the File > New > Choose Form.
  2. In Outlook 2010 and 2013, click the New Items > More Items > Choose Form.

Step 7: In the Choose Form dialog box:

  1. Click the Look in: box, and select the User Templates in File System from the drop down list;
  2. Click to highlight the customized template in the template list;
  3. Click the Open button.

Then a new email message is created with attaching the specified file at once.

Step 8: Compose the new email message, and click the Send button.


arrow blue right bubbleAutomatically attach files in new message with VBA

There is a trick to automatically attach files in new messages with VBA macro in Microsoft Outlook.

Step 1: Press the Alt + F11 keys to open the Microsoft Visual Basic for Applications window.

Step 2: Click the Insert > Module.

Step 3: Paste the following code into the new module window.

Sub NewMessageWithAttachment()
Dim oMsg As Outlook.MailItem
Set oMsg = Application.CreateItem(olMailItem)
With oMsg
.Attachments.Add "C:\Attachment.doc"
.Display
End With
End Sub

Step 4: Change the saving path of attachment in the code according to your needs.

For example, if the file you want to attach named “Office Tab” and the file extension is “.docx”, and its saving path is C:\Users\username\Desktop, please replace the “C:\Attachment.doc” with "C:\Users\username\Desktop\Office Tab.docx" in the code.

Step 5: Press F5 key to run this VBA macro.

Then you will see a new email message is created with attaching the specified file at once.

Step 6: Compose the new email message, and click the Send button.


Best Office Productivity Tools

Kutools for Outlook - Over 100 Powerful Features to Supercharge Your Outlook

🤖 AI Mail Assistant: Instant pro emails with AI magic--one-click to genius replies, perfect tone, multilingual mastery. Transform emailing effortlessly! ...

📧 Email Automation: Out of Office (Available for POP and IMAP)  /  Schedule Send Emails  /  Auto CC/BCC by Rules When Sending Email  /  Auto Forward (Advanced Rules)   /  Auto Add Greeting   /  Automatically Split Multi-Recipient Emails into Individual Messages ...

📨 Email Management: Easily Recall Emails  /  Block Scam Emails by Subjects and Others  /  Delete Duplicate Emails  /  Advanced Search  /  Consolidate Folders ...

📁 Attachments ProBatch Save  /  Batch Detach  /  Batch Compress  /  Auto Save   /  Auto Detach  /  Auto Compress ...

🌟 Interface Magic: 😊More Pretty and Cool Emojis   /  Boost Your Outlook Productivity with Tabbed Views  /  Minimize Outlook Instead of Closing ...

👍 One-click Wonders: Reply All with Incoming Attachments  /   Anti-Phishing Emails  /  🕘Show Sender's Time Zone ...

👩🏼‍🤝‍👩🏻 Contacts & Calendar: Batch Add Contacts From Selected Emails  /  Split a Contact Group to Individual Groups  /  Remove Birthday Reminders ...

Over 100 Features Await Your Exploration! Click Here to Discover More.

Read More       Free Download      Purchase
 

 

Comments (14)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Ola,
se o anexo estiver em uma pasta na rede ou em outra maquina, como faz para anexar automaticamente?
This comment was minimized by the moderator on the site
При нажатии на эл.адрес в документе pdf автоматически создается новое письмо в outlook. При нажатии на несколько разных адресов outlook создает новое письмо для каждого, можно сделать так, чтобы он добавлял нового адресата в одно письмо ?
This comment was minimized by the moderator on the site
Hi there,

I think you will have to copy the email addresses and then add them as recipients of one email.

Amanda
This comment was minimized by the moderator on the site
I've got a coworkers outlook that auto attaches EVERY email. This was never set up and just randomly started. Went away when the IT dept transitioned it to O365 (desktop app), but then randomly came back. I've seen nothing set up whatsoever with rules for this or anything. Any ideas how to get this to stop? Especially since we have customers receiving these emails and go to click the attachment and nothing opens. Plus it makes it that much more difficult finding the right email with the right attachment.
This comment was minimized by the moderator on the site
Hi there, do you mean that an email account in Outlook auto attaches other emails when reply to or send a message? And the attachments that has noting?
This comment was minimized by the moderator on the site
how to add an attachment in automatic reply in outlook
This comment was minimized by the moderator on the site
how can I attache file automatically from some shared location and send schedule them to b sent in everymonth and on a specific date
This comment was minimized by the moderator on the site
Instead of creating new email how to use email template and attach files automatically. pls can you suggest the VBA code for this?
This comment was minimized by the moderator on the site
Sub NewMessageWithAttachment()
Dim oMsg As Outlook.MailItem
Set oMsg = Application.CreateItem(olMailItem)
Set oMsg = Application.CreateItemFromTemplate("your template address")
With oMsg
.Attachments.Add "your attachment address"
.Display
End With
End Sub
'Press F5 key to run this VBA macro.
'I tried this and it worked. I am not an expert in VB.
This comment was minimized by the moderator on the site
Can you guide me, I get an error when running the Marco 
This comment was minimized by the moderator on the site
is there any particular way i can send mails to a particular mail id attaching files automatically from a folder. I want the whole process to be done automatically once the mail id and folder is set set. Its gonna be heaven if that's possible as my job pressure can be reduced at least a bit by the same.
This comment was minimized by the moderator on the site
is there any way i can send mails to a particular mail id attaching files from a particular folder in my pc automatically
This comment was minimized by the moderator on the site
Hi also, I have done the same for multiple attachments, but the problem if I set 3 files and 1 of them is not there the email will not be sent. is there a way to set it to attach what ever available and send it thanks in advance
This comment was minimized by the moderator on the site
This is very useful, can you please advise how may I add "body" and "to" in the codes
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations