
I'm sending mails by looping a csv file in Joomla. The first batch of about 120 emails were sent without a problem. The next batch of about 130 emails however didn't go anywhere. Seems the mails must have been blocked somewhere. How can I find out exactly where and how can this be prevented? Is it possible to send mails in a loop without a problem? -- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka

check if you have been black listed ... 120 mails at a go that will surely have you black listed On Tue, Dec 13, 2011 at 11:38 AM, Samuel Waithaka <samwaithaka@gmail.com>wrote:
I'm sending mails by looping a csv file in Joomla. The first batch of about 120 emails were sent without a problem. The next batch of about 130 emails however didn't go anywhere. Seems the mails must have been blocked somewhere.
How can I find out exactly where and how can this be prevented? Is it possible to send mails in a loop without a problem?
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- GG

Some providers allow u a certain max emails per hr Sent from my iPhone On 13 Dec 2011, at 12:17, geoffrey gitagia <ggitagia@gmail.com> wrote:
check if you have been black listed ... 120 mails at a go that will surely have you black listed
On Tue, Dec 13, 2011 at 11:38 AM, Samuel Waithaka <samwaithaka@gmail.com> wrote: I'm sending mails by looping a csv file in Joomla. The first batch of about 120 emails were sent without a problem. The next batch of about 130 emails however didn't go anywhere. Seems the mails must have been blocked somewhere.
How can I find out exactly where and how can this be prevented? Is it possible to send mails in a loop without a problem?
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- GG
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

@Sam, Unfortunately your domain mail records may have been blacklisted for spam activity. You need to check this first and get it whitelisted. The simplest way out is to code in a counter/timer function so that the emails go at a pre-determined rate but not in a continuos pattern, or find bulk emailing provider. HTHs. On Tue, Dec 13, 2011 at 11:38 AM, Samuel Waithaka <samwaithaka@gmail.com>wrote:
I'm sending mails by looping a csv file in Joomla. The first batch of about 120 emails were sent without a problem. The next batch of about 130 emails however didn't go anywhere. Seems the mails must have been blocked somewhere.
How can I find out exactly where and how can this be prevented? Is it possible to send mails in a loop without a problem?
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka

Thanks Aki, Geoffrey. Seems that's a precaution I overlooked. That's quite helpful. Let me start working at it. On Tue, Dec 13, 2011 at 12:31 PM, aki <aki275@gmail.com> wrote:
@Sam,
Unfortunately your domain mail records may have been blacklisted for spam activity. You need to check this first and get it whitelisted. The simplest way out is to code in a counter/timer function so that the emails go at a pre-determined rate but not in a continuos pattern, or find bulk emailing provider.
HTHs.
On Tue, Dec 13, 2011 at 11:38 AM, Samuel Waithaka <samwaithaka@gmail.com>wrote:
I'm sending mails by looping a csv file in Joomla. The first batch of about 120 emails were sent without a problem. The next batch of about 130 emails however didn't go anywhere. Seems the mails must have been blocked somewhere.
How can I find out exactly where and how can this be prevented? Is it possible to send mails in a loop without a problem?
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka

Use PEAR's Mail_queue Sent from my BlackBerry® smartphone provided by Airtel Kenya -----Original Message----- From: Samuel Waithaka <samwaithaka@gmail.com> Sender: skunkworks-bounces@lists.my.co.ke Date: Tue, 13 Dec 2011 13:26:36 To: Skunkworks Mailing List<skunkworks@lists.my.co.ke> Reply-To: Skunkworks Mailing List <skunkworks@lists.my.co.ke> Subject: Re: [Skunkworks] Sending Email in a Loop _______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://orion.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

Create a custom plugin/class and use phpmailer On Tue, Dec 13, 2011 at 2:14 PM, Mulutu Jackson <mulutujackson@gmail.com>wrote:
Use PEAR's Mail_queue Sent from my BlackBerry® smartphone provided by Airtel Kenya
-----Original Message----- From: Samuel Waithaka <samwaithaka@gmail.com> Sender: skunkworks-bounces@lists.my.co.ke Date: Tue, 13 Dec 2011 13:26:36 To: Skunkworks Mailing List<skunkworks@lists.my.co.ke> Reply-To: Skunkworks Mailing List <skunkworks@lists.my.co.ke> Subject: Re: [Skunkworks] Sending Email in a Loop
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke _______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

