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, Andy On 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:

    
  1. Re: Sendmail Excel Attachment ( Donovan Brooke 2006)
  2. Re: Sendmail Excel Attachment ( "Jyoti Behrani" 2006)
  3. Re: Sendmail Excel Attachment ( "Bess Ho" 2006)
  4. Re: Sendmail Excel Attachment ( Donovan Brooke 2006)
  5. Re: Sendmail Excel Attachment ( "Jyoti Behrani" 2006)
  6. Re: Sendmail Excel Attachment ( Donovan Brooke 2006)
  7. Sendmail Excel Attachment ( "Jyoti Behrani" 2006)
  8. Re: Sendmail Excel attachment ( andy mowrey 2003)
  9. Re: Sendmail Excel attachment ( John Peacock 2003)
  10. Re: Sendmail Excel attachment ( andy mowrey 2003)
  11. Re: Sendmail Excel attachment ( John Peacock 2003)
  12. Re: Sendmail Excel attachment ( andy mowrey 2003)
  13. Re: Sendmail Excel attachment ( andy mowrey 2003)
  14. Re: Sendmail Excel attachment ( andy mowrey 2003)
  15. Re: Sendmail Excel attachment ( Donovan 2003)
  16. Re: Sendmail Excel attachment ( "Dan Strong" 2003)
  17. Sendmail Excel attachment ( andy mowrey 2003)
That did it, thanks! I appreciate the tips on where the CRLF pairs go and using [writefile] to check the code. Thanks, Andy On 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:

unique ascending numbers (2003) [OT] Bad Hard Drive? (2003) [SHOWIF] (1997) How to best sort in a pre-defined item-by-item order ... (2003) Multiple download orders of the same product? (1997) Remove from list server (1997) Introduction/Tutorial/QuickStart (1997) BBEdit and WebCatalog 2.0? (1997) Frames and WebCat (1997) fix permissions on osx ... (2004) re:check boxes (1997) popups, netscape vs explorer (1997) [protect] on NT? (1997) E-mail formating question (1999) Mime-Version in email header (1997) WebMerchant Only reads 1.4 order files error (1997) Emailer choke (1997) Email Format (1998) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) RePost: NAT and the CART (1999)