Multiple Attachments with Sendmail

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 56340
interpreted = N
texte = I'm trying to attach two plain text files to an email using the code below. But when the message comes through, the text files are blank. What am I doing wrong? [sendmail To=name&From=name&Subject=My Subject&Content-Type=multipart/mixed; boundary="123abc456def"&MIME-version=1.0] --123abc456def Content-Type: text/plain Here are the attachments... --123abc456def Content-Type: text/plain; name="SLOPE.TXT" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="SLOPE.TXT" [encrypt method=base64&file=uploads/SLOPE.TXT&EMAILFORMAT=T][/encrypt] --123abc456def Content-Type: text/plain; name="CHANNEL.TXT" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="CHANNEL.TXT" [encrypt method=base64&file=uploads/CHANNEL.TXT&EMAILFORMAT=T][/encrypt] --123abc456def-- [/sendmail] ------------------------------------------------------------- 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: Multiple Attachments with Sendmail [SOLVED] ( Clint Davis 2004)
  2. Re: Multiple Attachments with Sendmail ( devaulw@onebox.com 2004)
  3. Multiple Attachments with Sendmail ( Clint Davis 2004)
I'm trying to attach two plain text files to an email using the code below. But when the message comes through, the text files are blank. What am I doing wrong? [sendmail To=name&From=name&Subject=My Subject&Content-Type=multipart/mixed; boundary="123abc456def"&MIME-version=1.0] --123abc456def Content-Type: text/plain Here are the attachments... --123abc456def Content-Type: text/plain; name="SLOPE.TXT" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="SLOPE.TXT" [encrypt method=base64&file=uploads/SLOPE.TXT&EMAILFORMAT=T][/encrypt] --123abc456def Content-Type: text/plain; name="CHANNEL.TXT" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="CHANNEL.TXT" [encrypt method=base64&file=uploads/CHANNEL.TXT&EMAILFORMAT=T][/encrypt] --123abc456def-- [/sendmail] ------------------------------------------------------------- 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/ 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:

Numbers from Sentence (2003) pc (1997) RE: Answer: WebDelivery downloads alias, not original ? (1997) WC2b15 File Corruption (1997) Sorting search results (1998) Error: Missing c in orderfile???? (2005) Re:2nd WebCatalog2 Feature Request (1996) Duplicate Cart ID (2001) notification solutions (1997) latest version? (1998) Encrypting the URL Query String (2003) form data submission gets truncated (1997) License for Sale? (2003) listfiles sort by moddate (2002) [WebDNA] Processor Maxing out (2010) Stopping bad HTML propagation ? (1997) emailer (1997) [Sum] function? (1997) showif comparison begins w/ and contains (1997) Order not created error (1997)