The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Connect to SMTP so slowly (PhpMailer)

Discussion in 'E-mail Discussions' started by onuryurdusever, Jul 28, 2015.

  1. onuryurdusever

    onuryurdusever Registered

    Joined:
    Jul 28, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Turkey
    cPanel Access Level:
    Root Administrator
    Hi,

    I tried to send mail 2-3 lines, size small, but mail is going very slow. (7-30 sec.)

    Mail was going too fast on the old server with the same code but very slow now.

    I think the problem in cPanel settings, because the my code was working fine in my old reseller. Now i have VDS. (CENTOS 6.6 x86_64, WHM 11.50.0 (build 27), Apache 2.4, PHP 5.4)

    My code is here : [Removed]
    Exim Log is here : [Removed]

    How do i solve this problem?

    If I did expressive language disorder, I apologize for my english. :)

    Onur Yurdusever.
     
    #1 onuryurdusever, Jul 28, 2015
    Last edited by a moderator: Jul 31, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's possible the VPS is allotted less resources than were available on the shared host. Do you notice delays when sending the emails manually through an email client, or is it only when sending through a PHP script? Does the server load increase when sending the emails through the script?

    Thank you.
     
Loading...

Share This Page