Re: Connection closed gracefully

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

"Angelo Mangiaracina" <angelo.mangiaraci…> wrote in message

> 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)


In response to

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