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 [2022/04/12 18:49] – [Email Settings] kkramerpub:smartrouting6 [2025/09/22 19:24] (current) – [Email Settings] kkramer
Line 101: Line 101:
  
 * **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). * **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 a 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|}}
 +
  
  
Line 200: 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 ====
pub/smartrouting6.1649814599.txt.gz · Last modified: 2022/06/25 17:02 (external edit)