I write my own HTML using WRITE statements and then send it to the email 
servers 
using a VB script.  

Using the PRINT command, it looks like the report will always be sent as an 
attachment.  You want the actual HTML in the _body_ of the email, and it 
doesn't 
appear to me that you can do that with PRINT directly (although I stand open to 
correction).

Instead, PRINT your HTML invoice to a file then use some other method 
(MAPIMail, 
VB Script, R:Mail, cut-and-paste) to send the email.
--
Larry



________________________________
From: Dick Fey <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Tue, March 8, 2011 1:34:15 PM
Subject: [RBASE-L] - RE: E-mail Invoices

OK... so I can print my invoice as HTML... view it in Firefox... works 
great

How do I get that into the email?

Our current code looks like this, we are attaching a PDF.

  PRINT faxcheck OPTION PDF|FILENAME &vattach |EMAIL +
    ON |EMAIL_HOST mail.thecarpetbroker.COM |+
    EMAIL_USERID &vuseremail |EMAIL_PASSWORD &vuserpw |+
    EMAIL_TO_LIST &vmailto |EMAIL_BCC_LIST &vmailme |EMAIL_FROM_NAME 
Carpet +
    Broker |EMAIL_FROM_ADDRESS &vuseremail |EMAIL_SUBJECT &vsubject |+
    EMAIL_BODY &vbody  |EMAIL_AUTHENTICATION ON |EMAIL_DELETE_AFTER_SEND +
    OFF |EMAIL_SHOW_DIALOG OFF RETURN

Sorry, but I can find no directions as how to send the HTML file rather 
than attach the PDF.

Dick Fey



On 3/8/2011 11:06 AM, Paul wrote:
> Could use HTML in the body.
>
> AS long as they view it as html and not text.  Which is standard so in most
> cases not a issue.
>
>
>
> Paul
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Dick Fey
> Sent: Tuesday, March 08, 2011 11:59 AM
> To: RBASE-L Mailing List
> Subject: [RBASE-L] - E-mail Invoices
>
> For some time we have been sending out invoices as attachments to emails,
> all automated thru R:base.
>
> I would like to send an e-mail that looks like an invoice, rather than using
> an attachment.
>
> Anyone know how to make something that at least looks like an invoice that
> could become the body of the email ?
>
> Dick Fey
> Carpet Broker Inc
>
>
>
>

Reply via email to