Rogers,
If you want the email to appear that it always originated from the same user, but if you have different users running the same job, do a SWPUSRPRF to a userprofile email service account.
In our case we made the email service account match the system name, so we would know which LPAR sent the email.
SWPUSRPRF USRPRF(PENCOR05) CMD(SNDDST TYPE(*LMSG)
TOINTNET((psteinmetz@xxxxxxxxxx)) DSTD(TEST) LONGMSG(TEST))
Paul
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Bakutis, Becky
Sent: Monday, March 03, 2014 5:20 PM
To: Midrange Systems Technical Discussion
Subject: RE: SNDDST Command
Try this:
WRKDIRE (find entry)
2 to change or 5 to display
F19 Change name for SMTP (change as needed)
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Laine, Rogers
Sent: Monday, March 03, 2014 2:30 PM
To: 'Midrange Systems Technical Discussion'
Subject: SNDDST Command
I'm doing a SNDDST command in a CL program to send to Outlook.
When I receive the email from Outlook the FROM address has this SYST012#SYST012@xxxxxxxxxxxxx<mailto:SYST012#SYST012@xxxxxxxxxxxxx>.
Where is this information being constructed. I would like for it to be something else. So can be it changed?
Rogers
************************************************
This E-Mail transmission (and/or the documents accompanying it) may contain information belonging to the sender which is confidential, privileged and/or exempt from disclosure under applicable law. The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this E-Mail transmission in error, please immediately notify us by return E-Mail or telephone to arrange for return of its contents including any documents.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.