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:
dynamic list of form variables (2003)
Using Plug-In while running 1.6.1 (1997)
Frames (1997)
WebCatalog can't find database (1997)
are we ready to fix random sort? - Or did that already happen? (2000)
Forms Search Questions (1997)
Founditems (1998)
Question about links (1999)
Triggers and today's leap day? (2000)
Invisible file issue now a real 'bug' (1999)
searchable list archive (1997)
WebCatalog2 Feature Feedback (1996)
WriteFile and returns... (2000)
Search results templates (1996)
send mail problem? (1997)
timing out? (1997)
Bug or syntax error on my part? (1997)
One more try (1997)
Credit card types (1997)
WebCommerce: Folder organization ? (1997)