> From: Vander Clock Stephane [..] > I think you must replace > S := Copy(S, 5, Length(S)); > > by > S := Copy(S, 6, Length(S));
I don't know why, length of both strings is 5 not 6. Typically the lines in question of a EHLO response look like 250-AUTH=LOGIN CRAM-MD5 PLAIN 250-AUTH CRAM-MD5 LOGIN PLAIN --- Arno Garrels [TeamICS] -- 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