Home  Summary  Details  Pricing  FAQs  Version Differences  Downloads   

KeyesMail(tm) - FAQ

How Do I

Create a Template

Templates can be used with many of the API's and the KeyesMail output queue (KMLOUTQ) to assist you in sending e-mail messages, with attachments. The template provides the message that goes along with the attachments. It can also include the subject, options, addresses, and even other attachments.

  1. Choose a mailbox that you want to e-mail from. If you have only a single mailbox, or if you intend the mail to be sent from a lot of different users, then you should use the POSTMASTER mailbox.
  2. Start item 1 KeyesMail from the menu and change to the selected mailbox, (Ex: POSTMASTER). You do this by moving the cursor (back tabbing) to the mailbox field and entering the correct mailbox name.
  3. Press F6 to create a new message. KeyesMail will create a new message and place you in the Recipient addresses window.
  4. If this template will be used to mail attachments to the same recipients every time, then key their addresses in the window. But, if this template will be used for different recipients each time, then do not key any addresses. Close the window by pressing the Enter key or F12 (Cancel).
  5. Type a generic subject that could be used each time you send the attachments, such as: Weekly Sales Report
  6. Type a generic message that will be used each time you send the attachments, such as: The following attachment is your Weekly Sales Report ... You may wish to include contact information, in case the recipient has any questions.
  7. Move the cursor up to the Options> line and press Enter to open the Options window.
  8. Set the From: address to any valid address. You may also want to set the Auto Purge: parameter to Y. This will make the system self cleaning.
  9. Note the member name at the top of the screen. This will be the Template name that you use in the API's. Press F3 when you are finished preparing the message.
  10. On the Work with KeyesMail screen enter an option 2 Change for the newly created mail member. Tab to the second field and change the Status to read "Template". This will allow you to recognize your templates, so you will not accidentally delete them. You may also wish to move them to a special Category, to keep them all together.
  11. Use item 31 User Setup from the menu and enter a 5 on the selected mailbox (Ex: POSTMASTER).
  12. Add *TEMPLATE to the Authorization list. This will allow all the API's to use the templates out of this mailbox, even when the user running the API does not have specific authority to that mailbox.

Create a Rich Text Overlay

Use any PC word processor that can create a Rich Text document, such as MS WordTM or Lotus WordProTM. You will define substitutable fields within the document. After creating the overlay (RTF document) on the PC, you must upload this to the System i into a file called KMLTEMP in the KeyesMail Data library (KMDATA), without translating it (see below for details).