Arno Garrels wrote: > Wilfried Mestdagh wrote: > >> Does it not matter how the code is written (OnRequestDone), eg like >> this: >> >> case RqType of >> smtpConnect: begin >> Cli.Helo; >> end; >> smtpHelo: begin >> Cli.Mail; >> end; >> >> Meaning, I don't use Ehlo method or so. > > EHLO is required for authentication, otherwise an exception was > raised. As long as HELO is supported by mail servers you could call > smtpHelo if no authentication is wanted and smtpEhlo otherwise. > Something like this:
Mixed up request types with methods, guess you know what I mean nevertheless. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be