Hi,
I believe your spacing is slightly off, and you need apostrophes around your subject (if it has spaces):
=VALID(PUT("EMAIL","-TV -PROTO inet -SERVER "+Server+" -TO "+Tomail+"-FROM"+frommail+"-SUBJECT"+Submail+"",Bodymail),FAIL(""))+LASTERRORMSG()
to
=VALID(PUT("EMAIL","-TV -PROTO inet -SERVER "+Server+" -TO "+Tomail+" -FROM "+frommail+" -SUBJECT '"+Submail+"'",Bodymail),FAIL(""))+LASTERRORMSG()
Thank you.
------------------------------
Paul Brett
IBM Sterling Transformation Extender (ITX) Client Support
------------------------------
Original Message:
Sent: Tue February 15, 2022 08:47 AM
From: Amit Tabagouda Umarani
Subject: Using ITX Email adapter with Gmail
I was trying to send mail from ITX to gmail using hmail server , map completed successfully but email is not getting delivered. In the .mtr file its showing that "No valid From or Sender headers found (must be exactly one originator)." in the hmail server i have created account user1@training.lab and set ITX range , in SMTP Relayer i have given Remote host name as relay plus.net
In server input card i have mentioned ECHO as source and data as localhost.
------------------------------
Amit Tabagouda Umarani
------------------------------
#DataExchange
#IBMSterlingTransformationExtender