I’m trying to use SMTP to send emails using IBM JCL (IEBGENER). This is the JCL I’m using.I’m getting INVALID COMMAND errors on the. The data termination in SMTP step is period “.”. So keep on repeating these and you can create multiple emails. //IEBGENER JOB ACCT,’DATA. I suspect that your SMTP service was upgraded and may have become more sensitive to errors in setting up messages — your example has a few.
|Published (Last):||12 February 2016|
|PDF File Size:||4.39 Mb|
|ePub File Size:||13.34 Mb|
|Price:||Free* [*Free Regsitration Required]|
Here is the JCL used:.
Send email with attachment on Mainframe using JCL – Technology Central
Has been the email server or client updated? The rules for the boundary subparameter are defined in RFC under multipart messages.
Email Required, but never shown. Unfortunately, I do not have access to the configuration files.
Email is sent with no body content via SMTP on Mainframe – Stack Overflow
IBM MAINFRAME & MVS FORUM
The boundary subparameter of the Content-type parameter relates to multipart messages it is the boundary delimiter between message parts. Also, the last boundary delimiter, the one that terminates the last part of the message should have two hyphens appended to it.
When I execute what you have posted, I receive Smp up using Email and Password. Raja Reddy 8 18 Since I receive different results than you, perhaps it is a configuration issue.
Using the IEBGENER utility to copy a mail file to a JES sysout file
Note that the blank lines in the above exampe are significant and that the last boundary delimiter has two trailing hypens. I suspect that your SMTP service was upgraded and may have become more sensitive to errors in setting up messages — your example has a few The Content-type of your message is not multipart so I imagine that “support” for the boundary subparameter may have been dropped yielding unpredictable results.
Surprisingly, It has worked till couple of days ago. All one physical line, just as shown. Sign up or log in Sign up using Google.