Sender's E-Mail Address on External E-Mails

Goal
Solution
 Senders E-mail Address When E-mail is Sent Via a UBE Report
 Sender's E-mail Address when E-mail is Sent Via a Workflow
 Sender's E-mail Address when E-mail is Sent Via a Shortcut
 Sender's E-mail Address when E-mail is Sent Via OMW Notification
 Sender's E-mail Address when E-mail is Sent Via a Table Trigger
 Sender's E-mail Address when E-mail is Sent using the Send Message Extended System Function
 Set up Address Book For External Email

Goal

In EnterpriseOne 8.9 and beyond, what determines the sender's e-mail address on external e-mails sent via UBEs, workflow, send shortcuts and table triggers?

Solution

The following info is base on jde.ini JDEMAIL template in this format

[JDEMAIL]
Rule1=90|OPT|MAILSERVER=smtpservername.domain.com
Rule2=100|DEFAULT|OWMON=OWMON@domain.com
Rule3=110|DEFAULT|PSFT_SYSTEM=PSFT_System@domain.com
Rule4=120|DEFAULT|JDE_SYSTEM=JDE_System@domain.com
Rule5=130|DEFAULT|WORKFLOW_SYSTEM=Workflow@domain.com
Rule6=140|OPT|MERGELOCAL=1
Rule7=150|OPT|UPDATELOCAL=0
SMTPPort=25

 

Note:

1. Starting with 8.11 and beyond, email address is stored in F01151. Prior to 8.11, email address is stored in F0111.
2. The info here does not apply to Xe or ERP8.
3. Rule5=130|DEFAULT|WORKFLOW_SYSTEM is obsolete as of 8.93.J1
4. SMTPPort= available starting with Tools 9.1.2

 

 

Senders E-mail Address When E-mail is Sent Via a UBE Report

When a UBE is submitted by a user, that user's e-mail address set up in the F0111 (prior to 8.11) or F01151 (8.11 and beyond) will be the sender's e-mail address for the external e-mail indicating the Job Completed Successfully or Unsuccessfully.

If the user that submitted the UBE is not set up to receive external e-mails, the Job Completed Successfully or Unsuccessfully message will go to their Work Center.

 

Sender's E-mail Address when E-mail is Sent Via a Workflow

Rule3 determines the senders email address when using workflow.   Rule3 is shipped with: Rule3=110|DEFAULT|PSFT_SYSTEM=PSFT_System@domain.com and can be changed as follows:

Rule3=110|DEFAULT|PSFT_SYSTEM=PSFT_System@mailservername.com  (mailservername.com is determined by Rule1)

Rule3=110|DEFAULT|PSFT_SYSTEM=email@domain.com

NOTE: The PSFT_SYSTEM (the portion before the "=" sign) has been hard coded as the sender's e-mail address as per Bug 12515088 (8.93.J1) for security reasons. 

 

 

Sender's E-mail Address when E-mail is Sent Via a Shortcut

When an external e-mail is sent via a shortcut, the sender's e-mail address will come from the following hierarchy:

First, the e-mail address of the user that is sending the shortcut defined in the F0111 (prior to 8.11) or F01151 (8.11 and beyond).
Second, Rule3=110|DEFAULT|PSFT_SYSTEM=PSFT_SYSTEM@mailserver.com

For example:
The user sending the shortcut has a F0111 (prior to 8.11) or F01151 (8.11 and beyond) external e-mail address of email@domain.com.  That user sends a shortcut to someone and they receive an e-mail with the sender's e-mail address as email@domain.com (the external e-mail from preference/F0111/F0115) not Rule3.
 
However, if the user does not have an external e-mail address in the F0111 (prior to 8.11) or F01151 (8.11 and beyond) and they send a shortcut to someone, the e-mail will have a sender's e-mail address of PSFT_SYSTEM@mailserver.com.

If the user receiving the shortcut is not set up to receive external e-mail, they will receive the shortcut in the Work Center.

Note:  even if Rule3 is set to a specific e-mail address:
Rule3=110|DEFAULT|PSFT_SYSTEM=email@domain.com
that specific e-mail address will be ignored and the hard coded PSFT_SYSTEM@mailserver will be used.

Tested in App 9.0 Tools 9.1.4.7, email in Rule3 is set to donotreply@domain.com via Server Manager and the email is used when sending shortcut.

 

 

Sender's E-mail Address when E-mail is Sent Via OMW Notification

In the JDEMAIL section of the jde.ini:
Rule2=100|DEFAULT|OWMON=OWMON@domain.com - this is the sender's e-mail address for an external e-mail sent from an OMW action when using OMW notification.

 

Sender's E-mail Address when E-mail is Sent Via a Table Trigger

When an e-mail is sent via a table trigger, the e-mail address set up in the F0111 (prior to 8.11) or F01151 (8.11 and beyond) of the user who triggered the sending of the email will be the sender's e-mail address for the external e-mail. If that e-mail is not defined in the F0111 (prior to 8.11) or F01151 (8.11 and beyond) table, the sender will be PSFT_SYSTEM.  A sender of PSFT_SYSTEM will cause some SMTP servers to error.

Sender's E-mail Address when E-mail is Sent using the Send Message Extended System Function

When a message is sent using the Send Message Extended system function the following rules are applied.
First, the e-mail address defined in the F0111 (prior to 8.11) or F01151 (8.11 and beyond) for the user sending.
Second, Rule3=110|DEFAULT|PSFT_SYSTEM=PSFT_SYSTEM@mailserver.com

 

Set up Address Book For External Email

External Mail Setup for Releases 8.9 and Later