User Tools

Site Tools


pub:smartrouting

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
Next revisionBoth sides next revision
pub:smartrouting [2020/09/22 14:42] – [Database Definition for Email] kkramerpub:smartrouting [2021/08/09 19:36] – [iMail] kkramer
Line 103: Line 103:
 The last field specifies the location where the output spool files should be placed if the email address can not be retrieved, i.e. the lookup on the database using the specified key fails. If the lookup succeeds but the address is not deliverable, the email is sent to the email server which handles it separately - examine the inbox of the sender's email address on the email server. Email undeliverable at the server is not returned to iMail/iDocs. If the address lookup succeeds but the email server rejects the send, examine the iMail log. The last field specifies the location where the output spool files should be placed if the email address can not be retrieved, i.e. the lookup on the database using the specified key fails. If the lookup succeeds but the address is not deliverable, the email is sent to the email server which handles it separately - examine the inbox of the sender's email address on the email server. Email undeliverable at the server is not returned to iMail/iDocs. If the address lookup succeeds but the email server rejects the send, examine the iMail log.
  
-Please note that in iDocs 5.0 and subsequent versions the address failure outqueue must be specified separately using option 18 from the [[defineform | main form list]].+Please note that in iDocs 5.0 and subsequent versions the address failure outqueue must be specified separately using **option 18** from the [[defineform | main form list]].
 <html><pre> <html><pre>
   9/22/20                                                             SRSPLCS1     9/22/20                                                             SRSPLCS1  
Line 133: Line 133:
 ===== Email Defaults ===== ===== Email Defaults =====
  
-From the iMAIL external routing screen the delivery parameters were specified for the recipient, but not the sender, subject and message body. These values can be specified by pressing the F6 key to specify the email default values.+From the iMAIL external routing screen the delivery parameters were specified for the recipient, but not the sender, subject and message body. These values can be specified by pressing the **F6** key to specify the email default values.
  
 <html><pre> <html><pre>
-  03/11/11                     iDocs Form Suite                        FM1200S3   +  9/22/20                                                             SRSPLCS2  
- 10:34:51                    iMail Document Routing                   QSECOFR    + 14:42:59              Smart Routing Spool Configuration              KKRAMER   
-                                                                                 +                            iMail Interface Defaults                            
- Type information, press Enter.                                                  +   Application:   ADELWACK                                                      
-                                                                                 +                                                                                
-   Application: DEMOINV    DEMO. INVOICE FORM                                    +  From:                                                                         
-                                                                                 +  To:                                                                           
-  From:     defaultfrom@informdecisons.com                                       +  Subject:                                                                      
-  To:       info@informdecisions.com                                            +  CC:                                                                           
-  Subject:  Default Subject                                                      +  BCC:                                                                          
-                                                                                 +  Request Delivery Receipt:    (Y/N)        Request Read Receipt:    (Y/N)      
-  Message Default Line 1                                                         +                                                                                
-  Message Default Line 2                                                         +                                                                                
-  Message Default Line 3                                                         +                                                                                
-  Message Default Line 4                                                         +                                                                                
-  Message Default Line 5                                                         +                                                                                
-  Message Default Line 6                                                         +                                                                                
-  Message Default Line 7                                                         +                                                                                
-                                                           +                                                                                
-                                                                                 +                                                                                
-                                                                                 +                                                                                
-                                                                                 +                                                                                
- F3=Exit   F10=Update   F12=Cancel                                              + F3=Exit   F10=Update   F12=Cancel   F13=Attachment Path                        
 +                                                                               
 </pre></html> </pre></html>
  
-From this screen, enter the default from address, subject and associated text. Press the F10 key to save the values and return back to the form definition maintenance.+From this screen, enter the default from address, subject and associated text. Press the **F10** key to save the values and return back to the form definition maintenance.
  
 Note that one does not have to specify a default to address – that is determined as part of the Smart Routing processing. If you do not specify a default from address then the default contained in the iMail configuration will be used. Note that one does not have to specify a default to address – that is determined as part of the Smart Routing processing. If you do not specify a default from address then the default contained in the iMail configuration will be used.
