<?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 RE: MS Outlook VBO in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92426#M42215</link>
    <description>ah ok yes good point - thanks!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sophie Katherine Smith&lt;BR /&gt;HR Systems, Data and Quality Assurance Manager&lt;BR /&gt;Arup&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 24 Sep 2020 15:31:00 GMT</pubDate>
    <dc:creator>Sophie_Katherin</dc:creator>
    <dc:date>2020-09-24T15:31:00Z</dc:date>
    <item>
      <title>MS Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92419#M42208</link>
      <description>​Hi, &lt;BR /&gt;&lt;BR /&gt;I am looking to use the Outlook VBO to send emails as I need to use HTML enabled for the formatting. &lt;BR /&gt;&lt;BR /&gt;I need to be able to send from a shared mailbox. &lt;BR /&gt;&lt;BR /&gt;Does anybody have the code required to either amend the 'Send Email' action &lt;BR /&gt;or create a 'Send Email From' action. &lt;BR /&gt;&lt;BR /&gt;(I can not use the POP3/SMTP object)&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Declan Keeton&lt;BR /&gt;RPA Developer&lt;BR /&gt;E.ON&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 22 May 2019 14:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92419#M42208</guid>
      <dc:creator>DeclanKeeton</dc:creator>
      <dc:date>2019-05-22T14:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92420#M42209</link>
      <description>&lt;P&gt;Edit: Redoing this post, because I initially misread the query. (Thank you BP, for finally allowing edits!)&lt;BR /&gt;&lt;BR /&gt;Just before the mail.save and mail.send lines, add this:&lt;/P&gt;
&lt;P&gt;Inputs:&lt;/P&gt;
&lt;P&gt;[SendFrom] - Text&lt;/P&gt;
&lt;P&gt;Code:&lt;/P&gt;
&lt;PRE class="language-markup"&gt;if SendFrom &amp;lt;&amp;gt; Nothing
	mail.SentOnBehalfOfName = SendFrom
