[wp-trac] [WordPress Trac] #25319: Preg_match() in class-phpmailer.php is causing timeout

WordPress Trac noreply at wordpress.org
Thu Oct 3 14:47:38 UTC 2013


#25319: Preg_match() in class-phpmailer.php is causing timeout
--------------------------------+--------------------
 Reporter:  nicktc              |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  3.6.2
Component:  External Libraries  |     Version:  3.6
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch         |
--------------------------------+--------------------

Comment (by jlambe):

 Hi,

 I was not able to reproduce the "error" with my settings.


 {{{
 string(5) "5.4.6"
 string(15) "8.12 2011-01-15"
 string(7) "1000000"
 string(6) "100000"
 }}}

 The regular expression performs fast and return (int)1

 Also I've tested the latest class of PHPMailer as suggested by MattyRob
 and used the 'validateAdress()' method and everything seems to work
 properly and fast.

 Are you sure it's coming from the core and not by using the plugin Contact
 Form 7 ? May be it's their AJAX call to send the email that takes time ?
 Also check you're hosting provider if they don't set limitations with php
 mail.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25319#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list