User Tools

Site Tools


pub:imailfunctions

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:imailfunctions [2018/08/16 11:44] kkramerpub:imailfunctions [2022/06/25 17:02] (current) – external edit 127.0.0.1
Line 1: Line 1:
-<html>&#091;</html>[[start | Up to Main Menu ]]<html>&#093;&#091;</html>  +<html>&#091;</html>[[start#imail | Up To iMail ]]<html>&#093;</html>
  
 ====== iMail Functions ====== ====== iMail Functions ======
Line 7: Line 6:
  
 <html><pre> <html><pre>
- IMAIL                     iMail Menu  5.00  08.09.08                            + IMAIL                     iMail Menu  6.96  11.30.20                            
 <font  color="#778899"> <font  color="#778899">
                                                                                                                                                          
Line 31: Line 30:
                                                                                                                                                                  
  F1=Help   F3=Exit   F12=Cancel                                                   F1=Help   F3=Exit   F12=Cancel                                                 
- © Copyright 1994, 2008 inFORM Decisions All Rights Reserved.                   + © Copyright 1994 - 2020 inFORM Decisions All Rights Reserved.                   
 </pre></html> </pre></html>
  
Line 38: Line 37:
 ===== Work with Spooled Files ===== ===== Work with Spooled Files =====
  
-This menu group contains three basic items: An option to send a spool file, an option to send a DB2 database file, and an option to send a simple email message. 
  
-Although these options have commands associated with each functionthe commands are not parameter driven commands that can be embedded within a CL program. iMail offers a complete set of commands that are parameter driven and can be embedded within a CL program. These commands are described in full in the section entitled API Send Mail Commands. +If the Work with Administration 'Allow to use WRKSPLFINF' value is Y (Default)choosing item 10 from the iMail menu displays the prompt screen ** Work with Spool File (MMRGSPLF)** as shown below. With this screen you can refine your search criteria. Type your choice and press enter, the following screen will be displayed.      
- +
-Choosing item 10 from the iMail menu displays a screen similar to the one below:+
  
 <html><pre> <html><pre>
- 6/23/07                          iMail 3.0                          IM0600C3   +                         Work with Spool File (MMRGSPLF)                         
-18:06:09                    Work with Spooled Files                  QSECOFR    +                                                                                 
-                            Outq:  DEMOOUTQ                                     + Type choices, press Enter.                                                      
-                             Lib:    QGPL                                       +                                                                                 
-5=Display   7=Email   9=Convert to IFS                                          + User ID  . . . . . . . . . . . . > *CURRENT      Name, generic*, *CURRENT...    
-                                                                                + Form Type  . . . . . . . . . . .   *ALL          Name, *ALL                     
-                                                               Total  Form      + User Data  . . . . . . . . . . .   *ALL          Name, generic**ALL           
-Opt File       Job        User       Outq       User Data  Sts Pages  Type      + Output Queue . . . . . . . . . . > *ALL          Name, *ALL                     
-    QPDSPLIB   EPG        QSECOFR    DEMOOUTQ              RDY     4  *STD      +   Library  . . . . . . . . . . .                 Name, *LIBL                    
-    QPDSPLIB   EPG        QSECOFR    DEMOOUTQ              RDY     4  *STD      + Job Name . . . . . . . . . . . .   *ALL          Name, **ALL                  
-    QPDSPLIB   EPG        QSECOFR    DEMOOUTQ              RDY     4  *STD      +   User Name  . . . . . . . . . .                 Name                           
-    QPDSPLIB   EPG        QSECOFR    DEMOOUTQ              RDY     4  *STD      +   Job Number . . . . . . . . . .                 000000-999999                  
-    QPDSPLIB   EPG        QSECOFR    DEMOOUTQ              RDY     4  *STD      +                                                                                 
-    QPDSPLIB   EPG        QSECOFR    DEMOOUTQ              RDY      *STD      +                                                                                 
-    QPDSPLIB   EPG        QSECOFR    DEMOOUTQ              RDY     4  *STD      +                                                                                 
-    QPDSPLIB   EPG        QSECOFR    DEMOOUTQ              RDY     4  *STD      +                                                                                 
-    QPDSPLIB   EPG        QSECOFR    DEMOOUTQ              RDY     4  *STD      +                                                                                 
-    QPDSPLIB   EPG        QSECOFR    DEMOOUTQ              RDY      *STD      +                                                                                 
-    QPDSPLIB   EPG        QSECOFR    DEMOOUTQ              RDY      *STD      +                                                                                 
-                                                                                +                                                                                 
-                                                                                +                                                                         Bottom  
-                                                                        Bottom  + F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display     
-F3=Exit   F5=User Profile   F12=Previous   F17=Top   F21=System                + F24=More keys                                                                  
 </pre></html> </pre></html>
  
