php - Joomla: Sending mail takes ages -


i have joomla website , running , need set simple contact form.

the problem is, whenever joomla tries send email, page hang minute before response. mail sent fine, delay way big. i've tried setting outgoing mail setting php mail, sendmail , smtp server, same effect.

curiously, if edit components/com_contact/controllers/contact.php , replace lines send mail simple call mail(), works fine.

using joomla 1.6.5, centos5 php 5.3.

anyone experienced similar? in advance!

(also, case stackoverflow or serverfault? seems borderline!)

updated: narrowed down phpmailer using uniqid generate boundary strings. seems on platforms, uniqid (without more_entropy flag) extremely slow.

if else ever comes across same problem, edit libraries/phpmailer/phpmailer.php , in first few lines of createheader() function, pass true second argument of uniqid(). seems have fixed it.

narrowed down phpmailer using uniqid generate boundary strings. seems on platforms, uniqid (without more_entropy flag) extremely slow.

if else ever comes across same problem, edit libraries/phpmailer/phpmailer.php , in first few lines of createheader() function, pass true second argument of uniqid(). seems have fixed it.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -