I have a php script which requires phpmailer and I got it to work already but I need to send the email to 3000 persons. How do I do that? I've tried searching over the net but all the examples show only to enumerate the emails addresses. Mine comes from a database with queries. I have the following code : $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host = 'ssl://smtp.gmail.com'; $mail->SMTPAuth = true; $mail->SMTPKeepAlive = true; $mail->Port = 465; $mail->Username = "my@gmail.com"; $mail->Password = "password"; $mail->SetFrom('my@email.com', 'First Last'); $to = "my@gmail.com"; $mail->AddAddress('$to',"First Last"); $mail->Subject = "Test Mail"; $message = "messages go here"; …

Member Avatar
Member Avatar
+0 forum 9

I have a working mailer script which has already started sending out mails. We need to send an email message to approximately 5,000 email addresses. I have a few problems though. 1.) It's sending out really slow. I'm guessing it's the embedding? The image is 300+kb big, is it supposed to slow the sending down like that? The mail is sending like 3 emails per minute. And it's going to take a lot of time if we want to send the email to 5000 recipients. The code is something like this: $mail->AddEmbeddedImage("rocks.png", "my-attach", "rocks.png"); $mail->Body = 'Embedded Image: <img src="cid:my-attach"> …

Member Avatar
Member Avatar
+0 forum 8

The End.