[FX.php List] Pegging the CPU with PHPMailer

Jonathan Schwartz jschwartz at exit445.com
Fri May 16 09:13:00 MDT 2008


Thanks for the suggestion, Ben,

Actually, PHPMailer is back, with a version 2.0 Beta available.

I *do* plan to look at SwiftMailer, but I need to resolve this issue now.

The issue being discussed now is a pure PHP one...or at least an 
fx.php/FMP/PHP one....before PHPMailer is even invoked.

Thx.

Jonathan


At 3:03 PM +0100 5/16/08, Ben Bradley wrote:
>Rather than using PHPMailer, definitely take a look at 
>SwiftMailer... <http://www.swiftmailer.org>www.swiftmailer.org
>I'm using it myself in a project right now!
>
>PHPMailer's no longer actively developed. SwiftMailer is loads more 
>efficient and has various plugins to throttle and control the 
>sending process.
>
>
>HTH
>Ben
>
>2008/5/16 Jonathan Schwartz 
><<mailto:jschwartz at exit445.com>jschwartz at exit445.com>:
>
>Argh!
>
>I'm still not getting this to work.
>
>While it does work as provided by ggt below, where the $htmlstring 
>is defined "live", it does not work if the string originates from a 
>FileMaker field.  In this case, the Instead, I get
>
>$name = $findData['name'][0];
>$htmlstring = $_SESSION['htmlstring'];
>echo <<<output
>$htmlstring
>output;
>
>OUTPUT:
>My name is {$name}.
>
>Adding the curly brackets to the input string don't make a difference.
>
>What am I doing wrong?
>
>Thanks
>
>Jonathan
>
>
>
>
>
>
>
>
>
>At 9:07 PM +0200 5/15/08, Gjermund Gusland Thorsen wrote:
>
>$name = $findData['name'][0];
>$htmlstring = "My name is {$name}.";
>
>echo <<<output
>$htmlstring
>output;
>
>
>
>
>
>
>
>
>--
>
>Jonathan Schwartz
>Exit 445 Group
><mailto:jonathan at exit445.com>jonathan at exit445.com
><http://www.exit445.com>http://www.exit445.com
>415-381-1852
>_______________________________________________
>
>FX.php_List mailing list
><mailto:FX.php_List at mail.iviking.org>FX.php_List at mail.iviking.org
><http://www.iviking.org/mailman/listinfo/fx.php_list>http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
>
>_______________________________________________
>FX.php_List mailing list
>FX.php_List at mail.iviking.org
>http://www.iviking.org/mailman/listinfo/fx.php_list


-- 
Jonathan Schwartz
Exit 445 Group
jonathan at exit445.com
http://www.exit445.com
415-381-1852
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20080516/5a9a0b7c/attachment-0001.html


More information about the FX.php_List mailing list