User Tools

Site Tools


pub:imail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pub:imail [2024/04/02 12:52] – [Work with Log] kkramerpub:imail [2025/03/21 20:47] (current) – [User Profile Considerations] kkramer
Line 260: Line 260:
   * When the data area is set to 'N' then the iMail log will display without restriction.   * When the data area is set to 'N' then the iMail log will display without restriction.
   * When the data area is set to 'Y' then the iMail log will restrict access to users so they only see their own emails and the '4=Delete', '7=Resend' and '9=Forward Mail' aren't displayed as options.  Only User Profiles with *SECOFR and *SECADM will be able to see all mail logs and be able to use the "4=Delete" and '7=Resend' and '9=Forward Mail' options.   * When the data area is set to 'Y' then the iMail log will restrict access to users so they only see their own emails and the '4=Delete', '7=Resend' and '9=Forward Mail' aren't displayed as options.  Only User Profiles with *SECOFR and *SECADM will be able to see all mail logs and be able to use the "4=Delete" and '7=Resend' and '9=Forward Mail' options.
- 
-  * Option 4 Deletes the eMail 
-  * Option 5 Displays the eMail 
-  * Option 7 Resend the eMail 
-  * Option 8 Displays the eMail log 
-  * Option 9 Forwards the eMail by displaying the EFWDLOG screen (see below) 
- 
  
 <html><pre> <html><pre>
Line 293: Line 286:
                                                                                                                                                                                                        
 </pre></html> </pre></html>
 +
 +  * Option 4 Deletes the eMail (CONFIRM by answering Y/N)
 +  * Option 5 Displays the eMail message details
 +  * Option 7 Resend the eMail
 +  * Option 8 Mail job log is only available for error transactions 
 +  * Option 9 Forwards the eMail by displaying the EFWDLOG screen shown below. (Enhancement to iDocs 8.00; 03/27/24)
 +<html><pre>
 +                       Forward iMail Transaction (EFWDLOG)                      
 +                                                                                
 + Type choices, press Enter.                                                     
 +                                                                                
 + iMail Log ID (ELMAILID)  . . . . > 202404011025400830000000                    
 + To Address . . . . . . . . . . .   ken@informdecisions.com                                            
 +                                                                                
 +                                                                                
 + Subject  . . . . . . . . . . . .   *SAME                                       
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                         Bottom 
 + F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    
 + F24=More keys                                                                  
 +                                                                                
 +</pre></html>
 +**Paramaters:**
 +  * MSGID (26A): user inputs 26 characters which retrieves record from file FRMEMLLOG by field ELMAILID; 
 +  * TOADDR (128A): user inputs new destination addresses, seperated by blank or colon; 
 +  * SUBJECT (128A): *SAME if user wants to use same subject in field ELEMSUBJ of FRMEMLLOG or enter new subject 
 +
 The **F8** function runs the [[pub:miscadmincmd|PRGMAILLOG]] command to purge the email log file. The **F8** function runs the [[pub:miscadmincmd|PRGMAILLOG]] command to purge the email log file.
  
Line 415: Line 445:
 In most PC based email systems this type of distribution list would be limited to a table confined to potential recipients. This is not true of iMail. Although recipient email addresses can be created here, sender email addresses are created and maintained in this program as well.  Moreover, once a sender’s email address is created that address can be associated with an AS/400 User profile. In this way, when sending an email a user’s originating email address can automatically be generated. In most PC based email systems this type of distribution list would be limited to a table confined to potential recipients. This is not true of iMail. Although recipient email addresses can be created here, sender email addresses are created and maintained in this program as well.  Moreover, once a sender’s email address is created that address can be associated with an AS/400 User profile. In this way, when sending an email a user’s originating email address can automatically be generated.
  
 +====== User Profile Considerations ======
 +With IBM i, user profiles can be created with names up to 10 characters. However, when adding a user to the SNA (Systems Network Architecture) directory entry system using the ADDDIRE command, the User ID (USRID) field is restricted to 8 characters maximum. This limitation stems from legacy SNA and OfficeVision compatibility requirements.
 +
 +When a user profile name exceeds 8 characters (e.g., MWTRAIN10), only the first 8 characters (MWTRAIN1) are used in the directory USRID. This leads to conflicts when:
 +
 +  * Multiple user profiles share the same first 8 characters.
 +  * Directory entries become ambiguous or overwrite each other.
 +  * Messaging and routing via SNADS or other directory-dependent functions fail or misroute messages.
 +
 +**Conflict example:**
 +
 +^ User Profile: ^ Intended Directory ID: ^ USRID truncation:                                                            ^
 +|MWTRAIN1  |MWTRAIN1 |MWTRAIN1 | 
 +|MWTRAIN10 |MWTRAIN10 |MWTRAIN1 (conflict) | 
 +
 +In the example above, both users map to MWTRAIN1 in the SNA directory, causing a conflict.
 +
 +**Resolution: Use Alias IDs (≤8 Characters) for Directory Entries**
 +
 +To avoid conflicts while preserving your actual user profile names, you can assign a unique 8-character alias for the directory entry's USRID and link it to the full user profile using the USER() parameter. This allows the directory to uniquely identify each user while complying with the 8-character limit. 
 +
 +**Example Alias Directory Entries:**
 +
 +MWTRAIN10 → Alias: MWTRN010
 +
 +ADDDIRE USRID(MWTRN010 LCLSYSTM) USRD('Alias for MWTRAIN10') USER(MWTRAIN10)
 +
 +
 +==== Work with distribution list ====
 Work with public distribution list, shows the initial public table of email addresses. The maintenance program uses the standard editing options and functions keys to maintain the list. Using an option 1 next to the email address enables that entry to be edited, whereas pressing the F6 key adds a new record to the email table. Work with public distribution list, shows the initial public table of email addresses. The maintenance program uses the standard editing options and functions keys to maintain the list. Using an option 1 next to the email address enables that entry to be edited, whereas pressing the F6 key adds a new record to the email table.
  
pub/imail.1712087564.txt.gz · Last modified: 2024/04/02 12:52 by kkramer