Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

An email icon has been added to the XFRX previewer toolbar. It is disabled by default for backward compatibility and can be enabled by setting the iEmail property of the previewer class [xfCont, cntXFRXMultiPage or frmMPPreviewer] to 1. If you click the email icon, it runs the Email method of the xfCont class. By default it displays a simple dialog box asking for email address, subject, body, etc. and uses VFPWinsock library to send the email.

...


Info

VFPWinsock is a free SMTP sendmail library written by a VFP MVP Francis Faure. It is not distributed together with XFRX and it can be downloaded from http://www.xfrx.net/vfpWinsock/index_e.asp. It is a nice little package written in VFP distributed as a single .prg.


...


NameDescription
BeforeEmailOptions

The event is fired before the dialog is displayed and user clicked "Send".

EmailOptions

The event is fired after the dialog is displayed and user clicked "Send".

Email

The event is fired when the icon is clicked, before the dialog is displayed.

Email_BeforeTransformReport

The event is fired before calling method TransformReport().    

Email_AfterTransformReport

The event is fired after calling method TransformReport().

Email_AfterEmailedThe event is fired after e-mail was sent.


The e-mail parameter object has the following properties:

...