The easiest way to determine who is having the problem sending or receiving emails using SMTP would be to run a foreground or batch job that has the trace - EN$TRNTF.
Set up an allocate DD to your foreground session as follows:
ALLOC DD (EN$TRNTF) DA (MY.SMP.TRACE.DATSET) MOD
Make sure that the dcb setting are set as:
RECFM (FBA)
LRECL (133)
BLKSIZE (MULTIPLE OF 133)
To stop the trace:
FREE DD (EN$TRNTF)
If the trace contains information, it means that we have sent the data to SMTP.
If the trace does not have any information, then it is a Endevor problem.