Posted Mon, 30 Jan 2023 20:13:13 GMT by Ron Bedard Asahi/America
The EXECUTE command doesnt have a sender name or sender email and there's no override user option.  I dont want to have to create a data area in QTEMP in every CL pgm we have using the EXECUTE cmd.  How can the from email address be set globally ?
Posted Fri, 21 Apr 2023 13:55:18 GMT by Rich Galeba
&#160; <table cellpadding=4 cellspacing=2 height="100%" width="100%"> <tbody> <tr> <td>Where does ESEND get the from address when sending emails?</td> </tr> <tr> <td></td> </tr> <tr> <td>Summary</td> </tr> <tr> <td><br> Subject:<br> Where does ESEND get the 'from' address when sending emails?<br> <br> <br> Solution:<br> ESEND uses several sources for deriving this 'From' or return address for the messages it sends; it always searches these sources in the order discussed below.<br> 1 - Data area named ESNDADTA in QTEMP.<br> 2 - ESEND address database maintained using the ESNDADR command.<br> 3 - System Alias Table<br> 4 - Derived by concatenating the USER ID with the system Domain Name entered in the TCP/IP configuration.<br> <br> Note:<br> For further information, see Appendix C (Defining the 'Return' Address) in the ESEND User Guide.<br> The file that is used for the ESNDADR command is: ESNDADRP in ESEND</td> </tr> </tbody> </table>

You must be signed in to post in this forum.