by SGZ » Thu Oct 28, 2010 12:50 pm
hey folks,
if smtp is running on your system, you can things like this:
//IEBGENER EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSUT1 DD *
helo smtp
mail from:<x.y§abc.com>
rcpt to:<a.by§abc.com>
data
date: 30 jan 04 14:48:47 +0200
from:<x.y§abc.com>
to:<a.b§abc.com>
subject: a mail
text text
/*
//SYSUT2 DD SYSOUT=(Z,SMTPSERV), <- depends on your smt defintions
// DCB=(LRECL=80,BLKSIZE=80,RECFM=F,DSORG=PS)
//SYSOUT DD SYSOUT=A
//SYSPRINT DD SYSOUT=A
anything is working in z/os, file attachement, mime and so on.
regards