Re: [WebDNA] [sendmail] attachment on unix

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111387
interpreted = N
texte = The usual suspect when going from Windows to Unix is case sensitivity.. = what is the value of [attachment].. is it case-correct? Donovan On Jun 12, 2014, at 3:36 PM, Dave Daniels = wrote: > I recently moved my site I built with WebDNA from a windows server to = a unix server and I'm having difficulties with some code that worked = before. The attachment is coming through but it won't open and the file = size is much smaller. Here is the foliowing code I'm using if anyone can = help I would really appreciate it. Thanks! >=20 > [text]line_ending=3D[UnURL]%0D%0A[/UnURL][/text] >=20 > [sendmail From=3D[from]&To=3D[to]&Subject=3D[company] [subject][!] > [/!]&Content-Type=3Dmultipart/mixed; = boundary=3D"123abc"&MIME-version=3D1.0][!] >=20 >=20 > [/!]--123abc[line_ending][!] > [/!]Content-Type: text/plain[line_ending][!] > [/!]Content-transfer-encoding: 7bit[line_ending][line_ending][!] > [/!][note][line_ending][line_ending][!] >=20 > [/!]--123abc[line_ending][!] > [/!]Content-Type: application/pdf; name=3D"[attachment]"[line_ending][!]= > [/!]Content-Transfer-Encoding: base64[line_ending][!] > [/!]Content-Disposition: attachment;[!] > [/!]filename=3D"[grep = search=3D__[sku]__&replace=3D][attachment][/grep]"[line_ending][line_endin= g][!] > [/!][encrypt method=3Dbase64&file=3D[showif = [attachment]~__]attach_doc[/showif][hideif = [attachment]~__]attachments[/hideif]/[attachment]&EMAILFORMAT=3DT][!] > [/!][/encrypt][line_ending][line_ending][!] > [/!]--123abc--[/sendmail]=E2=80=8B >=20 >=20 > David Daniels > . To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug = Reporting:support@webdna.usl> Associated Messages, from the most recent to the oldest:

    
  1. RE: [WebDNA] [sendmail] attachment on unix (Dave Daniels 2014)
  2. Re: [WebDNA] [sendmail] attachment on unix (Donovan Brooke 2014)
  3. [WebDNA] [sendmail] attachment on unix (Dave Daniels 2014)
The usual suspect when going from Windows to Unix is case sensitivity.. = what is the value of [attachment].. is it case-correct? Donovan On Jun 12, 2014, at 3:36 PM, Dave Daniels = wrote: > I recently moved my site I built with WebDNA from a windows server to = a unix server and I'm having difficulties with some code that worked = before. The attachment is coming through but it won't open and the file = size is much smaller. Here is the foliowing code I'm using if anyone can = help I would really appreciate it. Thanks! >=20 > [text]line_ending=3D[unurl]%0D%0A[/UnURL][/text] >=20 > [sendmail From=3D[from]&To=3D[to]&Subject=3D[company] [subject][!] > [/!]&Content-Type=3Dmultipart/mixed; = boundary=3D"123abc"&MIME-version=3D1.0][!] >=20 >=20 > [/!]--123abc[line_ending][!] > [/!]Content-Type: text/plain[line_ending][!] > [/!]Content-transfer-encoding: 7bit[line_ending][line_ending][!] > [/!][note][line_ending][line_ending][!] >=20 > [/!]--123abc[line_ending][!] > [/!]Content-Type: application/pdf; name=3D"[attachment]"[line_ending][!]= > [/!]Content-Transfer-Encoding: base64[line_ending][!] > [/!]Content-Disposition: attachment;[!] > [/!]filename=3D"[grep = search=3D__[sku]__&replace=3D][attachment][/grep]"[line_ending][line_endin= g][!] > [/!][encrypt method=3Dbase64&file=3D[showif = [attachment]~__]attach_doc[/showif][hideif = [attachment]~__]attachments[/hideif]/[attachment]&EMAILFORMAT=3DT][!] > [/!][/encrypt][line_ending][line_ending][!] > [/!]--123abc--[/sendmail]=E2=80=8B >=20 >=20 > David Daniels > . To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug = Reporting:support@webdna.usl> Donovan Brooke

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:

[ELSEIF] was hideif [x]=1,2,3..: (2003) More examples? (2000) I'm new be kind (1997) Unable to view next 101-200 (1997) Closing Databases (1998) Banner DNA (1997) Message Boards (2003) [include] (1998) ODBC (2000) about this server and links to who (1997) WebCat2_Mac RETURNs in .db (1997) HELP WITH DATES (1997) [WebDNA] How to get a screen size (2009) updating checkbox in a db (1998) Database Strategy - more... (1998) Problems with Price field (1997) [WebDNA] Not even sure what to ask for help on. . . :( (2008) select multiple 2 more cents (1997) [TaxableTotal] - not working with AOL and IE (1997) Pop-up Menu (1998)