Dear,
in Delphi/Windows the more simple way to send an email (with or without attach) and using the current mailer program is:
Var
Message : String;
Begin
Message := 'mailto:name@address.ext'
+ '?subject=Mail object'
+ '&body=Body line 1' + '%0D%0A'
+ 'Body line 2'
+ '&Attach=c:\MyAttach.txt';
ShellExecute(Handle, Message, Nil, Nil, SW_NORMAL);
End;
Now, exist a similar procedure using lazarus that work under windows/linux and/or MAC?
Thanks,
David