PHP Classes

Verifying Multiple Emails

Recommend this page to a friend!

      Verify e-mail  >  All threads  >  Verifying Multiple Emails  >  (Un) Subscribe thread alerts  
Subject:Verifying Multiple Emails
Summary:Using foreach to verify multiple emails
Messages:3
Author:bhtech
Date:2016-04-20 05:35:58
 

  1. Verifying Multiple Emails   Reply   Report abuse  
Picture of bhtech bhtech - 2016-04-20 05:35:58
Hi - this is exactly what I need, but I would like to check more emails at once.

I've created a foreach loop, and feeding in emails via a textarea, however only the last email address in the textarea list is being verified. All other emails just report 'incorrect e-mail', and then 'email not valid and not exist!'.

Can you advise what I might be doing wrong? Or another way I could check multiple emails at once?

Thanks

  2. Re: Verifying Multiple Emails   Reply   Report abuse  
Picture of Konstantin Granin Konstantin Granin - 2016-04-20 07:55:45 - In reply to message 1 from bhtech
Lots of servers has a great response time.
You need to increase the value of
$stream_timeout_wait
$stream_timeout
$max_connection_timeout

Make the script checks the crontab list.

my respect

  3. Re: Verifying Multiple Emails   Reply   Report abuse  
Picture of bhtech bhtech - 2016-04-20 23:10:04 - In reply to message 2 from Konstantin Granin
Hi Konstantin,

I believe I found the issue, I wasn't removing all extra characters from the textarea. I was removing '/n', but also had to remove '/r'. Once I revised my explode(), all emails were being checked correctly.

Thanks for you advice.