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.
- 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.
- Check the authority levels. QMSF and QTCP profiles must have the
authority to read and delete the MIME file.
- In the iSeries™ character-based interface, type WRKLNK (the
Work with Object Links command).
- Type 9 (Display) to work with the QMST and QTCP authorities.
The Work with Authority display appears.
- Ensure that the MIME file has an end-of-header statement between
the header and the body.