Re: Sendmail Excel attachment
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 51834
interpreted = N
texte = That did it, thanks!I appreciate the tips on where the CRLF pairs go and using [writefile] to check the code.Thanks,AndyOn Tuesday, Jul 22, 2003, at 12:12 US/Eastern, John Peacock wrote:> andy mowrey wrote:>> The rule of thumb is two CRLF pairs after _each_ header. Change your > code thusly:>>> [/!]Content-Type: text/plain; name="test1.xls"[line_ending][!]>> [/!]Content-Transfer-Encoding: base64[line_ending][!]>> [/!]Content-Disposition: attachment; >> filename="test1.xls"[line_ending][!]>> [/!][encrypt method=base64&file=test1.xls&EMAILFORMAT=T][/ >> encrypt][line_ending][line_ending][!]>> [/!]--1234abcd-->> [/!]Content-Type: text/plain; name="test1.xls"[line_ending][!]> [/!]Content-Transfer-Encoding: base64[line_ending][!]> [/!]Content-Disposition: attachment; > filename="test1.xls"[line_ending][line_ending][!]> [/!][encrypt > method=base64&file=test1.xls&EMAILFORMAT=T][/ > encrypt][line_ending][line_ending][!]> [/!]--1234abcd-->> You should also look at the file on disk, not how your mail client may > interpret it. In particular, it is useful to use a binary editor to > see that the correct sequence of CRLF's are present. If you replace > the [sendmail] context with a corresponding [writefile] context, you > can check to see that everything is in place before trying to send the > message.>> HTH>> John>> -- > John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4501 Forbes Boulevard> Suite H> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5748>>> -------------------------------------------------------------> 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:
That did it, thanks!I appreciate the tips on where the CRLF pairs go and using [writefile] to check the code.Thanks,AndyOn Tuesday, Jul 22, 2003, at 12:12 US/Eastern, John Peacock wrote:> andy mowrey wrote:>> The rule of thumb is two CRLF pairs after _each_ header. Change your > code thusly:>>> [/!]Content-Type: text/plain; name="test1.xls"[line_ending][!]>> [/!]Content-Transfer-Encoding: base64[line_ending][!]>> [/!]Content-Disposition: attachment; >> filename="test1.xls"[line_ending][!]>> [/!][encrypt method=base64&file=test1.xls&EMAILFORMAT=T][/ >> encrypt][line_ending][line_ending][!]>> [/!]--1234abcd-->> [/!]Content-Type: text/plain; name="test1.xls"[line_ending][!]> [/!]Content-Transfer-Encoding: base64[line_ending][!]> [/!]Content-Disposition: attachment; > filename="test1.xls"[line_ending][line_ending][!]> [/!][encrypt > method=base64&file=test1.xls&EMAILFORMAT=T][/ > encrypt][line_ending][line_ending][!]> [/!]--1234abcd-->> You should also look at the file on disk, not how your mail client may > interpret it. In particular, it is useful to use a binary editor to > see that the correct sequence of CRLF's are present. If you replace > the [sendmail] context with a corresponding [writefile] context, you > can check to see that everything is in place before trying to send the > message.>> HTH>> John>> -- > John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4501 Forbes Boulevard> Suite H> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5748>>> -------------------------------------------------------------> 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/
andy mowrey
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:
problem with [Format Days_To_Date] (2000)
WebCatalog can't find database (1997)
Hiding HTML and breaking the page (1997)
[WebDNA] grep again (2010)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Sub Totals (2000)
Stopping bad HTML propagation ? (1997)
Search a date field by month only... (1999)
Firesite cache vs webcat cache (1997)
Signal Raised (1997)
Return records from another (1997)
Rumpus & WebCat (1998)
WebCat2b13MacPlugIn - syntax to convert date (1997)
PCS Frames (1997)
Shopping carts and reloading pages (1997)
Document Contains No Data! (1997)
listfiles, moving files (1998)
japanese characters (1997)
What am I missing (1997)