At 05:05 PM 10/4/2016, Claudine Robbins wrote:

In the meantime, what's the trick to making printing a report work with EMAIL ON?

Claudine,

Here are a few examples ...

--Multiple Attachment Example:
CONNECT RRBYW18
PRINT Invoice WHERE TransID = 1031 +
OPTION PDF|FILENAME Invoice_1031.PDF +
|EMAIL ON +
|EMAIL_TO_LIST yourn...@yourdomain.com, whoe...@yourdomain.com +
|EMAIL_FROM_NAME John D. Johnson +
|EMAIL_FROM_ADDRESS johndjohn...@yourdomain.com +
|EMAIL_SUBJECT Imagine The Possibilities! +
|EMAIL_BODY Attached is the invoice - sent via R:BASE. Because we Can! +
|EMAIL_ATTACHMENTS C:\Letters\PrivacyPolicy.pdf#C:\Letters\PaymentTermsPolicy.pdf +
|EMAIL_DELETE_AFTER_SEND ON +
|EMAIL_SHOW_DIALOG OFF
RETURN

--Multi-line Message Body Example:
CONNECT RRBYW18
SET VAR vEMailBody TEXT = +
('Attached please find your sales summary report!'+(CHAR(013))+ +
(CHAR(013))+'Please reply with any questions.')
PRINT InvoiceSummary WHERE CustID = 128 +
OPTION PDF|FILENAME C:\InvoiceSummary_123.PDF +
|EMAIL ON +
|EMAIL_TO_LIST mmurd...@nelsonmurdocklawoffice.com,fnel...@nelsonmurdocklawoffice.com +
|EMAIL_FROM_NAME Wilbur Day +
|EMAIL_FROM_ADDRESS wilbur....@kaxtonlabs.com +
|EMAIL_SUBJECT Invoice Summary As Requested +
|EMAIL_BODY .vEMailBody +
|EMAIL_DELETE_AFTER_SEND ON +
|EMAIL_SHOW_DIALOG OFF
RETURN

Hope that helps!

Very Best R:egards,

Razzak.



--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to