0

i am trying to read mail header. i received more than 400 daily to whom i have to read, my execution time is 300sec, it shows me

Fatal error: Maximum execution time of 300 seconds exceeded

is there is any other way to read header fast, help me to solve the issue thank you

Paritosh Mahale
  • 1,238
  • 2
  • 14
  • 42
  • 3
    Possible duplicate of [Fatal error: Maximum execution time of 300 seconds exceeded](http://stackoverflow.com/questions/7680572/fatal-error-maximum-execution-time-of-300-seconds-exceeded) – roberto06 Nov 29 '16 at 10:36

2 Answers2

0

You can bypass execution time with :

set_time_limit(0); // unlimited execution time.

If you are searching a fast IMAP Mail Client you can use :

https://github.com/SSilence/php-imap-client

aprogrammer
  • 1,764
  • 1
  • 10
  • 20
0

Increase Time Heimphp.ini argument set_time_limit(). Exemple: Change to

set_time_limit(0)

Restart the server