User Tools

Site Tools


pub:smartrouting6

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:smartrouting6 [2021/08/10 14:01] – [Using individual mapped fields to create the Subject Line:] kkramerpub:smartrouting6 [2025/09/22 19:24] (current) – [Email Settings] kkramer
Line 92: Line 92:
 Some other settings are: From Address, CC Address, BCC Address, Email Subject, Mail Message… have similar usage as To Address in main screen, it means only database field, column position or constant value is input. Some other settings are: From Address, CC Address, BCC Address, Email Subject, Mail Message… have similar usage as To Address in main screen, it means only database field, column position or constant value is input.
  
-* **CC Address:** indicate the CC address; the usage is same as ‘TO Address’. The intention of adding the constant value is in case the user wants to have a copy to someone; he will not need to change his existing database.+* **CC Address:** indicate the CC address; the usage is same as ‘TO Address’. The intention of adding the constant value is in case the user wants to have a copy to someone; they will not need to change their existing database.
  
 * **BCC Address:** indicate the BCC address, the usage is same as **TO Address** * **BCC Address:** indicate the BCC address, the usage is same as **TO Address**
  
-* **Subject:** indicate the subject of email. The user can either retrieve from database or input a constant value.+* **Subject:** indicate the subject of email. The user can input a constant value and/or retrieve information from the database or from the spool file attributes (6.99 4/12/22).
  
 * **Request Delivery Receipt**  and **Request Read Receipt** should be ‘Y’ or ‘N’ * **Request Delivery Receipt**  and **Request Read Receipt** should be ‘Y’ or ‘N’
  
-* **Message:** indicate the email message. The user can either retrieve from database or input constant value.+* **Message:** indicate the email message. The user can input a constant value and/or retrieve information from the database or from the spool file attributes (6.99 4/12/22). 
 + 
 +**Instructions to create HTM file to use to format the body of an email with using Smart Router.**\\ 
 +  
 +**Part 01:** Create the file to use:\\ 
 +  
 +Use Microsoft Word to create a new document 
 +Change the View  to Web Layout if available, otherwise, Print Layout will do fine 
 +Configure the text you want to use in the body of the email. 
 +Once done, save the document by selecting Save As and then selecting Other Formats 
 +Select .htm (Web page) 
 +Save the file using a unique name. 
 +For example, the saved file would be like this one:\\ 
 +{{:pub:smartrouting:sr_f6_email_settings_htm_001.png?600|}} 
 +\\ 
 +**Part 02:** Save the file to the /imail folder on your IBMi:\\ 
 +Upload the newly saved .htm file to your IBMi in the /imail folder.\\ 
 + 
 +**Part 03:** Update your Form Application’s email body configuration within the Smart Routing setup\\ 
 +Select your Form Application with option 14=Smart Routing\\ 
 +Then select F6=Email Settings\\ 
 +Then in the Message Constant Value field use the & character in front of the file name to call for the file to be used as the body of the email.\\ 
 +For example:\\ 
 +{{:pub:smartrouting:sr_f6_email_settings_htm_002.png?600|}} 
 + 
 +OR: 
 + 
 +{{:pub:smartrouting:sr_f6_email_settings_htm_003.png?600|}} 
  
-==== Fax Settings ==== 
-Fax Settings is also defined as Email Settings 
  
 ==== Using individual mapped fields to create the Subject Line: ==== ==== Using individual mapped fields to create the Subject Line: ====
Line 188: Line 214:
    OR Constant Value  . . . .                                                       OR Constant Value  . . . .                                                   
   Subject . . . . . . . . . .               Extract Field From        To   Subject . . . . . . . . . .               Extract Field From        To
-<font  color="#800000">    OR Constant Value  . . . . Invoice &BLOCK001 &BLOCK003  +<font  color="#800000">   OR Constant Value  . . . . Invoice &BLOCK001 &BLOCK003 </font>                        
-</font>                        +
   Request Delivery Receipt  . N (Y/N)       Request Read Receipt N (Y/N)           Request Delivery Receipt  . N (Y/N)       Request Read Receipt N (Y/N)        
   Message . . . . . . . . . .               Extract Field From         To          Message . . . . . . . . . .               Extract Field From         To       
Line 203: Line 228:
 Output example of Subject line:\\ Output example of Subject line:\\
 {{:pub:smartrouting:sr_dynamic_subject.jpg?800|}} {{:pub:smartrouting:sr_dynamic_subject.jpg?800|}}
 +
 +==== Using individual spool file attribute values to create the Subject Line and Message Body: ====
 +
 +In the Subject's or Message body constant value field, you can use any text for the constant plus the name of the listed Spool File attributes to insert the value from the attribute. (6.99 4/12/22)
 +
 +<html> <pre>
 +&USRPRF   = Job's User Profile
 +&SPLNAM   = Spool File's Name
 +&SPJNAM   = Job's Name
 +&SPJUSR   = Spool File's User Profile
 +&SPJNUM   = Job's Number
 +&USRDTA   = Spool File's User Data
 +&FORMTYPE = Spool File's Form Type
 +&TIME  = Job's processed time
 +&DATE  = Job's processed date
 +&TOTALPGS = Spool File's Page total
 +</pre> </html> 
 +
 +
 +==== Fax Settings ====
 +Fax Settings is also defined as Email Settings
  
 ==== Print Settings ==== ==== Print Settings ====
pub/smartrouting6.1628629262.txt.gz · Last modified: 2022/06/25 17:02 (external edit)