Alcuni client supportano le sintassi:
codice:
mailto:pippo@pluto.it?subject=Ciao da Topolona&file="c:\allegato.zip"
o
codice:
mailto:pippo@pluto.it?subject=Ciao da Topolona&attachment="c:\allegato.zip"
Ma per queste cose è meglio usare MAPI:
codice:
with TMAPIMail.Create(Self) do
try
Subject := 'test';
Body := 'Hi,'#13#10#13#10'with best regards, Mike Shkolnik';
Recipients.Add('mshkolnik@scalabium.com');
Recipients.Add('CC:mshkolnik@yahoo.com');
Recipients.Add('BCC:mshkolnik@mail.ru');
Attachments.Add('c:\autoexec.bat');
EditDialog := True;
Send
finally
Free
end;