PHP Classes
Icontem

Subject: 501 5.1.3 Invalid address


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend!

      SMTP E-mail sending class   All threads   501 5.1.3 Invalid address   (Un) Subscribe thread alerts  
Subject:501 5.1.3 Invalid address
Summary:Error sending massive email > 30000
Messages:2
Author:Luís Ramos
Date:2008-07-29 10:23:46
Update:2008-07-29 23:04:03
 

  1. 501 5.1.3 Invalid address   Reply  
Picture of Luís Ramos
Luís Ramos
2008-07-29 10:23:46
Hi Manuel,

i'm using you great class to send a lot of emails (over 30.000).
I'm using a While loop and i automaticaly refresh the page on each 500 sent emails to avoid server-side timeout.

I'm sending the emais with no problem at all and the delivery is working just great. (SMTP, Windows Server)

The thing is that, sometimes I get this error:

501 5.1.3 Invalid address

after calling the Send() funtion.
Some of the emails i get the error from are actually invalid but, some are not. It looks like the error freezes and then returns on all emails i'm sending. Even the valid ones.

Shall i restart the sending whenever an error is found?

Any ideias? Thnkx in advance.


  2. Re: 501 5.1.3 Invalid address   Reply  
Picture of Manuel Lemos
Manuel Lemos
2008-07-29 23:04:04
I do not recommend that you do that. If you get an error from the server, it is better that you close the connection and restart a new one.

Anyway, for what you are doing I recommend that you use the MIME message class in conjunction with the SMTP class. I has better support for bulk mailing.

If you can use Microsoft Exchange, using the MIME message class with the pickup folder sub-class is an even better solution for bulk mail under Windows and you will have problems like that.

http://www.phpclasses.org/mimemessage

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products