I saw we can send a email from Preview Report but the procedure call only the Outlook Mail or the protocol there is on a Pc .
If there is not any protocol or Email application installed it cannot send any mail .
For this questio I thinked to create a function where the final user can insert some data ( username , mailuser, smtp,nport,password) and send the report with cdo on Internet
before the final user can select with a combobox if select the normal protocol ( outlook ecc) or use the server mail smtp

if select the second option the dialog is opened

and the can send a email and the attach simply

I think it can be usefull on Preview report
If there is not any protocol or Email application installed it cannot send any mail .
For this questio I thinked to create a function where the final user can insert some data ( username , mailuser, smtp,nport,password) and send the report with cdo on Internet
before the final user can select with a combobox if select the normal protocol ( outlook ecc) or use the server mail smtp

if select the second option the dialog is opened

and the can send a email and the attach simply

I think it can be usefull on Preview report
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com