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, I just can't get the last bit right and of course I having a very imminent deadline so any pointers would be great.I currently have the following code:-============================================[sendmail From=[from_email]&To=[to_email]&Subject=My Subject&Mime-Version=1.0&Content-Type=multipart/mixed; boundary=AILCV]--AILCV Content-Type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit[messageText]--AILCV Content-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 the email 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:53 From: steve@asylumweb.com To: steve@asylumweb.com Subject: CV Submission Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=AIL00001 Date: Wed, 4 Jul 2001 18:48:53 Message-ID: <1217853563-177798146@asylumweb.com>--AIL00001 Content-Type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bitThis is my message to you--AIL00001 Content-Type: application/msword; name=Hampton Front Page Copy.doc; charset=iso-8859-1 Content-Disposition: attachment; filename=Hampton Front Page Copy.doc ­¦ý°±· --AIL00001--============================================The ł­¦ý°±·˛ bit is actually the first bit of the Word file if it is opened 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 if WebCatalog can do this or not?Any help would be much appreciated, by the way I am running 4.0.2rc1 on a Mac.Thanks ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1224 642960 Fax +44 1224 642962 ======================================== http://www.asylumweb.com Email: 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:

    
  1. Re: Please please help (Steve Craig 2001)
  2. Re: Please please help (Steve Craig 2001)
  3. Re: Please please help (Jay Van Vark 2001)
  4. Please please help (Steve Craig 2001)
I am trying to attach MS Word files to emails and I think I am very close, I just can't get the last bit right and of course I having a very imminent deadline so any pointers would be great.I currently have the following code:-============================================[sendmail From=[from_email]&To=[to_email]&Subject=My Subject&Mime-Version=1.0&Content-Type=multipart/mixed; boundary=AILCV]--AILCV Content-Type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit[messageText]--AILCV Content-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 the email 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:53 From: steve@asylumweb.com To: steve@asylumweb.com Subject: CV Submission Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=AIL00001 Date: Wed, 4 Jul 2001 18:48:53 Message-ID: <1217853563-177798146@asylumweb.com>--AIL00001 Content-Type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bitThis is my message to you--AIL00001 Content-Type: application/msword; name=Hampton Front Page Copy.doc; charset=iso-8859-1 Content-Disposition: attachment; filename=Hampton Front Page Copy.doc ­¦ý°±· --AIL00001--============================================The ł­¦ý°±·˛ bit is actually the first bit of the Word file if it is opened 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 if WebCatalog can do this or not?Any help would be much appreciated, by the way I am running 4.0.2rc1 on a Mac.Thanks ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1224 642960 Fax +44 1224 642962 ======================================== http://www.asylumweb.com Email: 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)