@Jackson, things were seemingly easy with JUtility but it appears the party's about to end.. On Tue, Dec 13, 2011 at 2:14 PM, Mulutu Jackson <mulutujackson@gmail.com>wrote:
Use PEAR's Mail_queue Sent from my BlackBerry® smartphone provided by Airtel Kenya
-----Original Message----- From: Samuel Waithaka <samwaithaka@gmail.com> Sender: skunkworks-bounces@lists.my.co.ke Date: Tue, 13 Dec 2011 13:26:36 To: Skunkworks Mailing List<skunkworks@lists.my.co.ke> Reply-To: Skunkworks Mailing List <skunkworks@lists.my.co.ke> Subject: Re: [Skunkworks] Sending Email in a Loop
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke _______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka

I am guessing you are using the mail() function. If so, you should know that that function is meant for a few emails at a time. If you want to sends lots of emails, you might want to have a look at the phpmailer class.
From http://php.net/manual/en/function.mail.php, they say:
"*Note: * * It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient. * * * * For the sending of large amounts of email, see the » PEAR::Mail<http://pear.php.net/package/Mail>, and » PEAR::Mail_Queue <http://pear.php.net/package/Mail_Queue> packages.*" However, if you still want to use the mail function, you can introduce some sort of delay within the loop, for example using the sleep() function, so that there is an acceptable delay between each call to the mail function. On Tue, Dec 13, 2011 at 12:31 PM, aki <aki275@gmail.com> wrote:
@Sam,
Unfortunately your domain mail records may have been blacklisted for spam activity. You need to check this first and get it whitelisted. The simplest way out is to code in a counter/timer function so that the emails go at a pre-determined rate but not in a continuos pattern, or find bulk emailing provider.
HTHs.
On Tue, Dec 13, 2011 at 11:38 AM, Samuel Waithaka <samwaithaka@gmail.com>wrote:
I'm sending mails by looping a csv file in Joomla. The first batch of about 120 emails were sent without a problem. The next batch of about 130 emails however didn't go anywhere. Seems the mails must have been blocked somewhere.
How can I find out exactly where and how can this be prevented? Is it possible to send mails in a loop without a problem?
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

@Washington, the app is on remote server (hosted). That would require following up with the hosting service support? There are some logs (tools available from cpanel) but nothing much about mail logs. @Peter, used Joomla's JUtility. Not sure how that would compare to PHPMailer. Or even PEAR.. On Tue, Dec 13, 2011 at 2:10 PM, Peter Karunyu <pkarunyu@gmail.com> wrote:
I am guessing you are using the mail() function. If so, you should know that that function is meant for a few emails at a time. If you want to sends lots of emails, you might want to have a look at the phpmailer class.
From http://php.net/manual/en/function.mail.php, they say:
"*Note: *
* It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient. * * *
* For the sending of large amounts of email, see the » PEAR::Mail<http://pear.php.net/package/Mail>, and » PEAR::Mail_Queue <http://pear.php.net/package/Mail_Queue> packages.* "
However, if you still want to use the mail function, you can introduce some sort of delay within the loop, for example using the sleep() function, so that there is an acceptable delay between each call to the mail function.
On Tue, Dec 13, 2011 at 12:31 PM, aki <aki275@gmail.com> wrote:
@Sam,
Unfortunately your domain mail records may have been blacklisted for spam activity. You need to check this first and get it whitelisted. The simplest way out is to code in a counter/timer function so that the emails go at a pre-determined rate but not in a continuos pattern, or find bulk emailing provider.
HTHs.
On Tue, Dec 13, 2011 at 11:38 AM, Samuel Waithaka <samwaithaka@gmail.com>wrote:
I'm sending mails by looping a csv file in Joomla. The first batch of about 120 emails were sent without a problem. The next batch of about 130 emails however didn't go anywhere. Seems the mails must have been blocked somewhere.
How can I find out exactly where and how can this be prevented? Is it possible to send mails in a loop without a problem?
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Samuel Waithaka http://www.linkedin.com/in/waithaka http://twitter.com/samwaithaka

On Tue, Dec 13, 2011 at 11:38, Samuel Waithaka <samwaithaka@gmail.com>wrote:
I'm sending mails by looping a csv file in Joomla. The first batch of about 120 emails were sent without a problem. The next batch of about 130 emails however didn't go anywhere. Seems the mails must have been blocked somewhere.
How can I find out exactly where and how can this be prevented? Is it possible to send mails in a loop without a problem?
Very easy. Ask the admin of the SMTP server to tell you what happened. S/He can see everything in the logs. With some level of logging, you should also be able to see from your application's logs what it says... Logging is/as a means to diagnostics and problem visualization:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email.
participants (8)
-
aki
-
Bernard Kioko
-
geoffrey gitagia
-
Mulutu Jackson
-
Odhiambo Washington
-
Paul Kevin
-
Peter Karunyu
-
Samuel Waithaka