In using the new EMAIL ON option for the PRINT command, does the EMAIL_TO_LIST 
require the input to be actual emails or can the emails be listed via a 
variable?

Example from help file --
CONNECT RRBYW10 
PRINT Invoice WHERE TransID = 1031 + 
OPTION PDF|FILENAME Invoice_1031.PDF + 
|EMAIL ON + 
|email_to_list [email protected][email protected] + 
                     Can these be defined variables as well?
|EMAIL_FROM_NAME John D. Johnson + 
|email_from_address [email protected] + 
|EMAIL_SUBJECT Imagine The Possibilities! + 
|EMAIL_BODY Attached is the invoice - sent via R:BASE. Because we Can! + 
|EMAIL_ATTACHMENTS C:\Letters\otherstuff.pdf#C:\Letters\morestuff.pdf + 
|EMAIL_DELETE_AFTER_SEND ON + 
|EMAIL_SHOW_DIALOG OFF  
RETURN

This, by the way, is a great option if the variables can be used.
 
Thanks
Gary

Reply via email to