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:
Expert tech support -- a fast and simple solution (long) ... (2000)
FISKARS (2003)
Q: how long for answers to the WebDNA-Talk list? (1997)
Three new problems, maybe a fourth (1997)
Math function in Formula.db (1997)
Running a store on BOTH http and https (1998)
3rd request: What are SMSI's upgrade policies? (2003)
Upload Progress Bar (2003)
test (2003)
LOOP and IF statements (1997)
E-mail Attachments (1997)
[Summary] re: Emailer setup (1997)
WebCatalog can't find database (1997)
Am I going senile? (Price recalc based on quantity) (1997)
problems with WebCat-Plugin ()
OT: test (1998)
shipcost and Formulas.db (2000)
WebCat and WebTV (1997)
Plugin or CGI or both (1997)
[append] vs. [appendfile] delta + question? (1997)