Jump to content

codiy

New Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by codiy

  1. this was a response I got Well, six seconds is around the high end of the usual threshold for PHP mail or mail sent via SMTP that is being sent out as a result of a contact form or script on the (gs) Grid-Service. As I previously mentioned, the Grid is a clustered type of server where resources from each server in the cluster are shared among customers. When PHP mail it sent out it is sent from any number of web nodes and not necessarily only from your (gs) Grid-Service itself, depending on load. If you need instantaneous sending capability it is recommended that you either further optimize your script, use a dedicated mailing service provider (such as MailChimp), or consider hosting on a VPS server where resources are not shared.
  2. ok the support guy asked me what time format that was?
  3. I just notice that when i click register the title in the browser says connecting then it says register complete
  4. if i remove the mail part from my code the site register and displays message at the snap...
  5. here is what it gave me after click register Time before sending mail is: 1482172764.5671 Time after sending mail is: 1482172770.7037 The time is Mon, 19 Dec 2016 10:39:24 -0800
  6. not sure I my host is media temple
  7. yes it seems as though it wants to send it instantly so it waits for the email to send before it displays the successful message is there anyway to prevent this? or trouble shoot?
  8. I have a user registration as well as a password recovery setup in php7 that I have got to work as I wanted. my problem is on registering or recovering a password I have it coded to send a message to the user ... it sends the email to user and registers no problem but the execution of the mail is extremely slow. I am trying to figure out a faster way of sending this.. So when the user fills out the register form and then click register it just sits and spends for a few sec then finally says registration complete. if i remove the code below which sends the email the site registers blazing fast. the below code sends the email with no problem other than the execution of it is slow not in receiving the email slow as in slows the execution on the site $from = "Mysite <noreply@mysite.com>"; $to = $email; $subject = "Registration"; $body_message = "Hello!\n\n\n\nThank you for registering. \n\nYou must verify the email address associated with your account. \n\n\nThis message was sent from an unmonitored account. Any responses will not be read.\nIf you have any questions or concerns, please contact support@mysite.net"; $headers = "From: $from\nReply-To: $from\nContent-Type: text/plain"; mb_send_mail($email, $subject, $body_message, $headers);
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.