end if​&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 May 2019 14:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92420#M42209</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-05-22T14:44:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92421#M42210</link>
      <description>&lt;P&gt;​Hi Ami,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks to the forums for the edits as much happier with the edited than the original reply!&lt;BR /&gt;&lt;BR /&gt;This worked perfectly and was quick to implement. &lt;BR /&gt;&lt;BR /&gt;Thanks mate!&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Declan Keeton&lt;BR /&gt;RPA Developer&lt;BR /&gt;E.ON&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 23 May 2019 08:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92421#M42210</guid>
      <dc:creator>DeclanKeeton</dc:creator>
      <dc:date>2019-05-23T08:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92422#M42211</link>
      <description>Hello Ami&lt;BR /&gt;&lt;BR /&gt;I saw, that you support Declan by an issue with Outlook and Sent E-Mails on Behalf. I have the problem, that I cant sent E-Mails on behalf with this code from a shared mailbox. Maybe you can give me an hint, what I am doing wrongly​? Secondly, I am also not got&amp;nbsp;the output that&amp;nbsp;thee E-Mail was sent.&lt;BR /&gt;&lt;BR /&gt;Dim oApp As Microsoft.Office.Interop.Outlook._Application&lt;BR /&gt;oApp = New Microsoft.Office.Interop.Outlook.Application&lt;BR /&gt;Dim myItem As Microsoft.Office.Interop.Outlook.MailItem&lt;BR /&gt;&lt;BR /&gt;try&lt;BR /&gt;&amp;nbsp;myItem = oApp.CreateItemFromTemplate(templatePath)&lt;BR /&gt;myItem.From = FromAddress&lt;BR /&gt;&amp;nbsp;myItem.To = mailAddress&lt;BR /&gt;&amp;nbsp;myItem.Subject = myItem.Subject _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.Replace("&amp;lt;Name&amp;gt;", firstName) _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.Replace("&amp;lt;Surname&amp;gt;", lastName)&lt;BR /&gt;&amp;nbsp;myItem.HTMLBody = myItem.HTMLBody _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;.Replace( _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"&amp;lt;span style='background:silver;mso-highlight:silver'&amp;gt;Ms. X&amp;lt;/span&amp;gt; / &amp;lt;span style='background:silver;mso-highlight:silver'&amp;gt;Mr. Y&amp;lt;/span&amp;gt;", firstLine) _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;.Replace( _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"&amp;lt;span style='background:silver;mso-highlight:silver'&amp;gt;Sehr geehrte Frau X&amp;lt;/span&amp;gt; / &amp;lt;span style='background:silver;mso-highlight:silver'&amp;gt;Sehr geehrter Herr Y&amp;lt;/span&amp;gt;", firstLine) _ &lt;BR /&gt;&amp;nbsp;&amp;nbsp;.Replace( _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"&amp;lt;span lang=FR style='mso-bidi-font-family:""xxxx Type Light"";background:lightgrey;mso-highlight:lightgrey;mso-ansi-language:FR'&amp;gt;Madame &amp;lt;/span&amp;gt;&amp;lt;span lang=FR style='mso-bidi-font-family:""XXXX Type Light"";mso-ansi-language:FR'&amp;gt;, / &amp;lt;span style='background:lightgrey;mso-highlight:lightgrey'&amp;gt;Monsieur&amp;lt;/span&amp;gt;,&amp;lt;/span&amp;gt;", firstLine) _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;.Replace( _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"&amp;lt;span lang=IT style='mso-bidi-font-family:""xxxx Type Light"";background:lightgrey;mso-highlight:lightgrey;mso-ansi-language:IT'&amp;gt;Gentile signora X&amp;lt;/span&amp;gt;&amp;lt;span lang=IT style='mso-bidi-font-family:""xxxx Type Light"";mso-ansi-language:IT'&amp;gt; / &amp;lt;span style='background:lightgrey;mso-highlight:lightgrey'&amp;gt;Egregio signor Y&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;", firstLine)&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;If(itMailInside.Length &amp;gt; 1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;myItem.HTMLBody = myItem.HTMLBody _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;.Replace( _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"&amp;lt;span style='background:lightgrey;mso-highlight:lightgrey'&amp;gt;tenuta&amp;lt;/span&amp;gt; / &amp;lt;span style='background:lightgrey;mso-highlight:lightgrey'&amp;gt;tenuto&amp;lt;/span&amp;gt;", itMailInside)&lt;BR /&gt;&amp;nbsp;End If&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;myItem.Send()&lt;BR /&gt;&amp;nbsp;mailSent = True&lt;BR /&gt;&amp;nbsp;mailSent = False&lt;BR /&gt;&amp;nbsp;If myItem Is Nothing&lt;BR /&gt;&amp;nbsp;Else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;myItem.Close(Microsoft.Office.Interop.Outlook.OlInspectorClose.olDiscard)&lt;BR /&gt;&amp;nbsp;End If&lt;BR /&gt;Catch ex as Exception&lt;BR /&gt;&lt;BR /&gt;End try&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andre Koepplin&lt;BR /&gt;Business Process Analyst&lt;BR /&gt;Wroclaw&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Sep 2019 06:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92422#M42211</guid>
      <dc:creator>AndreKöpplin</dc:creator>
      <dc:date>2019-09-20T06:27:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92423#M42212</link>
      <description>Instead of myItem.From, try myItem.SentOnBehalfOfName .&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ami Barrett&lt;BR /&gt;Lead RPA Software Developer&lt;BR /&gt;Solai &amp;amp; Cameron&lt;BR /&gt;America/Chicago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Sep 2019 17:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92423#M42212</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-09-23T17:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92424#M42213</link>
      <description>Hi Ami - thanks for this, it worked for me too which is great and helped me resolve an urgent issue! I was wondering, is there a way to get confirmation that the email did actually send? I inputted an address incorrectly and the action completed fine but it was not actually received but it wasn't flagged at all within BP as an exception or an error?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sophie Katherine Smith&lt;BR /&gt;HR Systems, Data and Quality Assurance Manager&lt;BR /&gt;Arup&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Sep 2020 12:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92424#M42213</guid>
      <dc:creator>Sophie_Katherin</dc:creator>
      <dc:date>2020-09-24T12:31:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92425#M42214</link>
      <description>Hey, Sophie -&amp;nbsp;&lt;BR /&gt;Typically, if an invalid address is specified, Outlook will still successfully send the message. In cases like this, the postmaster/daemon would handle the invalid recipient and send back a message stating that the destination would be invalid. I would think the only way to validate programmatically, is to check for a bounced e-mail in the inbox.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ami Barrett&lt;BR /&gt;Sr Product Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Plano, TX&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Sep 2020 15:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92425#M42214</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2020-09-24T15:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Outlook VBO</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92426#M42215</link>
      <description>ah ok yes good point - thanks!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sophie Katherine Smith&lt;BR /&gt;HR Systems, Data and Quality Assurance Manager&lt;BR /&gt;Arup&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Sep 2020 15:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Outlook-VBO/m-p/92426#M42215</guid>
      <dc:creator>Sophie_Katherin</dc:creator>
      <dc:date>2020-09-24T15:31:00Z</dc:date>
    </item>
  </channel>
</rss>

