I am using phpmailer to sent auto generated mails in my website which is using a sequences of open source softwares such as opencats phplist so on. So far i was using google smptp server to sent mails in at this way.

$mail->Host = "smtp.gmail.com";
//Set this to true if SMTP host requires authentication to send email
$mail->SMTPAuth = true;                          
//Provide username and password     
$mail->Username = "name@gmail.com";                 
$mail->Password = "super_secret_password";                           
//If SMTP requires TLS encryption then set it
$mail->SMTPSecure = "tls";                           
//Set TCP port to connect to 
$mail->Port = 587;   

So far everything seems working but google has a limitation of senting mails i have also tried mail() function of php but the mails are going to spam i have to sent 10000+ emails a day so is there any open source smtp server available which i can use with php mailer? I have dedicated digital ocean host in which i can host the same

Your Answer


Browse other questions tagged or ask your own question.