if you've rolled your own email sending program using that API, you should be able to log anything you want. either to a journal or to a DB file.

the manuals:
https://www.ibm.com/docs/en/i/7.4?topic=ssw_ibm_i_74/apis/qtmmsendmail.html

show an error parm structure, so again you are in-charge



if it is "pre-built" you may gain some insight:
CHGSMTPA JOURNAL(*YES)
stop and restart *SMTP and MSF
my limited test did not show anything "fun" in the QZMF journal

<cut part of the help screen>
Help (CHGSMTPA) Journal (JOURNAL) - Help

Specifies whether SMTP should write additional journal entries which
show mail message transitions, events, and informational data to the
Mail Server Framework journal (QUSRSYS/QZMF) as each mail item
passes through SMTP.


GL
Bryan


Javier Sanchez wrote on 2/9/2024 3:34 PM:
I am trying to use the QtmmSendMail API. Where can I look for errors? Is
there a log for this? Apart from the job log for the QTSMTPCLTD job in
QSYSRWK, where else? Maybe in QMSF jobs?

TIA

JS


This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2026 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.