Re: EmailPtr errors


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on June 08, 2005 at 12:00:37: Uploaded files: 3

In Reply to: Re: EmailPtr errors posted by Jim Guerber on June 07, 2005 at 16:58:30:

Jim:

Getting closer :) No errors with the new EmailPtr. But the received messages aren't quite what I expected. I don't see anything in the documentation about using "print(1)'This is the document'" syntax.

1. TXT, see TXT.jpg. My PRINT (1) 'Text detail line' doesn't appear to work in all three versions.

2. HTML, see HTML.jpg. The attachment is TXT and not HTM.

3. PDF, see PDF.jpg. The the attachment is DAT instead of PDF. Tried opening it in Adobe and I get an all black box.

Program now looks like ...

OPEN (1) 'LET'
PRINT (1) (Log='TESTLOG','COS','ERASE')
PRINT (1) (Server = '192.168.16.2 mail')
PRINT (1) (Domain = 'ssasd.com')
PRINT (1) (From = 'TextMailer@@ssasd.com')
PRINT (1) (To = WORK$)
PRINT (1) (Subject = 'Test a text file send')
PRINT (1) (Text = 'Text Line 1')
PRINT (1) (Text = 'Text Line 2')
PRINT (1) (Text = 'Text Line 3')
PRINT (1) 'Text detail line'
CLOSE (1)
PRINT @(0,5);'1. LET EMAIL SENT'
WAIT

OPEN (1) 'LEH'
PRINT (1) (Log = 'TESTLOG','COS')
PRINT (1) (Server = '192.168.16.2 mail')
PRINT (1) (Domain = 'ssasd.com')
PRINT (1) (From = 'HtmlMailer@@ssasd.com')
PRINT (1) (To = WORK$)
PRINT (1) (Subject = 'Test a HTML file send')
PRINT (1) (Text = 'HTML Line 1')
PRINT (1) (Text = 'HTML Line 2')
PRINT (1) (Text = 'HTML Line 3')
PRINT (1) 'HTML detail line'
CLOSE (1)
PRINT @(0,6);'2. LEH EMAIL SENT'
WAIT

OPEN (1) 'LEP'
PRINT (1) (Log = 'TESTLOG','COS')
PRINT (1) (Server = '192.168.16.2 mail')
PRINT (1) (Domain = 'ssasd.com')
PRINT (1) (From = 'PDFMailer@@ssasd.com')
PRINT (1) (To = WORK$)
PRINT (1) (Subject = 'Test a PDF file send')
PRINT (1) (Text = 'PDF Line 1')
PRINT (1) (Text = 'PDF Line 2')
PRINT (1) (Text = 'PDF Line 3')
PRINT (1) 'PDF detail line'
CLOSE (1)
PRINT @(0,7);'3. LEP EMAIL SENT'
WAIT


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]