Arno Garrels a écrit :
Hello,
At first you need latest ICS-V7, only ICS-V7 supports Delphi 2009.
Download and install the daily Snapshot here:
http://wiki.overbyte.be/wiki/index.php/FAQ
Look at the MailSnd demo, it includes authentification, there's no
difference implementing this feature in a console application.
I have ICS-V7 installed. I like the small ConSmtp demo very much - i
really need the minimum, and with the help of MailSnd i will add auth.
However, i have this famous "Incompatible types: 'string' and
'AnsiString'" error for Delphi 2009 i can't resolve.
As it is coded, the result (message received) shows only the first char.
of each stringlist line. I thought ansifying the procedure
SmtpResponse(Sender: TObject; Msg : ansiString) would resolved the
problem but i get the error at
FSmtpCli.OnResponse := SmtpResponse;
There must be a turn around ?
--
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