Check the Multipurpose Internet Mail Extension file

You might have problems with the Multipurpose Internet Mail Extension (MIME) file that is causing the QtmmSendMail API to return an error. You should check the MIME file to ensure that these problems are fixed.

  1. Check the MIME file placement. The MIME file must be in the ROOT system and start with a "/", for example, /myfile.txt, and the file name must include the path /mydirectory/myfile.mime.
  2. Check the authority levels. QMSF and QTCP profiles must have the authority to read and delete the MIME file.
    1. In the iSeries™ character-based interface, type WRKLNK (the Work with Object Links command).
    2. Type 9 (Display) to work with the QMST and QTCP authorities. The Work with Authority display appears.
  3. Ensure that the MIME file has an end-of-header statement between the header and the body.