z/OS Infoprint Server User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Sending a file to an email destination

z/OS Infoprint Server User's Guide
SA38-0695-00

Sending a file to an email destination

When you submit a print request, you can send the file to an email destination instead of to a printer. You can specify the email addresses of the primary and secondary recipients in one of these ways:

  • Your administrator can specify the email address list for the recipients in the printer definition in the Printer Inventory.
  • You can specify the email addresses for the recipients using these job attributes:
    Use this attribute:
    To specify the email addresses of the:
    mail-bcc-addresses
    Blind copy (bcc) recipients of an email. A bcc means that other recipients of the email do not see the bcc recipient listed.
    mail-cc-addresses
    Copy (cc) recipients of an email. A cc means that other recipients of the email can see the cc recipient listed.
    mail-to-addresses
    Primary recipients of an email.

You can specify an address list in an alias file that your administrator defines to z/OS UNIX sendmail. For information, see Specifying the email address list in an alias file. Your administrator can specify the name of the alias file in the printer definition, or you can specify it in a job attribute.

The email has these characteristics:

  • If the file contains text data, it can be included in an email attachment or inline in the body of the email. If the file contains data in another format (for example, PDF), the data is included in an attachment. To include text data inline, specify the mail-inline-text job attribute. Or, the administrator can select the Inline text and line data field in the printer definition.
  • The name of the attachment is the name specified in one of these:
    1. The mail-file-name job attribute
    2. The sysout-dataset-name job attribute
    3. The last 8 characters of the file name

      If the first character is not a letter, #, $, or @, it is converted to a #. If one of the remaining characters is not a letter, number, #, $, or @, it is converted to a #. Lowercase letters are converted to uppercase letters.

    The name of the attachment contains a suffix that indicates the type of data in the file. For example, txt indicates text data and pdf indicates PDF data.

    Tip:
    If you specify a file name (in the mail-file-name job attribute) with a suffix that indicates the type of data in the file, ask your administrator to request that Infoprint Server not add another suffix. For example, if the file name is myfile.doc, ask your administrator to request that Infoprint Server not add suffixes for file names that contain the .doc suffix. For information, see the section about customizing IP PrintWay™ in z/OS Infoprint Server Customization.
  • The subject of the email is the value specified to the Port Monitor in the title-text job attribute. If none is specified, the subject is the title your administrator specified in the Allocation section of the printer definition. If no title is specified in the printer definition, the subject is the job name. If you use the LPR command, you can specify the job name in -J option.
  • The sender is the Windows user ID of the user who submitted the print request. You can add a descriptive name or other identifier of the sender in the mail-from-name job attribute.
  • The reply address is the value you specify in the mail-reply-address job attribute. To receive replies from the email, specify the mail-reply-address job attribute because the default is that most mail programs reply to the sender, which is your Windows user ID concatenated with the system where sendmail is running.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014