-Note the screen may contains two types of spool files: Native or SCS AS/400 spool files and iDocs spool files. The two types of spool files can be distinguished from one another by examining the column entries beneath the column heading Total Pages. Entries with total pages of one followed by an asterisk signify a iDocs spool file, while those entries without an asterisk signify an System i spool file. +If 'Allow to use WRKSPLFINF' value is N, the prompt screen when user select option 10. Work with Spooled Files will be suppressed and the spool files list is shown immediately with the configured parameters for the current user as shown below (Equivalent to the WRKSPLF system command)
- +
-Option 5, Display, enables a user to display a native or SCS AS/400 Spool file just as you would with the same option in the OS/400 command WRKOUTQ.  +
- +
-Option 7, Email, enables a spool file to be emailed. Choosing this option for a spool file entry evokes the subsequent screen: +
    
 <html><pre> <html><pre>
- 6/23/07                            iMail                            IM0600D4   +  11/30/20                     iDocs Form Suite                        MRGSPLC1   
-18:07:11              Send iDocs Spooled file with iMail             QSECOFR    + 12:17:11                    Work with Spooled Files                  KKRAMER    
-                                                                                +                                                                                 
-                                                                                +                 2=Change  3=Duplicate  4=Delete  5=Display  8=Convert to IFS    
-From Address. . : addednow@informdeicions.com                         F4=List   +  9=Attribute  10=Email                                        21=Edit Splf      
-To Address. . . :                                                     F4=List   +                                                                Total Form       
-Cc Address. . . :                                                     F4=List   + Opt File       Job        User       Out Queue  User Data  Sts Pages Type       
-Attachment Name : QPDSPLIB2207010001    Zip: *NO      Type*PDF      F4=List   +     FIVEPAGE   QPADEV002B KKRAMER    FORM001    ALASKARR   RDY     *STD       
-                                                                                +     L88X132W   QPADEV002B KKRAMER    FORM001    CMST408    RDY    28 T4         
-Subject . . . . :                                                               +     L99X132W   QPADEV002B KKRAMER    FORM001    CMST4A08   RDY    15 T4A        
-                                                                                +     L22X132W   QPADEV002B KKRAMER    FORM001    CMS1099D08 RDY     3 1099D      
-                                                                                +     L88X085W   QPADEV002B KKRAMER    FORM001    CMSW208    RDY    85 W2         
-                                                                                +     L33X132W   QPADEV002B KKRAMER    FORM001    CMS1099M08 RDY     4 1099M      
-                                                                                +     L22X132W   QPADEV0002 KKRAMER    FORM001    CMS1099I08 RDY     3 1099I      
-                                                                                +     CMSPO      QPADEV000J KKRAMER    FORM001    REEVESPO   RDY     2 P.O.       
-                                                                                +     REEVESCC   QPADEV000J KKRAMER    FORM001    CMSPRSP7   RDY    17 PRCHECK    
-                                                                                +     W66X132L   QPADEV000J KKRAMER    FORM001    Swift Stub RDY    37 SWIFTSTUBS 
-                                                                                +     L42X85W    QPADEV000J KKRAMER    FORM001    SWIFTAPCK  RDY   375 SWIFTCHECK 
-                                                                                +     L66X132W   QPADEV000J KKRAMER    FORM001    Swift stub RDY     2 SWIFTSTUBS 
-                                                                                +     L42X85W    QPADEV000J KKRAMER    FORM001    LEONPLASTC RDY   106 *STD    +  
-                                                                                +                                                                                 
-                                                                                +  Record:        13 /       276                                                  
-F3=Exit   F4=User List   F7=Group List   F10=Send   F12=Cancel                 +  F3=Exit  F5=Reload  F11=Old view   F12=Previous  F17=Top  F18=Bottom           
 +                                                                                
 </pre></html> </pre></html>
  
