[EMAIL PROTECTED] wrote:
> Hello:
>> ------- Original Message -------
>>From    : Veit
> Zimmermann[mailto:[EMAIL PROTECTED]
>> Sent    : 3/8/2007 6:42:03 AM
>> To      : twsocket@elists.org
>> Cc      : 
>> Subject : RE: [twsocket] SMTP connection limit
>>
>> Hi
>> 
>> Are there providers which limit the number of
>> concurrent SMTP
>> connections? In other words: Do I have to make the
>> maximum number
>> of connections for asynchronous operation flexible
>> and what would
>> be a good practice approach (besides making it user
>> configurable).
>> 
>> TIA
>> 
> 
>    Most ISP's SMTP servers limit the amount of
> concurrent connections from the same source to about
> 10 or 20.  This is intended to prevent automatic
> spamming and mail bombing runs, or to at least hinder
> or limit their impact.  This is pretty much an
> industry standard nowadays (along with rejecting
> connections from dynamic IP addresses).
> 
>    Making the limit configurable is a good idea, and
> I would suggest a default limit of no more than 20. 
> Like Arno said in his post, asynchroneous connections
> to the same server do not necessarily increase
> performance significantly so it shouldn't matter that
> much to the user.

Thanks, I will consider changing to one connection in a later
version. For now I have to live with user configuration.
Thanks also to Arno and Francois.
BTW: I used one of the SMTP examples as a guideline, which also
uses one connection per mail sending multiple mails at the same
time (if I didn't misunderstand the intention of the example).
Maybe it should be mentioned in the example that this is not the
preferred method.

        Regards
-- 
*********************************************************************
* Dipl.-Ing. Veit Zimmermann     [EMAIL PROTECTED] *
* VECTRONIC Aerospace GmbH              www.vectronic-aerospace.com *
* Carl-Scheele-Str. 12                     tel: +49 (0)30 6789 4990 *
* D-12489 Berlin                           fax: +49 (0)30 6789 5230 *
* Germany                              WGS84: 52°25.83'N 13°31.52'E *
*********************************************************************
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to