|
| |
1. 501 5.1.3 Invalid address |
|
Reply |
|
|
 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 |
|
|
 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 |
|