[FX.php List] [OFF] Slow response when sending PHP email?
Denis Somar
dsomar at gmail.com
Wed May 8 17:45:26 MDT 2013
On that note, anyone have any Ajax examples with fx? I really need to add
some to some fx projects.
Cheers
Denis
On Wednesday, May 8, 2013, Tim 'Webko' Booth wrote:
> Yep, AJAX or similar is the way to go.
>
> Do basic php set up. Send page back with an AJAX call that triggers the
> actual sending of mail, and return the AJAX results into a div on the page
> (if required)
>
>
> On 9 May 2013 08:09, Joel Shapiro <jsfmp at earthlink.net <javascript:_e({},
> 'cvml', 'jsfmp at earthlink.net');>> wrote:
>
>> Hi all
>>
>> I haven't needed to send mail from PHP for a while but I may need to do
>> so in an upcoming project.
>>
>> One thing that has bothered me when I've used an email library (Swift
>> Mailer or PHPMailer) is that it seems to take quite a long time (3+/-
>> seconds) for the mail to send, thus delaying the loading of the 'results'
>> page. I understand that this way I can check for failed sending, but I
>> generally don't want to delay things for the end user for that -- and I'd
>> rather deal w/ them behind the scenes, on the server end.
>>
>> How do others here deal with this? Is there a way to off-load the email
>> sending so that the user gets a quick response to their submission? AJAX
>> perhaps?
>>
>> TIA,
>> -Joel
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org <javascript:_e({}, 'cvml',
>> '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://mail.iviking.org/pipermail/fx.php_list/attachments/20130508/780eae67/attachment.html
More information about the FX.php_List
mailing list