Hello,

Syntax of host commmand is
host (command, screen_mode);

It will help u a lot if u also look up the Developer 2000 help. In forms 5 click on help Forms builder help topics or Ctrl+H and type host in resulting window.

U will also have to look up the help of third party software u wish to use for sending email with attachments.

Regards,

Kashif Javed Rana