I want to send 45000 emails using a cron job via SMTP server.
The problem is when I am sending email using cron, it allows only approx. 400 emails. After that it shows run execution error.
Can anyone assist?
Related
I have question script for running forward my own email (do not have autoforward facility) to my Gmail. I want to do it using phpmailer.
So I can make cronjobs for running php script everyday (running get email and forwading to my Gmail).
How can I go forward with this?
PHPmailer alone will not be able to help you with forwarding as it is only a transfer class, for outgoing emails. You will need to set up a mail server (like Postfix) with an email handler (like Dovecot) if you are in Linux to receive incoming emails. PHPmailer can be used for the forwarding process but there are other solutions.
I recommend you look into a service like mailgun.com instead. They have a routing feature for forwarding incoming emails that is very easy to set up (if you have dns access to your current email domain). You can send 10k emails for free each month with the service.
I am developing a bulk email procedure, in that I have no issues in sending emails in batches. My problem starts when the recipients address is invalid or rejected by the host server.
Simply how can I tell the SMTP server not to retry it the original email was bounced.
I can only use MS Exchange Server.
The number of retries is a setting that you can configure in MS Exchange. See: http://technet.microsoft.com/en-us/library/jj891103(v=exchg.150).aspx
Do the SMTP logs on a server (Windows 2003) only show logs of mail that were sent successfully?
We are getting bounce backs when sending mail to a particular domain:
The connection was dropped by the remote host.
It looks like a problem on the receiving server, but we dont have much information to provide them. We can send to hotmail, gmail, yahoo etc OK.
Any ideas?
Most likely, there is a spam filter in front of the receiving mail server for this domain, and this spam filter thinks your mail server is sending spam, so it's closing the connection from your mail server. One way to test this is to simulate sending a message to this mail server by opening a command prompt on your mail server, and use telnet to connect to the receiving mail server on port 25, and proceed with the process of sending a message just as a mail server would. This way, you'll be able to see how the receiving mail server responds after each step. Follow the instructions in http://support.microsoft.com/kb/153119 to see how this is done.
It turned out the sending server was blacklisted by McAfee, that was running on the receiving servers firewall.
For those that may have the problem in the future you can check if your server is blacklisted with McAfee here:
http://www.mcafee.com/threat-intelligence/ip/spam-senders.aspx
After entering your server IP, you should see a link Threat Feedback. Use this to email McAfee.
I was able to send McAfee an email with an explanation, they then removed our server from the blacklist.
I am using a PHP script for sending emails by IIS 5.1 SMTP.
The emails, go to outbound folder. really path is C:\Inetpub\mailroot\Queue.
after a seconds, it start to send emails properly, but after sending 5 or 6 emails, it stops to send the other ones. SMTP service is still start and it seems there is no problem to SMTP service.
but,If i restart the service, it sends 1 or 2 other emails and then, it stops again.
I mean sending emails stop but service is start.
by the way, emails are stucked in Queue folder.
Also i checked Badmail folder. it is empty
Thanks
are all the emails to the same network? I have seen behaviour like this when the recipient server bans you, yahoo's (xtra) used to do it sometimes to our server in particular. You can check the logs in event viewer for something from the smtp server, you'll find a message from the other server saying something to the effect that you have been temporarily banned, possibly with more detail about why. Trying to connect via telnet also gives you the same message.
When this happens windows will try and send them again later. Restarting the server starts to try sending again and if the ban condition has been lifted messages will flow for a while again until you are rebanned.
I am facing an issue when I am sending Email from intersystems cache. I am able to send the mail, with out any problem the first time. But the second time when I am trying to send the smtp server is not responding properly. The first Helo command is sent. I recieve the confirmation 220 from the server. But I do not recieve the Message 250. So the next command is giving me the error 503, 5.5.2 "Send helo first" message.
I am unable to find out why the server is not responding the second time.