Please please help
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 36962
interpreted = N
texte = I am trying to attach MS Word files to emails and I think I am very close, Ijust can't get the last bit right and of course I having a very imminentdeadline so any pointers would be great.I currently have the following code:-============================================[sendmail From=[from_email]&To=[to_email]&Subject=MySubject&Mime-Version=1.0&Content-Type=multipart/mixed;boundary=AILCV]--AILCVContent-Type: text/plain; charset=iso-8859-1Content-transfer-encoding: 7bit[messageText]--AILCVContent-Type: application/msword; name=[TargetNameExt]Content-Disposition: attachment; filename=[TargetNameExt][include file=[TargetPath][TargetNameExt]]--AILCV--[/sendmail]============================================It all seems to work ok except the attachment isnąt there. If I look at theemail source I get the following:-============================================Return-Path:
Received: from asylumweb.com (195.99.163.194) by asylumweb.com with SMTP (Eudora Internet Mail Server 3.0.3) for ; Wed, 4 Jul 2001 18:48:53From: steve@asylumweb.comTo: steve@asylumweb.comSubject: CV SubmissionMime-Version: 1.0Content-Type: multipart/mixed; boundary=AIL00001Date: Wed, 4 Jul 2001 18:48:53Message-ID: <1217853563-177798146@asylumweb.com>--AIL00001Content-Type: text/plain; charset=iso-8859-1Content-transfer-encoding: 7bitThis is my message to you--AIL00001Content-Type: application/msword; name=Hampton Front Page Copy.doc;charset=iso-8859-1Content-Disposition: attachment; filename=Hampton Front Page Copy.doc¦ý°±·--AIL00001--============================================The ł¦ý°±·˛ bit is actually the first bit of the Word file if it isopened in a text editor like notepad etc.I think I maybe need to encode the file before I send it but I donąt know ifWebCatalog can do this or not?Any help would be much appreciated, by the way I am running 4.0.2rc1 on aMac.Thanks========================================Steve Craig - Asylum Interactive LtdTel +44 1224 642960 Fax +44 1224 642962========================================http://www.asylumweb.comEmail: steve@asylumweb.com========================================-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I am trying to attach MS Word files to emails and I think I am very close, Ijust can't get the last bit right and of course I having a very imminentdeadline so any pointers would be great.I currently have the following code:-============================================[sendmail From=[from_email]&To=[to_email]&Subject=MySubject&Mime-Version=1.0&Content-Type=multipart/mixed;boundary=AILCV]--AILCVContent-Type: text/plain; charset=iso-8859-1Content-transfer-encoding: 7bit[messageText]--AILCVContent-Type: application/msword; name=[TargetNameExt]Content-Disposition: attachment; filename=[TargetNameExt][include file=[TargetPath][TargetNameExt]]--AILCV--[/sendmail]============================================It all seems to work ok except the attachment isnąt there. If I look at theemail source I get the following:-============================================Return-Path: Received: from asylumweb.com (195.99.163.194) by asylumweb.com with SMTP (Eudora Internet Mail Server 3.0.3) for ; Wed, 4 Jul 2001 18:48:53From: steve@asylumweb.comTo: steve@asylumweb.comSubject: CV SubmissionMime-Version: 1.0Content-Type: multipart/mixed; boundary=AIL00001Date: Wed, 4 Jul 2001 18:48:53Message-ID: <1217853563-177798146@asylumweb.com>--AIL00001Content-Type: text/plain; charset=iso-8859-1Content-transfer-encoding: 7bitThis is my message to you--AIL00001Content-Type: application/msword; name=Hampton Front Page Copy.doc;charset=iso-8859-1Content-Disposition: attachment; filename=Hampton Front Page Copy.doc¦ý°±·--AIL00001--============================================The ł¦ý°±·˛ bit is actually the first bit of the Word file if it isopened in a text editor like notepad etc.I think I maybe need to encode the file before I send it but I donąt know ifWebCatalog can do this or not?Any help would be much appreciated, by the way I am running 4.0.2rc1 on aMac.Thanks========================================Steve Craig - Asylum Interactive LtdTel +44 1224 642960 Fax +44 1224 642962========================================http://www.asylumweb.comEmail: steve@asylumweb.com========================================-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Steve Craig
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
extending webcatalog (1997)
Sorting when searching with grouped fields (2002)
# fields limited? (1997)
Keep away (1997)
[OT] Democratic Code (2002)
Return records from another (1997)
Emailer tracking (1997)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)
Secured Order Forms (1998)
Max Record length restated as maybe bug (1997)
shocart strange behavior - ANSWER (1999)
Execute Applescript (1997)
Code for Accessing E-mail Accounts (2005)
best way to check against old cart #s (1999)
Internet Advancement (2003)
New WebCat release ?? (2001)
I try hard to think positively (1998)
code under a [purchase] tag executed when already an Order? (2000)
Triggers Suck! (2000)
[format 40s]text[/format] doesn't work (1997)