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:

Message Boards (2003) ShowNext (1997) WebCat2 - Getting to the browser's username/password data (1997) Shop till you drop dead on the avenue ... (1997) cart converting to scientific notation format (2001) Multiple catalog databases and showcart (1997) creator code (1997) WebCatalog 3.0.8 is on FTP... (2000) RE: Cart Template (1997) Search/sort in URL Was: GuestBook example (1997) Next X hits (1996) File upload (2002) Displaying text and populating form fields (2005) [OT] Linux -> Winderz (2005) Setting up shop (1997) Download capabilities (1997) Re:Emailer setup (1997) Bug Report, maybe (1997) Email template names (1997) Multiple prices (1997)