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):||6 July 2006|
|PDF File Size:||8.91 Mb|
|ePub File Size:||13.83 Mb|
|Price:||Free* [*Free Regsitration Required]|
Post as a guest Name. Unfortunately, I do not have access to the configuration files.
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.
My bad, you’re right. ieggener
Sending an Email from JCL with attachment –
Has been the email server or client updated? Sign up using Email and Password. The rules for the boundary subparameter are defined in RFC under multipart messages. Proper jebgener of the boundary delimiter in a multipart message generally requires that the boundary delimiter be followed by a blank line.
Still trying, thanks for your time. Sign up using Facebook.
The boundary subparameter of the Content-type parameter relates to multipart messages it is the boundary delimiter between message parts.
Email Required, but never shown. Note that the blank lines in the above exampe are iebgrner and that the last boundary delimiter has two trailing hypens. Here is the JCL used: Sign up or log in Sign up using Google.
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 Surprisingly, It has worked till couple of days ago. Taking all this into consideration, a conforming message would look more like: When I execute what you have posted, I lebgener Since I receive different results than you, perhaps it is a configuration issue.
All one physical line, just as shown. Here is the JCL used:. So it’s hard to pick the pit. Edited the answer and removed my comment.