xbrowse Email|PDF

xbrowse Email|PDF

Postby Iris Gesser » Wed Oct 17, 2018 7:35 pm

Good evening,
is it possible to send an Email with the data exported to TXT or PDF directly out of xbrowse?
Thank you and kind regards
Iris
User avatar
Iris Gesser
 
Posts: 37
Joined: Fri Apr 22, 2016 10:19 pm

Re: xbrowse Email|PDF

Postby nageswaragunupudi » Thu Oct 18, 2018 1:04 am

You need to write your own function for this.

Here is a sample function:
Code: Select all  Expand view
function SendMail( oBrw, cPdf, cAddress )

   local oMail, cFile

   cPdf     := TrueName( cPdf )
   cFile    := cFileNoPath( cPdf )

   oBrw:Report( nil, .F., nil, nil, nil, cPDF )

   DEFINE MAIL oMail ;
      TO cAddress ;
      SUBJECT cFile ;
      TEXT "" ;
      FILES cPdf, cFile ;
      FROM USER

   ACTIVATE MAIL oMail

return nil
 

You may modify this function according to your requirements.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10468
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 73 guests