Re: Multiple Attachments with Sendmail

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 56344
interpreted = N
texte = Are you sure the files are in the right place relative to where the sendmail code is being called/included? To simply test, insert the text between the encrypt tags and remove the file reference. If that's doesn't fix it, let us know. I've noticed that line endings can also be strange. Try setting a variable to [lineending]=%0A%0D (I think) and replacing your actual returns with [lineending]. -----Original Message----- From: Clint Davis Sent: Tue, 24 Feb 2004 12:03:53 -0600 To: (WebDNA Talk) Subject: Multiple Attachments with Sendmail 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/ ------------------------------------------------------------- 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)
Are you sure the files are in the right place relative to where the sendmail code is being called/included? To simply test, insert the text between the encrypt tags and remove the file reference. If that's doesn't fix it, let us know. I've noticed that line endings can also be strange. Try setting a variable to [lineending]=%0A%0D (I think) and replacing your actual returns with [lineending]. -----Original Message----- From: Clint Davis Sent: Tue, 24 Feb 2004 12:03:53 -0600 To: (WebDNA Talk) Subject: Multiple Attachments with Sendmail 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/ ------------------------------------------------------------- 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/ devaulw@onebox.com

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:

WebCat & Backoffice Solution? (2000) Document Contains No Data! (1997) Nutscrape Doesn't Render Right (2002) locking variables? (2000) Help name our technology! (1997) Nesting format tags (1997) payflowpro problem #2 (2003) Multiple cart additions (1997) company names not begin with a letter (2005) Interpret twice? (1997) unusual search problem (1998) WebDNA Solutions ... (1997) Fwd: AppleScript error (2003) [OT] Appropriate Signature??? (2003) Storebuilder documentation (2004) taxTotal, grandTotal (1997) Bug? (1997) Active Server Code... (1998) [isfile] ? (1997) Chat (2002)