Simple. Effective. Affordable. Your trusted IBM Midrange Partner for over 10 years...

Chapter 1 - The MAILTOOL Command

eMail Tool (MAILTOOL)

                              E-Mail Tool (MAILTOOL)

 Type choices, press Enter.


 To Address . . . . . . . . . . .   ______________________________________

                + for more values



 To Name  . . . . . . . . . . . .   ______________________________________

 From Address . . . . . . . . . .   ______________________________________

 From Name  . . . . . . . . . . .   ______________________________________

 CC: Address  . . . . . . . . . .   ______________________________________

                + for more values



 Name of CC recipient . . . . . .   *NONE_________________________________

 BCC: Address . . . . . . . . . .   ______________________________________

                + for more values



 Name of BCC recipient  . . . . .   *NONE_________________________________

 Subject  . . . . . . . . . . . .   ______________________________________

 Message Text . . . . . . . . . .   *NONE_________________________________

 Attachment . . . . . . . . . . .   *NONE_________________________________

                + for more values


 Attachment Name  . . . . . . . .   *ATT__________________________________

                + for more values


 MDN Address  . . . . . . . . . .   *NONE_________________________________

 MDN Name . . . . . . . . . . . .   ______________________________________
 Send With Server Type  . . . . .   *IBMSMTP      *MAILTOOL, *IBMSMTP
 Mail Router  . . . . . . . . . .   *NONE_________________________________
 Use Mail Router  . . . . . . . .   *NO___        *NO, *YES, *ONLY
 Bind to IP Address . . . . . . .   *NONE
 Coded Character Set Identifier     819           Number

 Body content type  . . . . . . .   'text/plain'__________________________

 Mime header code page  . . . . .   819__         1-65535

 Temporary Directory  . . . . . .   '/tmp'________________________________
 Importance . . . . . . . . . . .   *NORMAL___    *NORMAL, *HIGH, *LOW...
 Recipient Separator  . . . . . .   ','           Character value
 Debug  . . . . . . . . . . . . .   *NO_          *YES, *NO
 Debug File Name  . . . . . . . .   'mailtooldebug.txt'___________________
 SMTP Debug File Name . . . . . .   'mailtoolsmtp.txt'____________________


 F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display
 F24=More keys

The eMail Tool (MAILTOOL) command allows you to send emails from your AS/400 with a variety of options.

  • To Address - Enter the email address that you wish to send an email to. Up to 10 email addresses may be entered here. If you are using MAILTOOL Plus, you can also enter distribution list names preceeded with the * character.
  • To Name - Enter the name of the person or group you wish to send an email to.
  • From Address - Enter the email address of the person sending the email. With v3.11 and higher, the special value of *USER may be used. This will use the SMTP name defined on the directory entry for the user running the command for the from address.
  • From Name - Enter the name of the person that is sending the email.
  • CC: Address - Enter the email address that should be carbon copied (CCed) on this email. Up to 10 email addresses may be entered here. If you are using MAILTOOL Plus, you can also enter distribution list names preceeded with the * character.
  • Name of CC Recipient - Enter the name of the person or group being carbon copied on this email.
  • BCC: Address - Enter the email address that should be blind carbon copied (BCCed) on this email. Up to 10 email addresses may be entered here. If you are using MAILTOOL Plus, you can also enter distribution list names preceeded with the * character.
  • Name of BCC Recipient - Enter the name of the person or groiup being blind carbon copied on this email.
  • Subject - Enter the text that will be used as the subject line of the email.
  • Message Text - Enter the text that will be included as the message body of the email. The value \n used in the message text will instruct MAILTOOL to insert a new line. The special value of *ATT used for the message text will instruct MAILTOOL to include the attachment(s) specified as the body of the email. The characters \n will force a new line in this text.
  • Attachment - Enter the qualified path name of the attachment file that should be attached to this email. Up to 50 attachments may be specified.
  • Attachment Name - Enter the name of the attachment file(s). This will change the name of the attachment as it appears in the email. If this is left as the default *ATT, the actual attachment file name will be used.
  • MDN Address - Enter an email address that should receive a delivery confirmation notice should the recipient of the email support this option.
  • MDN Name - Enter a name to be used for the MDN address.
  • Send With Server Type - Enter the server that you would like to use to send the email. The valid values are *IBMSMTP, which will use the standard IBM SMTP server to send the mail, or *MAILTOOL, which will use MAILTOOL's new internal APIs to send the email. The *MAILTOOL option is known as MAILTOOL Plus! and requires separate registration from MAILTOOL to function.
  • Mail Router - For use with the SENDWITH(*MAILTOOL) option. If you require the use of a mail router, enter the name or IP address of the mail router in this parameter.
  • Use Mail Router - For use with the SENDWITH(*MAILTOOL) option. Use *NO if you know that you do not require the use of a mail router and your AS/400 can communicate with the Internet. Use *YES if you wish to use a mail router as a backup for sending mail. If all other servers fail to send the mail, the value specified in the MAILRTR parameter will by used. Use the value *ONLY if you know you need to only use the mail router to send emails from your AS/400.
  • Bind to IP Address - Use this to bind the communications from your iSeries to a specific IP address when using the SENDWITH(*MAILTOOL) option.
  • Coded Character Set Identifier - Specify the CCSID to use for EBCDIC to ASCII translations when using the SENDWITH(*MAILTOOL) option.
  • Body Content Type - Enter the content type of the body of the message. The default is "text/plain" which indicates that the body of the message is plain text. If the body of the message is HTML, the value "text/html" should be used.
  • Mime Header Code Page - Enter the code page to use for the creation of the MIME header file.
  • Temporary Directory - Enter the IFS path of the temporary directory that will be used to create the MIME header files and debug files.
  • Importance - Enter a value to specify the importance of this email. On certain email clients this will mark the message with an importance icon representing the value. The value values are *NORMAL, *HIGH and *LOW
  • Recipent Separator - Enter a value to be used to seperate recipient addresses on the To:, CC:, and BCC: parameters. This defaults to a comma.
  • Debug - Enter *YES to create a debug file that can be used to track down possible problems with the email command. If *YES is specified, a file named /tmp/mailtooldebug.txt will be created in the IFS.
  • Debug File Name - Enter the name of the file that will be created for debugging building of the MIME file.
  • SMTP Debug File Name - Enter the name of the file that will be created for debugging the SMTP communications if the SENDWITH parameter is *MAILTOOL.

<<Previous | Next>>

© Copyright 1995-2008 BVS/Tools     
Powered by the eRPG SDK