Re: Please please help

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36963
interpreted = N
texte = Get the current version of WebCatalog rc whatever...Here is a sample snippet adapted from one that Scott A posted a while ago...Hope that it helps. Have a great holiday![sendmail to=jay@vanvark.net&from=jay@vanvark.net&subject=Customer Quote for Approval&Content-Type=multipart/mixed; boundary=1234abcd&MIME-version=1.0][!] [/!]--1234abcd Content-Type: text/plainThis is the attached file.--1234abcd Content-Type: application/x-pdf; name=something.pdf Content-Transfer-Encoding: base64 Content-Disposition: inline; filename=something.pdf[encrypt method=base64&file=something.pdf&EMAILFORMAT=T][/encrypt]--1234abcd-- [/sendmail] >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: 7bit > >This 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/-- Jay Van Vark *********************************** Fax (801) 659-7952 ***********************************Even if you are on the right track, you'll get run over if you just sit there! --Roy Rogers------------------------------------------------------------- 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)
Get the current version of WebCatalog rc whatever...Here is a sample snippet adapted from one that Scott A posted a while ago...Hope that it helps. Have a great holiday![sendmail to=jay@vanvark.net&from=jay@vanvark.net&subject=Customer Quote for Approval&Content-Type=multipart/mixed; boundary=1234abcd&MIME-version=1.0][!] [/!]--1234abcd Content-Type: text/plainThis is the attached file.--1234abcd Content-Type: application/x-pdf; name=something.pdf Content-Transfer-Encoding: base64 Content-Disposition: inline; filename=something.pdf[encrypt method=base64&file=something.pdf&EMAILFORMAT=T][/encrypt]--1234abcd-- [/sendmail] >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: 7bit > >This 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/-- Jay Van Vark *********************************** Fax (801) 659-7952 ***********************************Even if you are on the right track, you'll get run over if you just sit there! --Roy Rogers------------------------------------------------------------- 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/ Jay Van Vark

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:

Separate SSL Server (1997) RE: complete escaped ascii chart - importing and exporting files question (1998) WebCatalog Affiliates Program ... (2000) Fulfillment e-mail? (1998) WebDNA quitting (2008) Active Server Code... (1998) Emailer tracking (1997) WebCat2 beta 11 - new prefs ... (1997) expired beta (1997) [format xs] freeze (1997) [WebDNA] Bug in build/version number (2012) Opinion: [input] should be called [output] ... (1997) searching multiple databases in single search (1997) Listfiles context (2000) search zip codes ranges (2003) Sendmail (1997) Searching help needed (1998) [REFERRER] bug? (1998) Problem displaying search result (1997) WebCat2final1 crashes (1997)