EmailPtr


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

Posted by Grant Foraker on March 22, 2007 at 11:16:40:

When EmailPtr came out I had several frustrating days of testing and put it away. With all the frecent fixes, I thought I'd try it again. I like to send simple reports as TXT files that show up at the recipients as attachments the way that the PDF shows up as. What I get is an email with no attachment and the body and detail lumped together.

-----------------------------------------------------------
Body Line 1
Body Line 2
Body Line 3

Text detail line in the attachment 1
Text detail line in the attachment 2
Text detail line in the attachment 3
---------------------------------------------------

From my work with SENDMAIL, I remembered that you can embed stuff like ...
--------------------------------------------------------------
LET TEXT$ = ''
PRINT (1) TEXT$
LET TEXT$ = "--messagesection"
PRINT (1) TEXT$
LET TEXT$ = "Content-Type: text/plain; charset=us-ascii"
LET TEXT$ = TEXT$ + '; name= TEXTFILE.TXT'
PRINT (1) TEXT$
LET TEXT$ = "Content-Transfer-Encoding: 7bit"
PRINT (1) TEXT$
LET TEXT$ = "Content-Description: Attachment"
PRINT (1) TEXT$
LET TEXT$ = 'Content-Disposition: attachment; filename= TEXTFILE.TXT'
PRINT (1) TEXT$
LET TEXT$ = ''
PRINT (1) TEXT$
-----------------------------------------------------------------

This seems to work as the TESTLOG shows ...

-----------------------------------------------------------------
DATE: THU, 22 MAR 2007 17:46:35 GMT
FROM: MARIAH@SSASD.COM
TO: GRANT@SSASD.COM
CC: MARIAH@SSASD.COM
SUBJECT: TEST A TEXT FILE SEND
-- SENDING BODY TEXT--
-- SENDING TEXT OUTPUT--
23 RECORDS PROCESSED

.
250 2.6.0 QUEUED MAIL FOR DELIVERY

QUIT
221 2.0.0 SSASD.COM SERVICE CLOSING TRANSMISSION CHANNEL
-----------------------------------------------------------------
However no message is delivered to the recipient or CC. Just disappears.

Am I pushing the string again?


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 ]