Q
Problem solve Get help with specific problems with your technologies, process and projects.

Using API QtmmSendMail in an RPGLE program

I have problems using API QtmmSendMail in an RPGLE program. When calling I get CPF3C17, which says there's an error with "input data parameter". I have examined all parameters according to the documentation, but I am not able to see what's wrong. The program writes a MIME Header-file to IFS, and this file looks OK.
If the resulting file is OK, I would not worry about the error message. IBM, in its wisdom, lists the error messages in the API documentation, but gives no explanation of the errors or any solutions.

The requirements for the input file are:

1. The headers are all in US-ASCII coded character set identifier (CCSID) 367

2. The file must contain an Internet-ready MIME note that adheres to the standards that are called Request for Comment (RFC).

3. The file must have an 'end of header' statement between the header and the body.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Visit the ITKnowledge Exchange and get answers to your developing questions fast.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.

This was last published in November 2004

Dig Deeper on iSeries COBOL programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

  • How do I size a UPS unit?

    Your data center UPS sizing needs are dependent on a variety of factors. Develop configurations and determine the estimated UPS ...

  • How to enhance FTP server security

    If you still use FTP servers in your organization, use IP address whitelists, login restrictions and data encryption -- and just ...

  • 3 ways to approach cloud bursting

    With different cloud bursting techniques and tools from Amazon, Zerto, VMware and Oracle, admins can bolster cloud connections ...

Close