Re: attachment
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32581
interpreted = N
texte = >Yes, you can include the file in the e-mail itself, but you cannot make>the included file be an attachment.Wrong.You *can* attach a file ... if the file is a text file.This is the correct format to do so:[text]messageText=Hi, this file has two parts, a text portion and an attachment which is a text file. Do not add or remove any carriage returns to this example or you may cause it to fail, because some of the carriage returns are required.[/text][sendmail From=[fromAddress]&To=[toAddress]&Subject=[subject]&Mime-Version=1.0&Content-Type=multipart/mixed; boundary=theBoundaryString]--theBoundaryStringContent-Type: text/plain; charset=US_ASCII[messageText]--theBoundaryStringContent-Type: text/plain; name=[textFileName]; charset=US_ASCIIContent-Disposition: attachment; filename=[textFileName][include file=[textFileName]]--theBoundaryString--[/sendmail]================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------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:
>Yes, you can include the file in the e-mail itself, but you cannot make>the included file be an attachment.Wrong.You *can* attach a file ... if the file is a text file.This is the correct format to do so:[text]messageText=Hi, this file has two parts, a text portion and an attachment which is a text file. Do not add or remove any carriage returns to this example or you may cause it to fail, because some of the carriage returns are required.[/text][sendmail From=[fromAddress]&To=[toAddress]&Subject=[subject]&Mime-Version=1.0&Content-Type=multipart/mixed; boundary=theBoundaryString]--theBoundaryStringContent-Type: text/plain; charset=US_ASCII[messageText]--theBoundaryStringContent-Type: text/plain; name=[textFileName]; charset=US_ASCIIContent-Disposition: attachment; filename=[textFileName][include file=[textFileName]]--theBoundaryString--[/sendmail]================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------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/
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:
[WebDNA] WebDNA Server build instructions (2019)
WebDNA with WebStar V (2003)
question about checkboxes (1999)
HTML encoding in URLs (1997)
2nd WebCatalog2 Feature Request (1996)
OT: Test ignore (2003)
tcpconnect and ftp (2002)
taxrate - off by 1 cent (1997)
Here's how to kill a Butler Database. (1997)
WC2b15 File Corruption (1997)
emailer (1997)
Textarea Breaks (2000)
suffix mapping, use of cache, etc. (1997)
[WebDNA] Re-sending email (2018)
Having trouble installing on Windows XP Pro... (2006)
WebCat2b12 CGI Mac - [shownext] problem (1997)
[format xs] freeze (1997)
Un[url]ize (1999)
OSX (2003)
Header Problems (1998)