Dick and Razzak There is a mystic notation in your command ... |EMAIL_BODY Attached is invoice and order status of reference &vreftext + + &vreturn + &vreturn + + Please call 800-228-4632 if you have questions regarding this order. + ...
Are the + add signs to combine text or to say Rbase, the line will be continued? Regards Adrian > -----Original Message----- > From: A. Razzak Memon [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 13, 2008 3:21 PM > To: [email protected] > Subject: [RBASE-L] - Re: Email ON in Print Command > > Dick, > > Try the following sample and see what you get. > > -- start here ... > SET VAR vRefNum INTEGER = 280100 > SET VAR vRefText TEXT = (CTXT(.vrefnum)) > SET VAR vAttach = ('Ref-' + .vreftext +'.PDF') > SET VAR vMailTo = '[EMAIL PROTECTED]' > SET VAR vReturn TEXT = '(CHAR(13))' > PRINT cbInvoice2 WHERE RefNum = .vRefNum + > OPTION PDF|FILENAME Ref-&vreftext.PDF + > |EMAIL ON + > |EMAIL_HOST smtp-server.kc.rr.com + > |EMAIL_USERID churchfey + > |EMAIL_PASSWORD sunshine + > |EMAIL_ATTACHMENTS &vattach + > |EMAIL_TO_LIST &vmailto + > |EMAIL_FROM_NAME Carpet Broker + > |EMAIL_FROM_ADDRESS [EMAIL PROTECTED] + > |EMAIL_SUBJECT Order Status Ref No: &vrefnum + > |EMAIL_BODY Attached is invoice and order status of reference &vreftext + > + &vreturn + &vreturn + > + Please call 800-228-4632 if you have questions regarding this order. + > |EMAIL_DELETE_AFTER_SEND OFF + > |EMAIL_SHOW_DIALOG OFF + > RETURN > -- end here ... > > Very Best R:egards, > > Razzak.

