Sending Email from Lotus Notes using ShellExecute
Posted on 2007-04-02
Could you please tell me how to send a email with attachment through Lotus notes using the shel execute function. my sample code works but unfortunatley doesnot handle attchments.i.e on shell execute it open the lotus notes mail sending screen but the attchmnets are not to be found
thanks in advance
below is my sample code in delphi which is suppouse to send the mail but some how the attchmnets donot come up
em_subject, em_body, em_mail,em_mailreceipient : string;
em_subject := 'Hi there';
em_body := 'please help with this'
em_mailreceipient := 'email@example.com'
em_mail := 'mailto:'+em_mailreceipient+'?subject='+em_subject+'&body='+em_body
ShellExecute(Handle,'open',PChar(em_mail), nil, nil, SW_SHOWNORMAL) ;