What level z/OS? SMPT or CSSMPT? I would suspect a need to further configure due to some newer gmail requirements. Probably only available using CSSMPT
> -----Original Message----- > From: IBM Mainframe Discussion List <[email protected]> On > Behalf Of Charles Mills > Sent: Sunday, December 11, 2022 10:29 AM > To: [email protected] > Subject: Why email from z/OS SMTP rejected by Gmail? > > [EXTERNAL EMAIL] > > Has anyone else seen this? I have a couple of z/OS applications that send > status emails. The emails go to several addresses without error. Some of the > emails are plain text format, and some are HTML. > > I recently added an @Gmail address to the emails and the plain text email > *only* is being rejected by Gmail with the following error: > > host gmail-smtp-in.l.google.com[142.251.15.26] said: > 550-5.7.1 [66.180.7.182] Messages missing a valid messageId header are > not > 550 5.7.1 accepted. 4- > 20020a250404000000b006de730f5057si5474769ybe.296 - > gsmtp (in reply to end of DATA command) > > Here is an example – pretty much straight out of the IP User’s Guide – that > duplicates the problem. The @mcn address works but the @gmail address > bounces. Has anyone else seen this? Any ideas? > > //IEBGENER EXEC PGM=IEBGENER > //SYSIN DD DUMMY > //SYSUT1 DD * > HELO server > MAIL FROM:<[email protected]> > RCPT TO:<[email protected]> > RCPT TO:<[email protected]> > DATA > Importance: high > From: LPAR<[email protected]> > To: <[email protected]> > To: <[email protected]> > Subject: Please tell me if you get this email!!! > > Mike: Cindy stubbed her toe. Bobby went to > baseball camp. Marsha made the cheerleading team. > Jan got glasses. Peter has an identity crisis. > Greg made dates with 3 girls and couldn't > remember their names. > . > QUIT > /* > //SYSUT2 DD SYSOUT=(B,SMTP) > //SYSPRINT DD SYSOUT=* > > Thanks, > Charles > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
