Plaintext Email Attachment

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37161
interpreted = N
texte = I've set up a [sendmail] using the multipart code that Scott A posted a while back.This is working great, but I want to attach a file to the plaintext portion of the message. The code below produces the following error in a plaintext email client: Missing or zero-length file.[search db=grayloon_pr.db&eqskudata=[sku]] [founditems] [sendmail To=cdavis@grayloon.com&From=webmaster@grayloon.com&Subject=A multi-part message&date=[date]&time=[time]&MIME-version=1.0&Content-Type=multipart/alternative;boundary=1001] --1001 Content-Type:text/plain;charset=us-ascii[headline] [convertchars][body][/convertchars] Content-Type: image/jpg; name=[photo] Content-Transfer-Encoding: base64 Content-Disposition: inline; filename=[photo][encrypt method=base64&file=http://clients.grayloon.com/grayloon_pr/pr_photos/[photo]&EMAILFORMAT=T][/encrypt] --1001 Content-Type:text/html;charset=iso-8859-1




[headline]

[convertchars][body][/convertchars]

--1001-- [/sendmail] [/founditems] [/search] -- _______________________Clint Davis Webmaster Gray Loon Marketing Group 812.422.9999cdavis@grayloon.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: Plaintext Email Attachment (Rob Marquardt 2001)
  2. Re: Plaintext Email Attachment (Peter Werno 2001)
  3. Plaintext Email Attachment (Clint Davis 2001)
I've set up a [sendmail] using the multipart code that Scott A posted a while back.This is working great, but I want to attach a file to the plaintext portion of the message. The code below produces the following error in a plaintext email client: Missing or zero-length file.[search db=grayloon_pr.db&eqskudata=[sku]] [founditems] [sendmail To=cdavis@grayloon.com&From=webmaster@grayloon.com&Subject=A multi-part message&date=[date]&time=[time]&MIME-version=1.0&Content-Type=multipart/alternative;boundary=1001] --1001 Content-Type:text/plain;charset=us-ascii[headline] [convertchars][body][/convertchars] Content-Type: image/jpg; name=[photo] Content-Transfer-Encoding: base64 Content-Disposition: inline; filename=[photo][encrypt method=base64&file=http://clients.grayloon.com/grayloon_pr/pr_photos/[photo]&EMAILFORMAT=T][/encrypt] --1001 Content-Type:text/html;charset=iso-8859-1




[headline]

[convertchars][body][/convertchars]

--1001-- [/sendmail] [/founditems] [/search] -- _______________________Clint Davis Webmaster Gray Loon Marketing Group 812.422.9999cdavis@grayloon.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/ Clint Davis

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:

Credit Card Number checking (1997) WebMerchant Question (1998) New commands in Final candidate (1997) Summing fields (1997) Version Question (2000) Lost Field (1998) still having shipCost.db Problem (1997) New public beta available (1997) There's a bug in the math context ... (1997) MacAuthorize order data fields WAS:How To question... (1997) Summing fields (1997) Exclamation Mark with sendmail newsletter (2003) Where is f2? (1997) Problem with summary on date / inconsequent webcat behaviour (1998) Design Help Needed (1998) japanese characters (1997) [Off] Netscape Display Problem (1998) stuck time (1998) CHMOD recursive for directories (2006) Leap Day Triggers? (2000)