[FX.php List] Pegging the CPU with PHPMailer

Ben Bradley ben at batfastad.com
Fri May 16 08:03:33 MDT 2008


Rather than using PHPMailer, definitely take a look at SwiftMailer...
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 <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
> jonathan at exit445.com
> http://www.exit445.com
> 415-381-1852
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20080516/84e73d50/attachment.html


More information about the FX.php_List mailing list