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:
Nesting WebDNA in JavaScript (2003)
2.1 bugs left over from beta cycle (1998)
WebTen and WebCat (1997)
OK, here goes... (1997)
displaying New products (Yikes! it's Fixed!) (1997)
Users.db [encrypt seed=????] (1998)
Search design (1997)
founditem align (1998)
[ShowIf] a either fields are blank (1998)
HomePage Caution (1997)
Check for OS (2003)
Creating folders and deleting files (1997)
Million product store (2003)
OT: Flash developer needed (2007)
Wireless WebDNA available today! (2000)
retail and wholesale... (2000)
Bug Report, maybe (1997)
No luck with taxes (1997)
We need advice (1996)
autocommit problem (1998)