-Note that the attachment name, QPDSPLIB2207010001, reflects the spool file name selected from the previous screen. The default type is *PDF.  Additionally, the type of the attachment can be specified to the right of the spool file name as *PCL, *PRN, or *TIF selected from the promptable list.  +Option 8Converts to IFS, does just that function. Selecting a spool file with this option enables a user to specify not only the location of where to copy to the file, but also the format that spool file should be converted to as illustrated below:
- +
-Option 9Move to IFS, does just that function. Selecting a spool file with this option enables a user to specify not only the location of where to copy to the file, but also the format that spool file should be converted to as illustrated below: +
  
 +<html><pre>
 +                       iMail Convert Spooled File (ECVTSPLF)                     
 +                                                                                
 + Type choices, press Enter.                                                     
 +                                                                                
 + Spool file name  . . . . . . . . > CMSPO         Name                          
 + Job name . . . . . . . . . . . . > QPADEV000J    Name, *                       
 +   User . . . . . . . . . . . . . >   KKRAMER     Name                          
 +   Number . . . . . . . . . . . . >   337611      000000-999999                 
 + Spool file number  . . . . . . . > 000000001     1-9999, *LAST                 
 + Converted spool types  . . . . .   *PDF          *FCFC, *HTML, *PCL, *PDF...   
 + IFS Directory  . . . . . . . . .   '/imail'                                    
 +                                                                                
 +                                                                                
 +                                                                                
 + IFS Filename . . . . . . . . . .   *SYSTEM                                     
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                         Bottom 
 + F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    
 + F24=More keys                                                                  
 +                                                                                
 +</pre></html>
  
 +Option 10, sends a spool file with iMail (if you have the module) as illustrated below:
  
 <html><pre> <html><pre>
- 6/23/07                        iMail 3.0                            IM0600S5 +  11/30/20                      iDocs Form Suite                       ESNDSPR1   
-18:35:03                     Convert Spooled File                    QSECOFR  + 12:23:55              Send iDocs Spooled File with iMail             KKRAMER    
-                                                                              +                                                                                 
-                                                                              +                                                                                 
-    Spooled file . . . . . . . . . .: QPDSPLIB                                + From Address. . : noreply@informdecisions.com                                   
-    Job name . . . . . . . . . . . .: EPG                                     + To Address. . . :                                                               
-      User . . . . . . . . . . . . .: QSECOFR                                 + Cc Address. . . :                                                               
-      Number . . . . . . . . . . . .: 0001                                    + From Page . . . :                                                             
-                                                                              + To Page . . . . :    17                               Type: *PDF                
-    Conversion type. . . . . . . . .: *PDF      F4=List                       + Subject . . . . :                                                               
-                                                                              + Request Delivery Receipt  (Y/N) Request Read Receipt:   (Y/N) Batch Mode: N   
-    File Name. . . . . . . . . . . .: QPDSPLIB2207010001                      +                                                                                 
-                                                                              +                                                                                 
-    IFS path of resulting conversionimail                                   +                                                                                 
-                                                                              +                                                                        
-                                                                              +                                                                                 
-                                                                              +                                                                                 
-                                                                              + F3=Exit   F4=Prompt   F7= Group List  F10=Send   F12=Cancel
-                                                                              +
-                                                                              +
-                                                                              +
-                                                                              +
-F3=Exit   F10=Convert   F12=Cancel                                           +
 </pre></html> </pre></html>
  
 +F4 (Prompt) in the Type field reveals the following output options: 
  
 +<html><pre> 
 +11/20/20                      iDocs Form Suite                       ESNDSPR1  
 +                                                                    IM0601W1   
 +                            Select an Attach Type                              
 +                                                                               
 +    1=Select                                                                   
 +                                                                               
 +  Opt  Type        Description                                                 
 +      *HTML     Hyper Text Markup Language                                      
 +      *RTF      Rich Text Format                                               
 +      *PDF      Portable Document Format                                       
 +      *TXT      Text                                                           
 +      *FCFC     Ansi Forms Control                                             
 +      *PRTCTL   Print Control                                                  
 +      *XLS      Microsoft Excel                                                 
 +      *XLSX     Microsoft Excel                                                 
 +                                                                               
 +                                                                               
 +                                                                               
 +                                                                               
 +                                                                               
 +                                                                               
 +   F12=Previous                                                                
 +                                                                               
 +                                                                              </pre></html>
  
  
