<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Saving Outlook emails in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89818#M40151</link>
    <description>I was wondering whether anyone has developed an object action to Save emails / Move emails to a network folder?  I'll look at trying to create one if not, but I'm not an expert with VBA.

The Move Email action within the MAPIEx VBO appears to be limited to moving files to other folders within Outlook.  I have heard there may be a potential enhancement to incorporate Save Mail in future, but not sure of timescales.

Has anyone developed something already that I could have a look at?

Thanks

James</description>
    <pubDate>Fri, 22 Jul 2016 18:57:00 GMT</pubDate>
    <dc:creator>JamesBarrett</dc:creator>
    <dc:date>2016-07-22T18:57:00Z</dc:date>
    <item>
      <title>Saving Outlook emails</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89818#M40151</link>
      <description>I was wondering whether anyone has developed an object action to Save emails / Move emails to a network folder?  I'll look at trying to create one if not, but I'm not an expert with VBA.

The Move Email action within the MAPIEx VBO appears to be limited to moving files to other folders within Outlook.  I have heard there may be a potential enhancement to incorporate Save Mail in future, but not sure of timescales.

Has anyone developed something already that I could have a look at?

Thanks

James</description>
      <pubDate>Fri, 22 Jul 2016 18:57:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89818#M40151</guid>
      <dc:creator>JamesBarrett</dc:creator>
      <dc:date>2016-07-22T18:57:00Z</dc:date>
    </item>
    <item>
      <title>Hi James,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89819#M40152</link>
      <description>Hi James,
Hope you are doing good. I have a process requirement which is similar to this. Where automation need to send a mail and save the mail in a network folder.
I have created a BO for outlook operation . In save email operation the first action should be search the mail. The mail sent by automation has an unique case id in the mail subject . In save email action first  task is to search the mail. So first i opened the sent mail box in outlook profile then put the unique id in search bar and press enter. the first mail in the list of result will be selected. Next action is to click on the ""save as ""icon in outlook application . When it was clicked an windows dialog box opened. Select the file type as Outlook unicode text and chose a folder. then click on save button. The mail will be saved in the network folder.
I will add the BO details once the testing will be completed.</description>
      <pubDate>Mon, 25 Jul 2016 09:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89819#M40152</guid>
      <dc:creator>SumanMahato</dc:creator>
      <dc:date>2016-07-25T09:09:00Z</dc:date>
    </item>
    <item>
      <title>If you use the SMTP/POP3</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89820#M40153</link>
      <description>If you use the SMTP/POP3 object, you can actually configure and SMTP client to send emails to the filesystem:
stackoverflow.com/questions/1264672/how-to-save-mailmessage-object-to-disk-as-eml-or-msg-file</description>
      <pubDate>Mon, 25 Jul 2016 12:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89820#M40153</guid>
      <dc:creator>TomBlackburn1</dc:creator>
      <dc:date>2016-07-25T12:35:00Z</dc:date>
    </item>
    <item>
      <title>Hi James,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89821#M40154</link>
      <description>Hi James,
I looked at writing some code for a client of mine that would do exactly this:
Public Sub saveAttachtoDisk (itm As Outlook.MailItem)
Dim objAtt As Outlook.Attachment
Dim saveFolder As String
saveFolder = "c:\temp     For Each objAtt In itm.Attachments
          objAtt.SaveAsFile saveFolder &amp;amp; ""\" &amp;amp; objAtt.DisplayName
          Set objAtt = Nothing
     Next
End Sub
The above VB would save the attachment to a specified folder however the requirement on this one would be triggered via and Outlook Mail rule. 
I'm sure you could look into what would be the best solution for your circumstances but at you have the code above to at least play around with. 
Let me know if you have any questions and I'll do what I can to help.
Thanks
Jimmy</description>
      <pubDate>Mon, 25 Jul 2016 13:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89821#M40154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-25T13:03:00Z</dc:date>
    </item>
    <item>
      <title>Hi all,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89822#M40155</link>
      <description>Hi all,
I work with James on the same project.  We are using Outlook 2010 and MAPIEx.  We are currently spying Outlook to do this how a user would re: interacting with Outlook, but would prefer an object similar to the Move Mail.
We'll also be asking Blue Prism to add this to their enhancements list, as our thoughts are that the Move Mail object could be used for both moving mails to other email folders OR to a network drive with a bit of tweaking to their code.
We'll have a look at a couple of the suggestions to see what we can work with in the interim.
Thanks</description>
      <pubDate>Wed, 27 Jul 2016 18:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89822#M40155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-27T18:41:00Z</dc:date>
    </item>
    <item>
      <title>Hi Paul,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89823#M40156</link>
      <description>Hi Paul,
