Hi Mike,

I tried to compile and run your code. I didn't have the P.EMAIL copybook, so I copied the PI to make a PR. And I didn't have the RPGMail stuff, so I commented it out.

When I ran it, using your code and your CMD interface, it worked perfectly. I did not receive any garbage in the parameters.

Please verify that your prototype for SendEmail exactly matches the PI that you posted here. Also verify that the garbage isn't already in the parameters when the CMD is called.

If neither of these things is the cause, then I'm stumped... it works here.


Mike wrote:
// Entry Parms
D fromAddress S 100A
D toAddress S 32767A
D ccAddress S 32767A
D bccAddress S 32767A
D subject S 32767A
D body S 32767A
[SNIP]

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.