Line 158: Line 194:
 | *SAVF| System i Save File       | Requires that the source file already be a save file   | | *SAVF| System i Save File       | Requires that the source file already be a save file   |
 | *TXT | Text                     | Fixed format text file with no field delimitation      | | *TXT | Text                     | Fixed format text file with no field delimitation      |
-| *XLS | Excel format             | Fully compatible Excel format*                         |+| *XLS | Excel format             | Fully compatible Excel binary format*                         | 
 +| *XLSX| Excel format             | Fully compatible Open XML format* (2007+)                        | 
 \\ \\
 \\ \\
-Prior to using *XLS to send a database in Excel format, the command IMAILIFS needs to first be issued to install the Java dependecies used to create the Excel file form the DB2 database. The syntax for using this command is:+Prior to using *XLS/*XLSX to send a database in Excel format, the command IMAILIFS needs to first be issued to install the Java dependecies used to create the Excel file form the DB2 database. The syntax for using this command is:
 \\ \\
 \\ \\
Line 171: Line 209:
 \\ \\
 <html><pre> <html><pre>
- 6/23/07                          iMail 3.27                     IM0636         + 6/23/18                            iMail                        IM0636         
-18:07:51                      Send Database File                 QSECOFR       +18:07:51                      Send Database File                 KKRAMER       
                                                                                                                                                                
                                                                                                                                                                
Line 201: Line 239:
   - Limited to emailing a single database file.   - Limited to emailing a single database file.
   - Limited to 80 characters for the sender and recipient addresses   - Limited to 80 characters for the sender and recipient addresses
-  - Limited to 300 direct recipients in the To address +  - Limited to 300 direct recipients in the To address* 
-  - Limited to 300 direct recipients in the Cc address in addition to those in the To address +  - Limited to 300 direct recipients in the Cc address in addition to those in the To address* 
-  - Limited to 300 blind copy recipients in the Bc address+  - Limited to 300 blind copy recipients in the Bc address*
   - Limited to 80 characters for the subject   - Limited to 80 characters for the subject
   - Limited to 2048 characters for the message   - Limited to 2048 characters for the message
Line 214: Line 252:
     - XLS - Maximum columns 255, Maximum column width 256     - XLS - Maximum columns 255, Maximum column width 256
     - TXT - Maximum columns 255, Maximum column width 256     - TXT - Maximum columns 255, Maximum column width 256
 +
 +* iMail 6.90 and above supports blank, comma or semi-colon as address separators in TO, CC and BC addresses. 
 </pre></html> </pre></html>
  
Line 223: Line 263:
 \\ \\
 <html><pre> <html><pre>
- 6/23/07                          iMail 3.0                      IM0606         + 8/16/18                           iMail                         IM0606                        
-18:08:42                      Send iMail Message                 QSECOFR       +18:08:42                      Send iMail Message                 KKRAMER       
                                                                                                                                                                
 Type information, press Enter                                                   Type information, press Enter                                                  
Line 253: Line 293:
 Once the recipients have been entered and the subject and message body typed in, pressing F10 sends the email to the desired users. Once the recipients have been entered and the subject and message body typed in, pressing F10 sends the email to the desired users.
  
 +**NOTE:** The <CR> tag can be used to insert a line break or carriage-return within the message body. 
  
pub/imailfunctions.1534445045.txt.gz · Last modified: 2022/06/25 17:02 (external edit)