Forwarding attachments in email received

Status
Not open for further replies.

Iqbal Khan

New Member
Outlook version
Outlook 2013 64 bit
Email Account
POP3
I am looking for vba code to forward attachments in an email received to be forwarded to a particular email id.

I can set rule if the attachment count is one however I need to send each attachments in the email individually to the email id.

Thank you
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
Since you cannot directly add an attachment from one email to another, you first need to save each attachment as a file, then add the file it to the new email.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
The macros at Run a Script Rule: Send a New Message when a Message Arrives should get you started - since you need to send each attachment separately, you'll need to get a count then loop through them, then add each to a new message. (I'm reading your request as 1 message arrives with nn attachments, you need to send them to a new address in nn messages with one attachment each. If this isn't what you mean, and you will resend 1 new message for each message that arrives, it will be easier.)

i have forwarding macros at Run a Script Rule: Change Subject then Forward Message - but you're not really forwarding, just sending the attachments on. if you need to grab addresses from the body, it has a sample that does that.
 
Last edited:

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
oh, and one other thing, signatures that have images in them will count as 1 attachment - you should use the from field or other conditions to filter them out. (The macro can check the file size, as long as the attachment you need to forward is not too small.)

I have a copyattachments function in the macro at Reply or ReplyAll with Attachments that shows how to copy attachments to a message.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
A When forwarding attachments, the email address of recipient is lost Using Outlook 2
G file attachments and forwarding messages Using Outlook 3
R Retain Original Message When Forwarding With Macro Outlook VBA and Custom Forms 3
D Keep Original html body when forwarding an email Outlook VBA and Custom Forms 7
A Forwarding email and replacing body Outlook VBA and Custom Forms 1
D VBA to edit body of incoming email and forwarding it Outlook VBA and Custom Forms 11
M VBA Rule for removing all body but hyperlink then forwarding Outlook VBA and Custom Forms 9
W Forwarding E-Mail Outlook VBA and Custom Forms 13
G VBA/Macro to remove page colour when replying or forwarding email Outlook VBA and Custom Forms 2
D VBA Code to strip Subject Line when replying or forwarding Using Outlook 3
N Auto-forwarding an Email received from a specific Email address After slight modifications Using Outlook 4
R Forwarding and keeping Original intact Using Outlook 3
J Creating a URL from a message body excerpt before forwarding Using Outlook 2
J Outlook Rule - Create Link in Forwarding Message Outlook VBA and Custom Forms 2
E Contact's Notes field not transferring when forwarding vCard Using Outlook 6
J Meeting Invites Go Blank When Forwarding or Accepting Using Outlook 2
D Forwarding Exchange Email without meeting updates Using Outlook 1
A Emails automatically forwarding but no rule to turn off Using Outlook 2
T Adding text to forwarding rules in Outlook 2010 Using Outlook 1
T Adding tex to forwarding rules in Outlook 2010 Exchange Server Administration 1
L Forwarding an expiring message Using Outlook 0
T To: and Cc: not displaying when forwarding/replying to .eml files Using Outlook 4
V Reply Arrow Icon appears when both Replying or Forwarding Using Outlook 3
C forwarding from 365 to hotmail account? Using Outlook 1
F VB Script, remove text from subject line when forwarding Using Outlook 22
C Forwarding Outlook 2003 calendar items Using Outlook 1
B Outlook 2003 randomly not auto forwarding Using Outlook 0
M Forwarding vCard prompts Send As (From field) on Contacts that were moved Using Outlook 6
B OL2010 - signatures while forwarding tasks or appointments Using Outlook 2
D Private messages not forwarding by rule? Outlook 2007 Using Outlook 1
T [outlook-users] e masil forwarding Using Outlook 2
A Font size increases when forwarding emails Using Outlook 1
A Forwarding recurring appointment/meeting Using Outlook 2
P Forwarding Email With Encrypted Attachment Exchange Server Administration 1
T Automatic forwarding rule strips attachment Using Outlook 3
C How do I cancel automatic e-mail forwarding? Using Outlook 1
N Forwarding email Using Outlook 5
M Quick steps: feature request: 'direct replies to' when forwarding Using Outlook 1
A How do I stop automatic e-mail forwarding? Using Outlook 2
J CONTACTING SERVER...Message on Printing and forwarding certain html rich mails . How to disable. Using Outlook 3
D Automatically close received email when forwarding r replying Using Outlook 1
B OUTLOOK MEETING INVITES - NOT ALLOW FORWARDING Using Outlook 1
S Allow forwarding to External domain Exchange Server Administration 1
C How to change order of colors used when replying or forwarding Using Outlook 2
D OWA on 2010 CAS not forwarding authentication to 2003 OWA for legacy users Exchange Server Administration 1
J How to keep people from forwarding calendar invites to others Using Outlook 4
J Forwarding with attachements Using Outlook 4
O font is small when forwarding or replying to emails Using Outlook 8
A How do I move a message to a folder after forwarding ? Outlook VBA and Custom Forms 6
V Remove old recipients before forwarding Outlook VBA and Custom Forms 1

Similar threads

Top