Re: Connection closed gracefully

Giganews Newsgroups
Subject: Re: Connection closed gracefully
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Tue, 14 Jul 2009

"Angelo Mangiaracina" <angelo.mangiaraci…@gmail.com> wrote in message
news:25A789A9FC88E340angelo.mangiaraci…@gmail.com...

> Now, running the program, at an undetermined moment, I reach a
> connection closed hracefully exception

That means the server intentionally disconnected you.

> That in my code should be handled. inspecting the sending results,
> seem that only a part of selected customers has received the mail.

You likely tried to send too many messages in a single SMTP session, or
specified too many recipients in a single message, so the server
disconnected you right away in an attempt to avoid flooding/spamming.

--
Remy Lebeau (TeamB)

Replies

In response to

Connection closed gracefully posted by Angelo Mangiaracina on Tue, 14 Jul 2009