<MAIL> Mail interface

Navigation:  External interfaces >

<MAIL> Mail interface

Previous pageReturn to chapter overviewNext page

 

You can mail directly from within your application or let the user click on the mail button in the preview window.

 

 

<MAILTO>

<MAILTO=     [TO:mailaddress1[,mailaddress2…] ]

          [ CC:mailaddress1[,mailaddress2…] ]            

          [ BCC:mailaddress1[,mailaddress2…] ]

        >    

Mail destinations.

 

Each address group is a comma delimiter list. Each group is separated by a space from the previous one.

Example :

<MAILTO=TO:info@4gl.fr,bill@bill.com CC:xxx@y.com>

<MAILSUBJECT>

<MAILSUBJECT=subject>

Mail message subject.

<MAILBODY>

<MAILBODY=Message>

Use TAB characters for line feeds.

Note : The vpxPrint report is always sent as a joined document. The mail body is used to specify an additional message.

<SENDMAIL>

<SENDMAIL= [ PDF         |     xPrint       ]

                    [ ,DIALOG   |      NO-DIALOG ]                    

                    >

Examples:

<SENDMAIL=PDF,NO-DIALOG>

<SENDMAIL=xPrint,NO-DIALOG>

<SENDFAX=PDF,DIALOG>

Note: The dialog or no-dialog is used to tell to the mail interface that you want activate or deactivate the dialog from your mail server before sending.

<OUTLOOK>

<OUTLOOK>

Tells vpxPrint to use Outlook whenever possible (Outlook is installed). If Outlook is not present, vpxPrint switches to the normal MAPI interface.

<MAILATTACH>

<MAILATTACH=file1[,file2....]>

Specify additional files to join to the mail message.

 

 

Technical notes :

1.To use the mail interface, you need a correct MAPI interface installed on the PC, unless specifying <OUTLOOK>.
2.xpMail.DLL is no more needed with vpxPrint V7.