Re: sendmail and attachments

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57171
interpreted = N
texte = The Base64 and file parameters work only in WebDNA version 4.0.2rc1 and above. You're using version 4 so they won't work for you. Since your version does not recognize the file parameter, you have to include the file instead. As it is now, you're not including the file so there is nothing to be encrypted and therefore nothing to be attached. >Good day,. > >I am having a weird problem trying to send attachments with sendmail. > >Using: >MAC OS 9.2 >Webcatalog 4.0 > >The script I am using is in the same folder the file is in,. I am being sent >a file with no text... - if I remove the file I am trying to email via the >script I am still getting the file - with no text,. so I am obviously doing >something wrong,.. maybe it is a mac thing? Anyway,. script is below,.. any >help would be most appreciated,. > >[sendmail >to=youremail@whatever.coma&from=youremail@whatever.com&subject=testing&Conte >nt-Type=multipart/mixed; boundary="1234abcd"&MIME-version=1.0][!] >[/!]--1234abcd >Content-Type: text/plain >File attached. >--1234abcd >Content-Type: text/plain; name="20040301.txt" >Content-Transfer-Encoding: base64 >Content-Disposition: attachment; filename="20040301.txt" >[encrypt method=base64&file=20040301.txt&EMAILFORMAT=T][/encrypt] >--1234abcd-- >[/sendmail] > >Gary Nightingale > > >------------------------------------------------------------- >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://webdna.smithmicro.com/ -- Kenneth Grome WebDNA Programmer Outsource Service Provider Phone: +6332 255-6591 ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: sendmail and attachments ( Rob Marquardt 2004)
  2. Re: sendmail and attachments ( "IBS Ltd." 2004)
  3. Re: sendmail and attachments ( Kenneth Grome 2004)
  4. sendmail and attachments ( "IBS Ltd." 2004)
  5. Re: Sendmail and attachments? (Kenneth Grome 1998)
The Base64 and file parameters work only in WebDNA version 4.0.2rc1 and above. You're using version 4 so they won't work for you. Since your version does not recognize the file parameter, you have to include the file instead. As it is now, you're not including the file so there is nothing to be encrypted and therefore nothing to be attached. >Good day,. > >I am having a weird problem trying to send attachments with sendmail. > >Using: >MAC OS 9.2 >Webcatalog 4.0 > >The script I am using is in the same folder the file is in,. I am being sent >a file with no text... - if I remove the file I am trying to email via the >script I am still getting the file - with no text,. so I am obviously doing >something wrong,.. maybe it is a mac thing? Anyway,. script is below,.. any >help would be most appreciated,. > >[sendmail >to=youremail@whatever.coma&from=youremail@whatever.com&subject=testing&Conte >nt-Type=multipart/mixed; boundary="1234abcd"&MIME-version=1.0][!] >[/!]--1234abcd >Content-Type: text/plain >File attached. >--1234abcd >Content-Type: text/plain; name="20040301.txt" >Content-Transfer-Encoding: base64 >Content-Disposition: attachment; filename="20040301.txt" >[encrypt method=base64&file=20040301.txt&EMAILFORMAT=T][/encrypt] >--1234abcd-- >[/sendmail] > >Gary Nightingale > > >------------------------------------------------------------- >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://webdna.smithmicro.com/ -- Kenneth Grome WebDNA Programmer Outsource Service Provider Phone: +6332 255-6591 ------------------------------------------------------------- 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://webdna.smithmicro.com/ Kenneth Grome

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:

Draft Manual, Tutorial, and more (1997) Banners and sort of random display (1997) Any help gratefully appreciated (2001) Nested tags count question (1997) [WebDNA] i wish we could require one *amongst of a collection* of search comparisons/params (2011) WebDNA Quick Reference (Reserved Words) (2000) emailer w/F2 (1997) [WebDNA] Limts? -and- Hot Merge (2009) HELP WITH DATES (1997) WebCatalog for guestbook ? (1997) default image if image in code not available (2003) are we ready to fix random sort? - Or did that already happen? (2000) Shoppingcart passing price (2000) Running 2 two WebCatalog.acgi's (1996) Webten + Webcat running smooth (1998) webcat2b12 CGI -- Date comparisons (1997) Dark Horse Comics success story (1997) RE: Include (1998) auction system w/ Web Cat (1999) Shipcost formula (2004)