Regarding the Move mail function, I think MapieX module of Blue Prism helps in doing that when you try to Get Email from Inbox.</description>
      <pubDate>Thu, 28 Jul 2016 12:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89823#M40156</guid>
      <dc:creator>ShreyansNahar</dc:creator>
      <dc:date>2016-07-28T12:20:00Z</dc:date>
    </item>
    <item>
      <title>You can use this code in a BP</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89824#M40157</link>
      <description>You can use this code in a BP code stage. You will have to import Microsoft.VisualBasic and System.IO namespaces for this to work.
Inputs: sEmailID (Text) - ID of the email in Outlook, sPath (Text) - where you want to save it, nFormat (Number) - format of the saved message (see the code for possible values)
Outputs: [none]
Code:
Dim sFileName As String
Dim olApp As Object
Dim olNameSpace As Object
Dim olEmail As Object
olApp = CreateObject(""Outlook.Application"")
olNameSpace = olApp.GetNamespace(""MAPI"")
olEMail = olNameSpace.GetItemFromID(sEmailID)
Select Case nFormat
	Case 0
		sFileName = olEmail.Subject &amp;amp; "".txt""
	Case 1
		sFileName = olEmail.Subject &amp;amp; "".rtf""
	Case 3, 9
		sFileName = olEmail.Subject &amp;amp; "".msg""
	Case 5
		sFileName = olEmail.Subject &amp;amp; "".htm""
	Case Else
		sFileName = olEmail.Subject &amp;amp; "".msg""
		nFormat = 3
