I had already used this technique but it does not work. Keren I think he's right. I tried to check the setup of my email and I sent myself an email but it did not work. I will try to better study the problem. Thank you.
Daniele From: Karen Tellef Sent: Monday, August 18, 2014 8:59 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Option EMAIL_BODY in the PRINT command I think it does depend on the email client or the email server. We tried that, and the variable itself looked great, but when the email was received the carriage return was ignored. So I think each individual needs to test with their own setup (not that we can control how the recipient sees it, of course!) Karen -----Original Message----- From: A. Razzak Memon <[email protected]> To: RBASE-L Mailing List <[email protected]> Sent: Mon, Aug 18, 2014 1:52 pm Subject: [RBASE-L] - Re: Option EMAIL_BODY in the PRINT command At 02:04 PM 8/18/2014, [email protected] wrote: >RBASE 9.5 (32) > I use the command PRINT with the option EMAIL ON for sending mail. >In the option EMAIL_BODY how can I force a carriage return in a sentence? >I have tried to insert into the sentence (CHAR (10)) or (CHAR (13)), but >without success. Daniele, When using the EMAIL ON option of sending Reports/Labels via R:BASE 9.5, and if you wish to include EMAIL_BODY with multiple lines, you will have to first define a variable with concatenated returns (CHAR(013)), and then use that variable as EMAIL_BODY. Here's how ... A very simple example: -- Start 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.PDF + |EMAIL ON + |EMAIL_TO_LIST [email protected],[email protected] + |EMAIL_FROM_NAME Daniele Barbieri + |EMAIL_FROM_ADDRESS [email protected] + |EMAIL_SUBJECT As Requested ... + |EMAIL_BODY .vEMailBody + |EMAIL_ATTACHMENTS C:\InvoiceSummary.PDF + |EMAIL_DELETE_AFTER_SEND ON + |EMAIL_SHOW_DIALOG OFF RETURN -- End That's all there is to it! Very Best R:egards, Razzak. www.rbase.com www.facebook.com/rbase -- 31 years of continuous innovation! 16 Years of R:BASE Technologies, Inc. making R:BASE what it is today! -- --- Questa e-mail è priva di virus e malware perché è attiva la protezione avast! Antivirus. http://www.avast.com

