<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>I would like to use Swift Mailer.</title>
        <link>https://interactivetools.com/forum/forum-posts.php?I-would-like-to-use-Swift-Mailer_-80148</link>
        <description></description>
        <pubDate>Sun, 06 Sep 2026 02:38:17 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;I-would-like-to-use-Swift-Mailer_-80148" rel="self" type="application/rss+xml" />

                <item>
          <title>I would like to use Swift Mailer.</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2237078#post2237078</link>
          <description><![CDATA[<p>Thanks Dave for your prompt reply! </p>
<p>This looks very promising!</p>]]></description>
          <pubDate>Fri, 10 Jul 2015 14:54:02 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2237078#post2237078</guid>
        </item>
                <item>
          <title>I would like to use Swift Mailer.</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2237077#post2237077</link>
          <description><![CDATA[<p>And something else you might find helpful.  Go to: Admin &gt; Email Templates and select "Developers: Show sendMessage() PHP".  If you create an email template in that section it will generate the sendMessage() code for you.</p>]]></description>
          <pubDate>Fri, 10 Jul 2015 14:24:28 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2237077#post2237077</guid>
        </item>
                <item>
          <title>I would like to use Swift Mailer.</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2237076#post2237076</link>
          <description><![CDATA[<p>Hi Ron,</p>
<p>Our internal function is called sendMessage() and can be found in /lib/common.php.</p>
<p>Here's some examples from the function header:</p>
<p><code>// send an email message with attachments.<br />// If text _and_ html are specified the email client will decide what to display.<br />/*<br />  // Minimal Example:<br />  $errors = sendMessage(array(<br />    'from'    =&gt; "from@example.com",<br />    'to'      =&gt; "to@example.com",<br />    'subject' =&gt; "Enter subject here, supports utf-8 content",<br />    'text'    =&gt; "Text message content",<br />  ));<br />  if ($errors) { die($errors); }<br /><br />  // Full Featured Example:<br />  $errors = sendMessage(array(<br />    'from'    =&gt; "from@example.com",<br />    'to'      =&gt; "to@example.com",<br />    'subject' =&gt; "Enter subject here, supports utf-8 content",<br />    'text'    =&gt; "Text message content",<br />    'html'    =&gt; "&lt;b&gt;HTML&lt;/b&gt; message content",<br />    'headers' =&gt; array(<br />      "CC"          =&gt; "cc@example.com",<br />      "BCC"         =&gt; "bcc@example.com",<br />      "Reply-To"    =&gt; "rt@example.com",<br />      "Return-Path" =&gt; "rp@example.com",<br />    ),<br />    'attachments' =&gt; array(<br />      'simple.txt'  =&gt; 'A simple text file',<br />      'dynamic.csv' =&gt; $csvData,<br />      'archive.zip' =&gt; $binaryData,<br />      'image.jpg'   =&gt; file_get_contents($imagePath),<br />    ),<br />    //'disabled' =&gt; false, // set to true to disable sending of message<br />    //'logging' =&gt; false, // set to false to disable logging (if logging is already enabled) - used for background mailers<br />  ));<br />  if ($errors) { die($errors); }<br /></code></p>
<p>Hope that helps!  Let me know any questions.</p>]]></description>
          <pubDate>Fri, 10 Jul 2015 14:21:51 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2237076#post2237076</guid>
        </item>
                <item>
          <title>I would like to use Swift Mailer.</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2237075#post2237075</link>
          <description><![CDATA[<p>I have maoved some of my sites to a more secure server that requires SMTP authentication to send mail.  I have been using Machform embeded forms since it supports SMTP auth but would like to create some lighter forms with PHP using simple Bootstrap contact forms and use Swift Mailer that is now included with cmsb to send.  Do you have any examples or other information on how to accomplish this?</p>]]></description>
          <pubDate>Fri, 10 Jul 2015 13:29:04 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2237075#post2237075</guid>
        </item>
              </channel>
    </rss>
  