Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

PHPMailer Connect to SMTP server so slowly

Discussion in 'E-mail Discussion' started by fatihguler, Feb 17, 2015.

  1. fatihguler

    fatihguler Registered

    Joined:
    Feb 17, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    i'm using PHPMailer to send mail from my webpage. But it's too slow.

    Code:
    SMTPDebug
    
    2015-01-15 23:43:51 Connection: opening to srv1.xxx.net:25, t=30, opt=array ( ) 
    [B]2015-01-15 23:43:51[/B] Connection: opened 
    [B]2015-01-15 23:46:11[/B] SERVER -> CLIENT: 220-srv1.xxx.net ESMTP Exim 4.84 #2 Fri, 16 Jan 2015 01:46:11 +0200 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. 
    2015-01-15 23:46:11 CLIENT -> SERVER: EHLO localhost 
    2015-01-15 23:46:11 SERVER -> CLIENT: 250-srv1.xxx.net Hello localhost [xx.yyy.xx.yyy] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP 
    2015-01-15 23:46:11 CLIENT -> SERVER: AUTH LOGIN 
    2015-01-15 23:46:11 SERVER -> CLIENT: 334 VXNlcmsdsds5hbWU6 
    2015-01-15 23:46:11 CLIENT -> SERVER: YmlsZ2lsdAcmVyZXJsdsdsdlsdcmFyYXJhLm5ldA== 
    2015-01-15 23:46:11 SERVER -> CLIENT: 334 UGFsdsdzc3dvcmQ6 
    2015-01-15 23:46:11 CLIENT -> SERVER: U0ZHdWxlsdsdcis3NDg1 
    2015-01-15 23:46:11 SERVER -> CLIENT: 235 Authentication succeeded Connected ok!
    2015-01-15 23:46:11 CLIENT -> SERVER: QUIT 
    2015-01-15 23:46:11 SERVER -> CLIENT: 221 srv1.xxx.net closing connection 
    2015-01-15 23:46:11 Connection: closed 
    CENTOS 6.6 x86_64, WHM 11.48.0 (build 11) , Apache/2.2.25 (Unix), PHP 5.4.17

    it's finish in 140 seconds each time.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,696
    Likes Received:
    1,789
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Is it slow when sending to any remote mail server, or is it isolated to a single server?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice