Settings->Email

Enable Email
Select this option to enable Email sending.

Method
You can send Email using 3 different methods:

Use DNS MX lookup to find Email server
When using this method, Zan Image Printer will query the MX record of recipient's domain via DNS lookup and send Email to the SMTP server retrieved from the DNS server.
This method has the following limitations:
  • All recipients must have Email addresses belonging to the same domain.
  • Most home-user machines are assigned a dynamic IP address from their ISP, and many SMTP servers have been configured to block Emails sent from a dynamic IP address. In this case, you have to use other Email sending methods (Send through MAPI compliant client, Send through SMTP server).


  • Send through MAPI compliant client
    This uses MAPI (Simple MAPI or Extended MAPI) to send Emails using an existing Email client like Outlook, Outlook Express, Mozilla Thunderbird, or Eudora. No additional configuration of the client is needed when using this method.

    Send through SMTP server
    Use this to communicate directly to the SMTP server, bypassing your Email client. This method has more settings and is the most powerful way to send Emails. We recommend using this method over other Email sending methods whenever possible, because the SMTP protocol is the underlying method used to send and process Email, and this method will work in all situations. With this method, you must specify the address of the SMTP server, the port to connect to, and your Email address. If your SMTP server requires authentication, you will also need to enter your username and password. Although this method may sound complicated, the steps are identical to configuring an Email client to work with your outgoing SMTP server.

    Note:
  • Simple MAPI ships with Microsoft Windows as part of Outlook Express, while the Extended MAPI support is added as part of installing Outlook or Exchange. Outlook Express and Thunderbird only support simple MAPI. If simple MAPI is used for sending Emails, some MAPI compliant clients (e.g., Outlook Express, Outlook) will displaying a security warning dialog before sending Email messages programmatically to ensure that unwanted Emails are not sent without your knowledge or consent. These security warnings can disrupt your printing workflow especially if you are batch printing multiple documents at the same time.

    In Outlook Express you can disable this security warning dialog by opening Outlook Express and then clicking on the Options link within the Tools menu and then click on the Security tab. Uncheck the "Warn me when other applications try to send mail as me" option.


  • If you have Microsoft Outlook installed on your computer and don't want to bother with SMTP server setup, use the "Send through MAPI compliant client" method and select "Extended MAPI" (or Auto Detect) on the MAPI Settings dialog. Sending Email using Extended MAPI prevents a security warning dialog from appearing in Outlook.


  • Choose the "Use DNS MX lookup to find Email server" method if it works. To use this method, ensure that your computer is able to resolve MX records for the destination domain in the DNS (reconfigure your network and server until you get proper DNS resolution), and also that your computer is not blocked from sending Email directly to the SMTP server.


  • Use the "Send through SMTP server" method if you want to have more control over how your Emails are sent. The steps are very similar to the steps used to set up Outlook with an SMTP outgoing server.


  • Use the "Send through SMTP server" method if the core program of Zan Image Printer zvprtsrv.exe runs in system account (e.g., you print to Zan Image Printer from system account, or use Zan Image Printer as a shared network printer).


  • If you want to bypass any pop-up dialogs when you print, configure Zan Image Printer to operate in silent mode:
    On the Save tab of the Zan Image Printer Printing Preferences dialog box, set the "When File Exists:" setting to "Auto pick a unique name to prevent collision" or "Always overwrite" and set the "Before Printing Starts Show the:" setting to "No Dialogs".

  • You can configure Zan Image Printer to run Outlook as an external application after printing finishes if you need more control and flexibility to interactively compose your Email. See the Application tab for more details.


  • You can install multiple Zan Image Printer instances for different Email addresses on one computer. This allows you to simply print to the appropriate printer to go to the correct Email address.


  • When Zan Image Printer is unable to send an Email due to errors, the error is logged. To retrieve the value of the error, refer to the [%emailstatus] macro (integer, 0 for error and 1 for success):
    you can supply the [%emailstatus] macro as a parameter to your application (see the Application tab for more details), or use it within the sentinel template file (see the General tab for more details).



  • Click the button to bring up another dialog that gives you access to advanced Email configuration. The dialogs that appear depend on the selected Email Method:
    If Method is Use DNS MX lookup to find Email server, clicking the button opens the MX Lookup Settings dialog
    If Method is Send through MAPI compliant client, clicking the button opens the MAPI Settings dialog
    If Method is Send through SMTP server, clicking the button opens the SMTP Settings dialog

    To
    Specifies the recipient's Email address. To send the Email to multiple recipients, separate each address with a semicolon (;). Email addresses can be entered as just an Email address: me@example.com or it can include a display name in the format: "John Smith" <me@example.com>

    To display the Outlook address book, click on the To.../Cc... addressing button, double click the name of the person you want to send the message to. You can add more names by simply double clicking them as well.

    You can set the Email address dynamically using the [%UserName] macro (evaluates to the logged in user name) and a literal like @mydomain.com. This would be quite useful when you are running the software in a terminal server environment and would prefer that the user does not have to type in an Email address:


    If the [%email] macro is specified as the Email address, Zan Image Printer will search the document being printed for an Email address, extract it from the text, and automatically Email the printed document to that address.


    The [%email] macro will only extract the first Email address in your document. If you want Zan Image Printer to pick up an Email address further down in your document rather than the first Email address, you can specify a regular expression to extract the Email address. For example, if your document contains the following text:
    From: from@mycompany.com
    To:  me@example.com
    
    And you want to sent your Email to me@example.com, you can specify the regular expression /To\s*:\s*([%email])/[%1]/ to extract the Email address. Note that the [%email] macro must be surrounded by () brackets within the regular expression.

    The [%email] macro will only recognize one email address. To extract multiple email addresses separated by a semicolon (;), you can specify the regular expression /([%email][\s,;]*)+/[%0]/

    See the
    Document Name tab for instructions on how to use the regular expression.

    The [%emailprinter] macro is similar to the [%email] macro. However, it adds error handling. In the event that Zan Image Printer fails to send an Email due to errors like failing to find an email address within the document it will redirect the job to the printer or printers you selected on the Printer Redirection tab (with the "Enable printer redirection" option unchecked). This is useful when you do not want to redirect every job and would like to redirect only the documents that could not be Emailed automatically. For example, by specifying the [%emailprinter] macro as the Email address, you can print to Zan Image Printer for automated invoicing. This way, you could automatically send all of your invoices by Email. If an invoice fails to be sent, it will automatically be printed so it can be mailed to the customer and you can be notified to call the customer to correct the missing Email address.

    Note that text extraction is not OCR based and only plain text in the source document can be parsed. In other words, Zan Image Printer cannot extract the Email address from scanned documents. If the printing application rasterizes the Email address string prior to sending it to the printer, no Email will be extracted. To check whether or not Zan Image Printer receives the Email address as a character string from the associated printing application, enable text extraction on the Zan Image Printer's Text Extraction tab; then print to a Zan Image Printer to start collecting the extracted strings into the specified text file. If the generated text file does not contain an Email address, then no Email address will be extracted.

    Cc
    Carbon Copy Email address or list of addresses separated with semicolons (;).

    Subject
    The subject of the Email. You can insert save macro commands and file name macro commands to form the subject.

    Body
    Message body/text.
    If the [%text] macro is specified, Zan Image Printer sends the extracted text as the Email body text rather than as an attachment.



    Help
    Loads the help file, and displays the Settings->Email topic.