Looks to me that there are missing less thans (<) before the &amp;ltuser. 
occurrences.

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU>
Sent: Dec 11, 2022 11:29 AM
To: <IBM-MAIN@LISTSERV.UA.EDU>
Subject: Why email from z/OS SMTP rejected by Gmail?

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 &ndash; pretty much straight out of the IP User&rsquo;s 
Guide &ndash; 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:<charl...@mcn.org>              
RCPT TO:&amp;ltuser.n...@gmail.com>                           
RCPT TO:<charl...@mcn.org>                                
DATA                                                      
Importance: high                                          
From: LPAR<charl...@mcn.org>         
To: &amp;ltuser.n...@gmail.com>                               
To: <charl...@mcn.org>                                    
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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to