<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>New PHP8.2 error (Swift Mailer 5)</title>
        <link>https://interactivetools.com/forum/forum-posts.php?New-PHP8_2-error-Swift-Mailer-5-82650</link>
        <description></description>
        <pubDate>Sun, 14 Jun 2026 10:00:30 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;New-PHP8_2-error-Swift-Mailer-5-82650" rel="self" type="application/rss+xml" />

                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246747#post2246747</link>
          <description><![CDATA[<p>For everyone who was asking about a Swiftmailer replacement, we've switched to PHPMailer in the current beta.  You can find out more here:<br /><a href="https://www.interactivetools.com/forum/forum-posts.php?CMSB-v3.62-Beta-1---New-Mailer-and-Improved-Section-Editor-Sorting-82714" rel="nofollow">https://www.interactivetools.com/forum/forum-posts.php?CMSB-v3.62-Beta-1---New-Mailer-and-Improved-Section-Editor-Sorting-82714</a></p>
<p>Thanks for your feedback and suggestions!</p>]]></description>
          <pubDate>Fri, 06 Oct 2023 18:33:18 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246747#post2246747</guid>
        </item>
                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246523#post2246523</link>
          <description><![CDATA[<p>Done! Thanks! :)</p>]]></description>
          <pubDate>Mon, 01 May 2023 01:48:39 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246523#post2246523</guid>
        </item>
                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246522#post2246522</link>
          <description><![CDATA[<p>Hi Djulia, </p>
<p>Can you try adding a @ above that line?  Like this:</p>
<pre class="language-php"><code>        @call_user_func_array(
            array($this, 'Swift_Mime_MimePart::__construct'),</code></pre>
<p>We'll release an update shortly with all these patches as well.</p>
<p>Thanks!</p>]]></description>
          <pubDate>Sun, 30 Apr 2023 18:49:51 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246522#post2246522</guid>
        </item>
                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246521#post2246521</link>
          <description><![CDATA[<p>Hi Dave,</p>
<p><span class="HwtZe"><span class="jCAhz ChMk0b"><span class="ryNqvb">I have another alert :</span></span></span></p>
<p>Callables of the form ["Swift_MimePart", "Swift_Mime_MimePart::__construct"] are deprecated<br />../3rdParty/SwiftMailer5/classes/Swift/MimePart.php (line 30).</p>
<p>Thanks,</p>
<p>Djulia</p>]]></description>
          <pubDate>Sat, 29 Apr 2023 11:43:40 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246521#post2246521</guid>
        </item>
                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246494#post2246494</link>
          <description><![CDATA[<p><span class="HwtZe"><span class="jCAhz ChMk0b"><span class="ryNqvb">Perfect!</span></span> <span class="jCAhz ChMk0b"><span class="ryNqvb">Thanks! :)</span></span></span></p>]]></description>
          <pubDate>Wed, 05 Apr 2023 00:19:10 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246494#post2246494</guid>
        </item>
                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246490#post2246490</link>
          <description><![CDATA[<p>Thanks Djulia, </p>
<p>Can you check if adding a @ to @call_user_func_array( on line 27 suppresses the deprecated error? </p>]]></description>
          <pubDate>Mon, 03 Apr 2023 21:40:46 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246490#post2246490</guid>
        </item>
                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246483#post2246483</link>
          <description><![CDATA[<p>Hi Dave,</p>
<p><span class="HwtZe"><span class="jCAhz ChMk0b"><span class="ryNqvb">I have this alert with PHP 8.2</span></span></span> (v3.58 (Build 2316) :</p>
<p>Callables of the form ["Swift_MailTransport", "Swift_Transport_MailTransport::__construct"] are deprecated<br />.../3rdParty/SwiftMailer5/classes/Swift/MailTransport.php (line 28)</p>
<p>Thanks,<br />Djulia</p>]]></description>
          <pubDate>Thu, 30 Mar 2023 12:17:23 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246483#post2246483</guid>
        </item>
                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246476#post2246476</link>
          <description><![CDATA[<p>Hi Zaba, </p>
<p>Great, thanks for checking and following up!  If you run into any other issues just let us know.</p>
<p>Cheers!</p>]]></description>
          <pubDate>Wed, 22 Mar 2023 15:25:44 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246476#post2246476</guid>
        </item>
                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246475#post2246475</link>
          <description><![CDATA[<p>Sorry Dave,</p>
<p>I have been up against it.</p>

<p>I have done a clean install of the latest release of CMSB 3_58_build2316 On PHP 8.2,</p>
<p>Added email credentials to "Email Settings" in CMSB and performed a Password Reset. </p>
<p><strong>I can confirm that no errors were reported and everything works perfectly!</strong></p>
<p>Thanks again Dave</p>


]]></description>
          <pubDate>Wed, 22 Mar 2023 12:00:48 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246475#post2246475</guid>
        </item>
                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246473#post2246473</link>
          <description><![CDATA[<p>Hi Zaba, </p>
<p>Can you try the latest release and let me know if you find any other issues?  Thanks!</p>
<p><a href="https://www.interactivetools.com/forum/forum-posts.php?CMSB-v3.58-Released-Maintenance-Release-82656" rel="nofollow">https://www.interactivetools.com/forum/forum-posts.php?CMSB-v3.58-Released-Maintenance-Release-82656</a></p>]]></description>
          <pubDate>Fri, 17 Mar 2023 11:32:27 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246473#post2246473</guid>
        </item>
                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246469#post2246469</link>
          <description><![CDATA[<p>That's great Dave, I had to downgrade to PHP 7.4 as the job was about to go live. But I have many sites to upgrade in the coming months so will have the opportunity to test this very soon.</p>]]></description>
          <pubDate>Fri, 17 Mar 2023 00:53:17 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246469#post2246469</guid>
        </item>
                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246466#post2246466</link>
          <description><![CDATA[<p>Hi Zaba,</p>
<p>We're just about to release the next version and I'll get these patched for that.  If you get any errors with the new version let me know.</p>
<p>Thank you!</p>]]></description>
          <pubDate>Thu, 16 Mar 2023 15:40:05 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246466#post2246466</guid>
        </item>
                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246462#post2246462</link>
          <description><![CDATA[<p>Still problems</p>


<p>Deprecated: Callables of the form ["Swift_Message", "Swift_Mime_SimpleMessage::__construct"] are deprecated in /XXXXXX/public_html/cmsb/3rdParty/SwiftMailer5/classes/Swift/Message.php on line 46 Deprecated: Callables of the form ["Swift_SmtpTransport", "Swift_Transport_EsmtpTransport::__construct"] are deprecated in /XXXXXX/public_html/cmsb/3rdParty/SwiftMailer5/classes/Swift/SmtpTransport.php on line 35 Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /XXXXXX/public_html/cmsb/3rdParty/SwiftMailer5/classes/Swift/Transport/EsmtpTransport.php on line 143 Warning: Cannot modify header information - headers already sent by (output started at /XXXXXX/public_html/cmsb/3rdParty/SwiftMailer5/classes/Swift/Message.php:46) in /XXXXXX/public_html/cmsb/lib/menus/header.php on line 4</p>]]></description>
          <pubDate>Thu, 09 Mar 2023 06:23:39 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246462#post2246462</guid>
        </item>
                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246456#post2246456</link>
          <description><![CDATA[<p>I am all for using symphony components. I already use some of them for my websites based on CMSB. </p>
<p>I use YAML and TWIG components particularly.</p>]]></description>
          <pubDate>Fri, 03 Mar 2023 10:28:11 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246456#post2246456</guid>
        </item>
                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246455#post2246455</link>
          <description><![CDATA[<p>Hi Zaba, </p>
<p>Thanks for the report.  You can try hiding that deprecated error by adding a @ before strtolower as follows: </p>
<p>/cmsb/3rdParty/SwiftMailer5/classes/Swift/Transport/Esmtp/AuthHandler.php (line 251)</p>
<pre class="language-php"><code>        if (!$mode = @strtolower($this-&gt;_auth_mode ?? '')) {</code></pre>
<p>Deprecated errors just mean the feature may be removed in the future.  </p>
<p>The mailer is due to be upgraded sometime soon, Symfony Mailer requires a lot of dependencies (many other libraries would need to be packaged with CMSB) and PHP 8.1 which everyone isn't on yet, but we're going to start looking into replacement options.  </p>]]></description>
          <pubDate>Thu, 02 Mar 2023 10:01:55 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246455#post2246455</guid>
        </item>
                <item>
          <title>New PHP8.2 error (Swift Mailer 5)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246454#post2246454</link>
          <description><![CDATA[<p>Just checked and...</p>
<p><strong>Swift Mailer will stop being maintained at the end of November 2021.</strong></p>
<p>Please, move to Symfony Mailer at your earliest convenience. Symfony Mailer is the next evolution of Swift Mailer. It provides the same features with support for modern PHP code and support for third-party providers.</p>

<p>this is the current issue I am facing....</p>
<p>I have encountered an error with PHP8.2 and Swiftmailer</p>

<pre class="language-markup"><code>#7122 - E_DEPRECATED: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated
/XXXXX/public_html/cmsb/3rdParty/SwiftMailer5/classes/Swift/Transport/Esmtp/AuthHandler.php (line 251)
</code></pre>]]></description>
          <pubDate>Thu, 02 Mar 2023 04:56:59 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246454#post2246454</guid>
        </item>
              </channel>
    </rss>
  