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:

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)