Jump to content

SMTP vs PHP Mail


Recommended Posts

I am still in the testing environment for my WHMCS install. I was running test for the checkout process and it was taking around 15-20+ seconds once you submit an order. I know that this is not going to be good for our customers and could cause issues moving forward.


I finally found something that fixes it - switching from SMTP to PHP Mail. I worry using PHP Mail since it does not have to authenticate with servers and can be viewed as spam. Obviously our clients must receive their emails or we will be chasing people around trying to get their account set up.


Does anyone have any experience with this? If we do use PHP Mail, is there a way to help avoid it being viewed as spam?



Link to comment
Share on other sites

My guess is that there is somthing else going on with the server regarding your SMTP, 15 to 20 seconds is a long time and it should not take that long. If it is completing the process then that points to the possibility that the server might be talking longer that it needs to, to accomplish this.

Link to comment
Share on other sites

could be alot of things sadly.. infopro here might have alittle better idea where to start, hopefully he will be done with his morning donut call and chime in LMAO...


do you have root access ? what firewall are you using? what version of mysql,php,apache,cpanel/whm ? cause he will probably ask you..



oh and how much memory do you have?

Link to comment
Share on other sites

@durangod - Thank you:


Firewall - ConfigServer Security & Firewall - csf v7.15

MySQL - 5.5.37-cll

php - 5.3.28

apache - 2.2.26

cPanel - 11.44.1


Hope this helps!


I am not sure which exact memory stats are needed, but I found this:


Memory Used 57.83% (587,724 of 1,016,284)

Edited by aspidagrant
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated