2 Replies - 1327 Views - Last Post: 02 August 2011 - 07:03 PM Rate Topic: -----

#1 indysolo621  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 46
  • Joined: 29-November 10

Fastest Way To Send Emails Through PHP?

Posted 02 August 2011 - 04:22 PM

I am trying to send emails through PHP. I am using the php mail() function but it takes AWHILE to arrive. Sometimes up to hours. That is way to long to wait for something simple like an email confirmation. So I am wondering what is the fastest way to send emails using PHP? And how long would this method take? Thank you!
Is This A Good Question/Topic? 0
  • +

Replies To: Fastest Way To Send Emails Through PHP?

#2 maniacalsounds  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 117
  • View blog
  • Posts: 472
  • Joined: 27-June 10

Re: Fastest Way To Send Emails Through PHP?

Posted 02 August 2011 - 04:43 PM

mail() should not take hours to send. Perhaps it has something to do with the mail's priority or the queue. Google "PHP mail function too slow" for possible causes.

It's probably:
  • headers
  • priority
  • the queue


I hope this helped!
Was This Post Helpful? 0
  • +
  • -

#3 indysolo621  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 46
  • Joined: 29-November 10

Re: Fastest Way To Send Emails Through PHP?

Posted 02 August 2011 - 07:03 PM

Finally fixed it! Thank you :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1