On this Page

    -autoEmail

    (As of 3.3.002.00)

    Suppress emailing sending for certain PDF drivers when producing multiple outputs using a form with an auto email fragment.

    Syntax

    -{prt}autoEmail Y|N

    Description

    Use -autoEmail=N to suppress additional emails from being sent when generating multiple outputs at once. Can specify a PDF driver by adding the driver name as prefix.

    For example, -PDF2autoEmail=N.

    This option can be used via command line option, PRT option, or scripting with _printer.setOption. For example:

    // DO NOT SEND AutoEmail for PDF2 driver
    
    // Get the current active printer name
    var currentPrinter = _printer.getDriver();
     
    // Check if the current printer is "PDF2"
    if (currentPrinter === "PDF2") {
          // Set the printer option AutoEmail to false (disable auto email)
          _printer.setOption("AutoEmail", "false", currentPrinter);
    }

    This option is implemented for the PDF driver only.

    See Also

    Auto Email
    _printer