I need to work out how to forward an email but forward the entire email object as the attachment itself as you can do with outlook if you grab the email file and paste it as an attachment to another email.
There are other Flows on here on how to forward an email with attachments but not to forward an email as the attachment itself.
So far I have tried this:
Solved! Go to Solution.
Hi @Anonymous
Have a look at this link
This will explain how to do most of what you are after.
I have tested the above and I save a working .eml file to SharePoint but it could just as easily be OneDrive or Google Drive per say. Once the file is created and saved, you can use a Get file action to bring it back down and attach it to an email.
Hope this helps!
If you have found my post helpful, please mark thumbs up.
If this post has solved your problem, please click "Accept as Solution".
Any other questions, just ask.
Thanks, Alan
Proud to be a Flownaut!
Hi @Anonymous
Have a look at this link
This will explain how to do most of what you are after.
I have tested the above and I save a working .eml file to SharePoint but it could just as easily be OneDrive or Google Drive per say. Once the file is created and saved, you can use a Get file action to bring it back down and attach it to an email.
Hope this helps!
If you have found my post helpful, please mark thumbs up.
If this post has solved your problem, please click "Accept as Solution".
Any other questions, just ask.
Thanks, Alan
Proud to be a Flownaut!
With the guidance from AlanPs1 above here is the solution I found that worked OK for my needs.
Export Email > Create File > Get File Content > Send Email > Delete File (to clean up).
Step 1 was to export the email. My flow is triggered when a new mail is received and the ID that's exported is that triggering email. This value is used in step 2 as the file content.
Step 2, Create File. I picked a folder that should be out of the way. It's really just a temp location since I'm going to delete this file at the end anyways. File Name I don't think matters, so I used the message ID of the original mail. File Content here is the body of the "Export" in step 1.
Step 3, Get File Content of the newly created file in step 2. This will be the file content of the file attached to the email.
Step 4, Send the mail with the attachment. As AlanPs1 points out above, the '.eml' extension is important and the Body of 'Get File Content' will be the content of the attachment.
And the Step 5 is the cleanup to delete from the site the Id of the file from Create File in step 2.
Hope this helps. Thanks.
User | Count |
---|---|
93 | |
45 | |
19 | |
19 | |
15 |
User | Count |
---|---|
137 | |
54 | |
42 | |
42 | |
30 |