I have used the following XMIT commands to send the email. I used these commands from REXX. I am not sure why but this is sending every e-mail 2 times. But when I look in to the log to check for any hints, the log of XMIT shows only one entry per email.
Code: Select all
"XMIT "MAILSTO" MSGDSN('"LVERRMSG"') LOGDATASET('"LVMAILLOG"'), NONOTIFY"