<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Support &#8211; Digital Metaphors</title>
	<atom:link href="https://www.digital-metaphors.com/category/support/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.digital-metaphors.com</link>
	<description></description>
	<lastBuildDate>Wed, 05 Jan 2022 18:46:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.digital-metaphors.com/wp-content/uploads/2018/03/cropped-FavIcon-32x32.png</url>
	<title>Support &#8211; Digital Metaphors</title>
	<link>https://www.digital-metaphors.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>TLS Version and Indy</title>
		<link>https://www.digital-metaphors.com/tls-version-and-indy/</link>
		
		<dc:creator><![CDATA[Nico Cizik]]></dc:creator>
		<pubDate>Wed, 05 Jan 2022 18:46:40 +0000</pubDate>
				<category><![CDATA[Features]]></category>
		<category><![CDATA[Support]]></category>
		<guid isPermaLink="false">http://www.digital-metaphors.com/?p=18167</guid>

					<description><![CDATA[&#160; I was recently asked if the ReportBuilder Indy email plugin supports TLS version 1.2. The answer depended on whether Indy supports TLS 1.2, which thankfully it does! Many email providers (i.e. Gmail and Outlook) are now requiring the use of this version to connect to their SMTP servers. After researching a bit, I found [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>
<p><img fetchpriority="high" decoding="async" class="alignleft size-medium wp-image-18166" src="https://www.digital-metaphors.com/wp-content/uploads/2022/01/Handshake--296x300.jpg" alt="TLS Handshake" width="296" height="300" srcset="https://www.digital-metaphors.com/wp-content/uploads/2022/01/Handshake--296x300.jpg 296w, https://www.digital-metaphors.com/wp-content/uploads/2022/01/Handshake-.jpg 338w" sizes="(max-width: 296px) 100vw, 296px" />I was recently asked if the ReportBuilder Indy email plugin supports <a href="https://en.wikipedia.org/wiki/Transport_Layer_Security">TLS</a> version 1.2. The answer depended on whether Indy supports TLS 1.2, which thankfully it does! Many email providers (i.e. Gmail and Outlook) are now requiring the use of this version to connect to their SMTP servers. After researching a bit, I found that while Indy does support the use of TLS 1.2, it is not the default. Below are my findings and some sample code get this working with the current version of ReportBuilder (21.01).</p>
<p>When connecting directly to a secure SMPT server with the ReportBuilder Indy email plugin, it is necessary to set the EmailSettings.ConnectionSettings.UseTLS property to True. It is also necessary for the latest <a href="https://indy.fulgan.com/SSL/">OpenSSL</a> .dll files to be accessible to the application executable. (See the UseTLS topic in the installed RB help for more information).</p>
<p>With UseTLS set to True, an IOHandler is automatically created to make the secure connection to the server using OpenSSL. Problems can arise with newer servers as Indy uses TLS 1.0 as its default security protocol. To change this in ReportBuilder, you can use the Report.BeforePrint event to access the TidSMTP object in code.</p><pre class="crayon-plain-tag">uses
ppSMTPIndy10, ppEmail, IdSSLOpenSSL, IdSMTP;

...

procedure TForm1.ppReport1BeforePrint(Sender: TObject);
var
  lEmail: TppEmail;
  lSMTP: TIdSMTP;
begin

  lEmail := TppEmail(ppReport1.Email);
  lSMTP := TppSMTPIndy(lEmail.SMTP).IndySMTP;

  TIdSSLIOHandlerSocketOpenSSL(lSMTP.IOHandler).SSLOptions.Method := sslvTLSv1_2;

end;</pre><p><strong>Note:</strong> For now, the BeforePrint event works because it fires after the SMTP plugin is setup but before it attempts to connect to the server. For a future release of ReportBuilder, I believe a new event should be added to the plugin that fires before the connection is made which would allow logical separation of email related code and report event code.</p>
<p>Another option is to create your own IO handler and assign its SSL options. For this option to function, the UseTLS property must be set to False as the developer is taking care of creating the IO handler manually.</p><pre class="crayon-plain-tag">uses
ppSMTPIndy10, ppEmail, IdSSLOpenSSL, IdExplicitTLSClientServerBase;

...

var
  lEmail: TppEmail;
  lSMTP: TidSMTP;
  lIOHandler: TIdSSLIOHandlerSocketOpenSSL;
begin

  ppReport1.EmailSettings.ConnectionSettings.Port := 587;
  ppReport1.EmailSettings.ConnectionSettings.UseTLS := False;

  lEmail := TppEmail(ppReport1.Email);
  lSMTP := TppSMTPIndy(lEmail.SMTP).IndySMTP;

  lIOHandler := TIdSSLIOHandlerSocketOpenSSL.Create(lSMTP);

  try
    lIOHandler.SSLOptions.Method := sslvTLSv1_2;

    lSMTP.IOHandler := lIOHandler;
    lSMTP.UseTLS := utUseExplicitTLS;

    ppReport1.SendMail;

  finally
    lIOHandler.Free;
  end;

end;</pre><p>Hopefully this gives you a better idea how to enable TLS 1.2 for the ReportBuilder Indy email plugin.  The main take-away here is that the underlying Indy TidSMTP object is easily accessible from ReportBuilder allowing for complete customization. For more information about customizing Indy from ReportBuilder, see the following Wiki article.</p>
<p>Happy Reporting!</p>
<blockquote class="wp-embedded-content" data-secret="kd3xj4cBBA"><p><a href="http://rbWiki.digital-metaphors.com/output/email/how-to-customize-indy-email-settings/">How To&#8230;Customize Indy Email Settings</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  src="http://rbWiki.digital-metaphors.com/output/email/how-to-customize-indy-email-settings/embed/#?secret=kd3xj4cBBA" data-secret="kd3xj4cBBA" width="600" height="338" title="&#8220;How To&#8230;Customize Indy Email Settings&#8221; &#8212; rbWiki" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>New ReportBuilder Support Forums!</title>
		<link>https://www.digital-metaphors.com/new-reportbuilder-support-forums/</link>
		
		<dc:creator><![CDATA[Nico Cizik]]></dc:creator>
		<pubDate>Tue, 06 Mar 2018 22:31:05 +0000</pubDate>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Support]]></category>
		<guid isPermaLink="false">http://www.digital-metaphors.com/?p=2358</guid>

					<description><![CDATA[Along with the introduction of our new web site we would like to introduce the ReportBuilder Support Forums! The support forums provide a fast and friendly way to communicate with Digital Metaphors engineers and the ReportBuilder community.  Use it to ask questions, get support, and find the latest information about ReportBuilder releases and fixes. Support [&#8230;]]]></description>
										<content:encoded><![CDATA[<p class="p1"><a href="https://www.digital-metaphors.com/forums"><img decoding="async" class="size-full wp-image-2367 alignright" src="https://www.digital-metaphors.com/wp-content/uploads/2018/03/Screen-Shot-2018-03-06-at-3.09.42-PM.png" alt="Screen Shot 2018-03-06 at 3.09.42 PM" width="437" height="410" srcset="https://www.digital-metaphors.com/wp-content/uploads/2018/03/Screen-Shot-2018-03-06-at-3.09.42-PM.png 437w, https://www.digital-metaphors.com/wp-content/uploads/2018/03/Screen-Shot-2018-03-06-at-3.09.42-PM-300x281.png 300w" sizes="(max-width: 437px) 100vw, 437px" /></a></p>
<p class="p1">Along with the introduction of our new web site we would like to introduce the <a href="https://www.digital-metaphors.com/forums">ReportBuilder Support Forums</a>!</p>
<p class="p1">The support forums provide a fast and friendly way to communicate with Digital Metaphors engineers and the ReportBuilder community.<span class="Apple-converted-space">  </span>Use it to ask questions, get support, and find the latest information about ReportBuilder releases and fixes.</p>
<p class="p1"><strong>Support Forums in, Newsgroups Out</strong></p>
<p class="p1">The new on-line support forums replace our existing Usenet newsgroup server which has now been disabled.<span class="Apple-converted-space">  </span>The new forums contain the same topic categories as the newsgroups did so the transition is fairly easy.</p>
<p class="p1">We are also aware that there is a wealth of information on the old news server.<span class="Apple-converted-space">  </span>This is why we transferred all newsgroup threads to the new forum as archived messages which can be accessed and searched by anyone.</p>
<p class="p1"><strong>Sign up, Log in</strong></p>
<p class="p1">So the next thing to do is sign up for a forum account and log in to post your questions or comments.<span class="Apple-converted-space">  </span>Please be sure to read over the forum guidelines before posting.<span class="Apple-converted-space">  </span></p>
<p class="p1">Happy Reporting!</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