Line 408: Line 409:
                   Second mapped field (*SUB2140) = '+Second field+' (20 character max)                    Second mapped field (*SUB2140) = '+Second field+' (20 character max) 
  
 +** Using individual mapped fields to create the Subject Line: **
 +
 +On the Subject's Constant Value field, you can use a text for the constant plus the name of the Mapped Field preceded by & to insert the value from the Mapped Field.
 +
 +Example:
 +Select the form application with option **8=Work with map fields** and review the defined mapped fields: 
 +<html> <pre>
 +  8/09/21                     iDocs Form Suite                        FM2540C1  
 + 19:00:28              Spooled Datamap Field Maintenance              KKRAMER   
 +                       Form: ANGUYENSR1 Spoolfile EMAIL_TEXT                    
 +                                                                                
 +  1=Select   3=Copy   4=Delete   5=Display                                      
 +                                                                                
 +                                      From     To     Map                       
 + Sel Fld Name   Description          Row Col Row Col  Type   Fld   Xloc    Yloc 
 +     BLOCK001   Invoice Number        10  14  10  23              678     618 
 +     BLOCK002   Bill to               13    18  23              678     921 
 +     BLOCK003   Property Number       10  72  10  93              678     718 
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                                
 +                                                                         Bottom 
 +                                                                                
 + F3=Exit   F6=Add   F7=Font/No Font   F12=Cancel                                
 +                                                                                
 +                                                   
 +</pre> </html> 
 +
 +Work with Form Application and select option **14=Smart Routing**. The following Smart Routing Configuration screen is displayed:  
 +
 +<html> <pre>
 +  8/09/21                      iDocs Form Suite                       FM1205R1  
 + 18:39:47               Smart Routing Configuration                   KKRAMER   
 +                                                                                
 + Application: ANGUYENSR1 Description: Spoolfile EMAIL_TEXT                      
 + 1st Key: INVOICDEID  -  2nd Key:              3rd Key:                       
 + IFDClient DataQ :             Library :             Data :                     
 + Email Settings                                                                 
 +  File SRTEST1      Library . ANGUYEN       Member  *FIRST                      
 +  TO Address  . . . . . . . . @EMAILTO      Extract Field From         To       
 +   OR Constant Value  . . . .                                                   
 +  Invalid Mail Out Queue  . . TUANANH       Library QGPL                        
 + Fax Settings                                                                   
 +  File SRTEST1      Library . ANGUYEN       Member  *FIRST                      
 +  To Fax Number . . . . . . . @FAXTONO      Extract Field From         To       
 +   OR Constant Value  . . . .                                                   
 +  Invalid Fax Out Queue . . . TUANANH       Library QGPL                        
 + Print Settings                                                                 
 +  File              Library . *LIBL         Member  *FIRST                      
 +  Printer Queue  *LIBL      /               Extract Field From         To       
 +   OR Constant Value:   Queue               Library *LIBL                       
 +  Invalid Printing Queue  . . FORM001       Library IDOCS6                      
 + F3=Exit  F4=Prompt    F6=Email Settings   F7=Fax Settings  F9=Delete SR        
 + F8=Print Settings  F10=Update   F12=Previous        F13=Attachment Output      
 +                                                   
 +</pre> </html> 
 +
 +Now select **F6=Email Settings**. The following Smart Routing Configuration - Email screen is displayed:  
 +<html> <pre>
 +  8/09/21                      iDocs Form Suite                       FM1205C2  
 + 19:08:18          Smart Routing Configuration - Email                KKRAMER   
 +                                                                                
 + Application: ANGUYENSR1 Description: Spoolfile EMAIL_TEXT                      
 + File: SRTEST1     Library . ANGUYEN       Member  *FIRST                       
 + Conditional Setting:  DB Field             Extract Field From         To       
 +   Operator  Spool Map Fld  OR  Constant (*BLANK, *ZERO, Value)                 
 +                                                                                
 +                                                                                
 +  From Address. . . . . . . .               Extract Field From        To        
 +   OR Constant Value  . . . .                                                   
 +  CC Address  . . . . . . . .               Extract Field From        To        
 +   OR Constant Value  . . . .                                                   
 +  BCC Address . . . . . . . .               Extract Field From        To        
 +   OR Constant Value  . . . .                                                   
 +  Subject . . . . . . . . . .               Extract Field From        To        
 +   OR Constant Value  . . . . Invoice &BLOCK001 CUSTOMER NUMBER &BLOCK003                       
 +  Request Delivery Receipt  . N (Y/N)       Request Read Receipt N (Y/N)        
 +  Message . . . . . . . . . .               Extract Field From         To       
 +   OR Constant Value  . . . .                                                   
 +   This is test message of smart routing dynamic SUBJECT from mapped fields     
 +                                                                              + 
 + F3=Exit   F4=Prompt   F10=Update   F12=Previous                                
 +</pre> </html>  
 +Note that **Invoice** is the constant value text\\
 +**&BLOCK001** will insert the value collected from Mapped Field BLOCK001 (Row 10 Col.14-23)\\
 +**&BLOCK003** will insert the value collected from Mapped Field BLOCK003 (Row 10 Col. 72-93)\\
  
 +Output example of Subject line:
 ===== iFax ===== ===== iFax =====
  
pub/smartrouting.txt · Last modified: 2022/06/25 17:02 by 127.0.0.1