PDA

View Full Version : Problem in email sending program


bhakti_thakkar
04-08-2008, 02:58 PM
hi all,
i have a php page in which i have to send some bulk mails (around 18000 - 20000) to the email addresses which are stored in a table. my DB is oracle9i. also i am validating the email addresses. it works fine. some mails are send but after sometime it stops. i get an error as : Error: it were not specified any valid recipients.

:confused:

Please help me.
Thanks in anticipation

abduraooft
04-08-2008, 03:11 PM
Find the location of the error statement in your program and add a statement to echo the fetched email id. You may find the email which is causing this error.

bhakti_thakkar
04-08-2008, 03:22 PM
Thanks for your reply but email address is fine. as i printed the email address and checked it. no problems in it, also as soon as i excluded the email address which was causing the problem, it again started sending the mails.

i want to find the cause of rejection of email so that i can be more careful. i want to know if the email address is fine then what is the cause of not sending mails???

abduraooft
04-08-2008, 03:25 PM
Sorry, nothing more to say without seeing your relevant code!

bhakti_thakkar
04-08-2008, 03:41 PM
there are few test cases that i am running to see it. as i am finding that it is rejecting sending mail to a specific domain.
reagrding code its scattered in multiple pages
set_time_limit(0);
require("mail/email_message.php");
require("mail/smtp_message.php");
require("mail/smtp.php");
require("mail/sasl.php");
include('include.php');
include('newsletter/nlfunctions.php');


so let me organize it.

till then how will i keep a check on domains which are not allowing to receive mails or how will i handle this rejections???