End Select
For Each invalidChar As Char In IO.Path.GetInvalidFileNameChars
	sFileName = sFileName.Replace(invalidChar , """")
Next
olEmail.SaveAs(sPath &amp;amp; ""\ &amp;amp; sFileName  nFormat)</description>
      <pubDate>Thu, 28 Jul 2016 12:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89824#M40157</guid>
      <dc:creator>RadoslavHiko</dc:creator>
      <dc:date>2016-07-28T12:30:00Z</dc:date>
    </item>
    <item>
      <title>Hello Radoslav,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89825#M40158</link>
      <description>Hello Radoslav,
I am trying to use the code you have provided but so far I was not successful (getting error msg: ""Exception thrown by code stage: Could not open the item. Try again""). The main issue is in my opinion in used ID. Could you probably specify what kind of ID does the use? What folder should it be in? I have tried direct ID extracted (manualy) from outlook but did not work.
Thank you.</description>
      <pubDate>Tue, 14 Mar 2017 16:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89825#M40158</guid>
      <dc:creator>ZdenkoŠupina</dc:creator>
      <dc:date>2017-03-14T16:28:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hello Radoslav,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89826#M40159</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;do you find any solution to save mail? We cannot open Outlook client, so for example we want to use "email pop3 smtp" object.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Nicolò&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nicolò Ceccaroni&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Feb 2023 11:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89826#M40159</guid>
      <dc:creator>NicolòCeccaroni</dc:creator>
      <dc:date>2023-02-27T11:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hello Radoslav,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89827#M40160</link>
      <description>&lt;P&gt;So you just need to be able to save emails as files, but you need to do it with something other than the standard Outlook VBO?&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Feb 2023 13:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89827#M40160</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2023-02-27T13:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hello Radoslav,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89828#M40161</link>
      <description>&lt;P&gt;Correct, &lt;SPAN&gt;I need to do it with something other than the standard Outlook VBO.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&amp;nbsp;Nicolò&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nicolò Ceccaroni&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Feb 2023 13:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89828#M40161</guid>
      <dc:creator>NicolòCeccaroni</dc:creator>
      <dc:date>2023-02-27T13:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hello Radoslav,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89829#M40162</link>
      <description>&lt;P&gt;Ok, we've just pushed an update to the &lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/email---pop3smtp" target="_blank" rel="noopener"&gt;Pop3/SMTP&lt;/A&gt; VBO to the Digital Exchange that includes two new actions: &lt;EM&gt;&lt;STRONG&gt;Save Message to File&lt;/STRONG&gt;&lt;/EM&gt; and &lt;EM&gt;&lt;STRONG&gt;Load Message from File&lt;/STRONG&gt;&lt;/EM&gt;. These should give you what you're looking for if you're using this VBO.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Feb 2023 17:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89829#M40162</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2023-02-27T17:10:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hello Radoslav,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89830#M40163</link>
      <description>&lt;P&gt;Hi Eric,&lt;/P&gt;
&lt;P&gt;thank you very much for the object.&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Nicolò&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nicolò Ceccaroni&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Mar 2023 10:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89830#M40163</guid>
      <dc:creator>NicolòCeccaroni</dc:creator>
      <dc:date>2023-03-03T10:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hello Radoslav,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89831#M40164</link>
      <description>&lt;P&gt;Hi Eric,&lt;BR /&gt;&lt;BR /&gt;do you know if it is possible to use &lt;EM&gt;Email - POP3/SMTO&lt;/EM&gt; to:&lt;BR /&gt;&lt;SPAN data-ng-bind-html="vm.solution.title" class="ng-binding"&gt;&lt;/SPAN&gt;&lt;BR /&gt;- retrieve 'EntryID' (id used on MS Outlook VBO)&lt;BR /&gt;- move an e-mail between several folders&lt;BR /&gt;- reload an .eml (the opposite of mail-saving)&lt;BR /&gt;&lt;BR /&gt;Thanks,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Nicolò Ceccaroni&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 08:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89831#M40164</guid>
      <dc:creator>NicolòCeccaroni</dc:creator>
      <dc:date>2023-04-18T08:10:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hello Radoslav,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89832#M40165</link>
      <description>&lt;P&gt;&lt;A class="user-content-mention" data-sign="@" data-contactkey="e8d8f41c-702b-4600-bf54-7ebb63afee25" data-tag-text="@Nicolò Ceccaroni" href="https://community.blueprism.com/network/profile?UserKey=e8d8f41c-702b-4600-bf54-7ebb63afee25" data-itemmentionkey="969c2040-6132-4ade-b1df-4f37e319a7b3"&gt;@Nicolò Ceccaroni&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There is a &lt;STRONG&gt;Load Mail from File&lt;/STRONG&gt; action that can be used to load a .eml file. As for your other questions, I believe the answer to both is no as this VBO is working directly with the mail server and not the Outlook client.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Apr 2023 14:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89832#M40165</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2023-04-18T14:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hello Radoslav,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89833#M40166</link>
      <description>&lt;P&gt;Hi Eric,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;when we use the action &lt;EM&gt;Load Mail from File&lt;/EM&gt; it is not uploading the .eml on the mailbox (is this correct?):&amp;nbsp;&lt;BR /&gt;when we use this action, we only obtain the mail data (but we don't find this mail in the inbox).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;With regard to moving e-mails, is it not possible b&lt;SPAN&gt;etween several folders of the same mailbox?&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Thanks.&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Nicolò Ceccaroni&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nicolò Ceccaroni&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Apr 2023 15:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89833#M40166</guid>
      <dc:creator>NicolòCeccaroni</dc:creator>
      <dc:date>2023-04-18T15:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hello Radoslav,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89834#M40167</link>
      <description>&lt;P&gt;&lt;A class="user-content-mention" data-sign="@" data-contactkey="e8d8f41c-702b-4600-bf54-7ebb63afee25" data-tag-text="@Nicolò Ceccaroni" href="https://community.blueprism.com/network/profile?UserKey=e8d8f41c-702b-4600-bf54-7ebb63afee25" data-itemmentionkey="2b8688ee-a281-48b8-8b7c-012481078c78"&gt;@Nicolò Ceccaroni&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Ah, I understand. Unfortunately no, that's not possible with either POP3 or SMTP. POP3 is just for downloading a copy of an email from the mail server to the local client. SMTP will create a copy of email in the Sent folder but that requires actually sending the email.&lt;BR /&gt;&lt;BR /&gt;With that said, we've started adding support for IMAP to the VBO. IMAP provides greater capabilities for mail organization, etc. So I believe we can add some of these capabilities for you, but we'll need to investigate a bit more and then, assuming it's possible, get that work scheduled.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Apr 2023 16:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89834#M40167</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2023-04-18T16:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hello Radoslav,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89835#M40168</link>
      <description>&lt;P&gt;Hi Eric,&lt;BR /&gt;&lt;BR /&gt;thanks for the update, please let us know if you add any new features.&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Nicolò Ceccaroni&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nicolò Ceccaroni&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Apr 2023 07:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89835#M40168</guid>
      <dc:creator>NicolòCeccaroni</dc:creator>
      <dc:date>2023-04-19T07:10:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hello Radoslav,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89836#M40169</link>
      <description>&lt;P&gt;Hi Eirc,&lt;/P&gt;
&lt;P&gt;do you have any updates on the possibility of uploading an .eml inside a mailbox?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Nicolò Ceccaroni&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nicolò Ceccaroni&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Mar 2024 10:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Saving-Outlook-emails/m-p/89836#M40169</guid>
      <dc:creator>NicolòCeccaroni</dc:creator>
      <dc:date>2024-03-13T10:10:00Z</dc:date>
    </item>
  </channel>
</rss>

