Dear Manuel,
Thank you for a great package and your commitment. I have been testing
it today and ran into a problem which I am not sure if it is a bug in
your coding or if it is just me being sufficiently ignorant to see
what I am doing wrong. It would be wonderful if you could just take a
quick look and see yourself whether or not your class works correctly.
The situation:
I am sending different multipart messages via SMTP to a group of
colleages. While running the send script individually (one by one)
everything works fine. In order to make the mailing a bit more
convenient I placed the send-routine in a loop and let it run. The
loop executes exactly the same routine with only the "to_address"
changing.
The strange thing now is that it fails to login into the SMTP server
every second loop. So, the messages are being sent successfully to
recipient 1,3,5,7,.... However, recipient 2,4,6,8,... would not
receive anything. So I ran the script in debug mode and it revealed
that in every second loop the send-routine was failing to login.
I have copied the protocol and marked the relevant lines.
Please see:
http://209.197.87.129/smtp/mlemos.htm
Manuel, I very much appreciate your dedication and help and I really
hope to not steal too much of your time. However, I thought you might
be interested in this experience for that it could possibly be a bug
in your package (... well, if it is a bug at all. I beg your pardon
for my ignorance).
Do you have an idea of what the problem could be?
Many Greetings
Jerry Wilkins
On Sun, 12 Sep 2004 14:24:47 -0300, Manuel Lemos <ml****@acm.org>
wrote:
Hello,
On 09/12/2004 08:06 AM, Jerry wrote:
Dear Manuel:
Your mime-mail package works great but I have a small problem and hope
you can help me out on this:
When I send via SMTP I get the following error and don't know what it
actually means:
"Error: reached the end of data while reading from the SMTP server
conection"
Can you help?
This means that there was a timeout or the server disconnected while the
class was expecting some response from the server.
I don't know if you really need to use SMTP, but if you do, just enable
smtp_debug variable to see the SMTP dialog with the server. The reason
of this problem should be explained looking at that dialog.