The system is not processing all emails in the inbox, it's skipping a few emails from time to time.
I ran the following script to send my osticket e-mail id some test mails in the following manner:
$my_headers = "MIME-Version: 1.0\r\n";
$my_headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$my_headers .= "From: my-email-address@gmail.com \r\n";
for($i=0; $i{
mail("my osticket email id","Test - $i", "New E-mail no: $i", $my_headers);
}
Out of the 30 emails I receive, only around 20-25 get processed but all the emails come in the inbox. It's kind of weird, I would think that all emails will be processed.
In the next scenario, I removed "$my_headers" from the mail function and while all 30 emails came in the inbox, in this scenario, not a single email was shown in osticket.
Is there some problem with the way the script is processing emails?
Using an IMAP account on a gmal server for my osticket id and emails are processed by cron every minute.
Has anyone ever faced a problem like this? Or any possible solutions? Please help.