Sendmail Excel attachment
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 51824
interpreted = N
texte = Hi!I'm trying to send a tabbed file as an attachment using [sendmail] on a Mac 10.2.4 running WebDNA 4.5.1, but it never comes through and the errors in the email logs aren't specific enough to help. I've tried commenting out the Unix & Mac line endings, but neither does the trick. Here's the code I'm using (based on some of Scott's code from the archives):[TEXT]boundary=Multipart_[date]_[time]_[cart][/TEXT][!][TEXT]line_ending=%0D%0A[/TEXT][/!] [!]----- WINDOWNS CRLF -----[/!][!][TEXT]line_ending=%0D[/TEXT][/!] [!]----- MAC CR -----[/!][TEXT]line_ending=%0A[/TEXT] [!]----- UNIX LF -----[/!][TEXT]attach_filename=test.db[/TEXT][SENDMAIL to=andy@gin-n-tonic.com&from=test@gin-n-tonic.com.com&subject=Testing Binary Attachment&MIME-version=1.0&Content-Type=multipart/ mixed;boundary=[boundary]][!][/!]--[boundary][unurl][line_ending][/unurl][!][/!]Content-Type: text/plain[unurl][line_ending][/unurl][!][/!]Content-Transfer-Encoding: 7bit[unurl][line_ending][line_ending][/unurl][!][/!]This email contains an Excel document attachment:--[boundary][unurl][line_ending][/unurl][!][/!]Content-Type:application/ msexcel;name=[attach_filename][unurl][line_ending][/unurl][!][/!]Content-Transfer-Encoding: base64[unurl][line_ending][/unurl][!][/!]Content-Disposition: attachment; filename=[attach_filename][unurl][line_ending][line_ending][/unurl][!][/!][encrypt method=base64&file=[attach_filename]&EMAILFORMAT=T][/encrypt]-- [boundary]--[/SENDMAIL]Does anyone have any ideas on fixing this or code of their own that works?Tia,Andy Mowrey-------------------------------------------------------------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:
Hi!I'm trying to send a tabbed file as an attachment using [sendmail] on a Mac 10.2.4 running WebDNA 4.5.1, but it never comes through and the errors in the email logs aren't specific enough to help. I've tried commenting out the Unix & Mac line endings, but neither does the trick. Here's the code I'm using (based on some of Scott's code from the archives):[text]boundary=Multipart_[date]_[time]_[cart][/TEXT][!][text]line_ending=%0D%0A[/TEXT][/!] [!]----- WINDOWNS CRLF -----[/!][!][text]line_ending=%0D[/TEXT][/!] [!]----- MAC CR -----[/!][text]line_ending=%0A[/TEXT] [!]----- UNIX LF -----[/!][text]attach_filename=test.db[/TEXT][SENDMAIL to=andy@gin-n-tonic.com&from=test@gin-n-tonic.com.com&subject=Testing Binary Attachment&MIME-version=1.0&Content-Type=multipart/ mixed;boundary=[boundary]][!][/!]--[boundary][unurl][line_ending][/unurl][!][/!]Content-Type: text/plain[unurl][line_ending][/unurl][!][/!]Content-Transfer-Encoding: 7bit[unurl][line_ending][line_ending][/unurl][!][/!]This email contains an Excel document attachment:--[boundary][unurl][line_ending][/unurl][!][/!]Content-Type:application/ msexcel;name=[attach_filename][unurl][line_ending][/unurl][!][/!]Content-Transfer-Encoding: base64[unurl][line_ending][/unurl][!][/!]Content-Disposition: attachment; filename=[attach_filename][unurl][line_ending][line_ending][/unurl][!][/!][encrypt method=base64&file=[attach_filename]&EMAILFORMAT=T][/encrypt]-- [boundary]--[/SENDMAIL]Does anyone have any ideas on fixing this or code of their own that works?Tia,Andy Mowrey-------------------------------------------------------------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:
Force leading zeros (1998)
Mac GUI editors (1997)
UPS Shipping (1999)
Sort Order on a page search (1997)
[WebDNA] Talklist Archive & Twitter (2009)
How did *you* learn Web Catalog? (2000)
WebCat2b12 forgets serial # (1997)
OT: FTP problems (2003)
My slower response (1997)
BBEdit/HTMLcomments/WebCat/[/FONT] (1999)
FREE Stuff .. (2003)
Re:Virtual hosting and webcatNT (1997)
PSC recommends what date format yr 2000??? (1997)
WC1.6 to WC2 date formatting (1997)
Generating a random image, but avoiding repeated images. (1999)
Browser Resolution (1999)
Problems problems problems (1997)
New Site WebCat (1997)
Using Applescript to process WebCatalog functions (1998)
Line items in table cells (1997)