how can I send the data in tabular format in the body of the mail box

There is a requirement where I have to send the information in tabular format in the body of the email. Can anyone worked on such requirement. Your help will be greatly appreciated. Thanks in Advance.
 

sanjus

Member
you may have to enclose the report with something like this before sending it via email.

put skip "<HTML><TITLE></TITLE><BODY><FONT FACE=courier SIZE=3><PRE>" skip.
<your report output>
put "</FONT></BODY></HTML>" skip.

Courier or Courier New font only will retain the tabular format that you see in QAD report output.
 
Hello,

Thanks for your reply. Using the below command I am sending xml and pdf file as an attachment. Both files have same content in tabular format. I want to add these details in body while sending the email. Could you please advice me where and how to add the above code mentioned by you.

My code is

oscommand = 'txmail.vbs ' + code_value + ' ' +
code_value + ' ' + l_sub + ' ' +
l_sub_xml + ' ' + l_sub + ' ' + l_pdf.
 
Top