It is interesting to find out in the following linkthat gmail can process 1000 emails per 55 minutes. I was considering 1 per second or 60 per 1 minute or 3600 per hour (or faster of course lol) but the test was using php and it gave a gap of 3-4 per email.
Their code is this:
<?php
require("PHPMailer/class.phpmailer.php");
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->Host = "smtp.gmail.com";
$mail->SMTPAuth = true;
$mail->Username = 'USERNAME';
$mail->Password = 'PASSWORD';
$mail->From = "go...@email.com";
$mail->FromName = "Gmail Test";
$mail->AddAddress("m...@email.com");
for($i=0; $i<=1000; $i++){
$date = date("H:i:s m/d/Y");
$mail->Subject = "$date";
$mail->Body = "Test $i of PHPMailer.";
if(!$mail->Send()){
echo "Error sending: " . $mail->ErrorInfo;
break;
}else{
echo "$i. E-mail sent => $date<BR>";
sleep(2);
continue;
}
}
?>
I am interested in learning this from EA code for sending emails but where do I find them?