Re: Mime Headers for Mail
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18280
interpreted = N
texte = >> >[setmimeheader>>name=Mime-Version&value=1.0&name=Content-Type&value=text/html;]>>>> It doesn't work because you have two name parameters and two value>>parameters in a single tag. Try using a separate tag for each name/value>>pair and it will work fine ... :)>>It also doesn't work because, if I read the docs correctly, [SETMIMEHEADER]>isn't for email:>>[SETMIMEHEADER name=headerName&value=headerValue]>> Putting a [SETMIMEHEADER] tag into a template causes WebCatalog to>add a new MIME> header to the outgoing HTML text for that page. MIME headers are>normally used to create> redirect requests and cookies. WebCatalog already has special tags>for generating redirects and> cookies, but in the future you may need to create MIME headers for>other purposes.That's right, MIME headers in email messages are just typed into the [sendmail] tag. The [setmimeheader] tag is for html pages. I should have noticed that myself ... thanks Michael! :)Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>> >[setmimeheader>>name=Mime-Version&value=1.0&name=Content-Type&value=text/html;]>>>> It doesn't work because you have two name parameters and two value>>parameters in a single tag. Try using a separate tag for each name/value>>pair and it will work fine ... :)>>It also doesn't work because, if I read the docs correctly,
[setmimeheader]>isn't for email:>>[SETMIMEHEADER name=headerName&value=headerValue]>> Putting a
[setmimeheader] tag into a template causes WebCatalog to>add a new MIME> header to the outgoing HTML text for that page. MIME headers are>normally used to create> redirect requests and cookies. WebCatalog already has special tags>for generating redirects and> cookies, but in the future you may need to create MIME headers for>other purposes.That's right, MIME headers in email messages are just typed into the
[sendmail] tag. The
[setmimeheader] tag is for html pages. I should have noticed that myself ... thanks Michael! :)Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Kenneth Grome
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:
Client-side Image Maps and WebCat? (1998)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
RE: WebCatalog2 for NT Beta Request (1997)
authenticating a second user (1997)
[isfile] ? (1997)
2.0 Info (1997)
[WebDNA] [TEST] (2009)
Credit card types (1997)
Close-to Comparison Code (1998)
Generating a random image, but avoiding repeated images. (1999)
Quickie question on the email templates (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Safari browser and WebDNA set-cookies (2003)
Error: this shopping cart has already been submittedm (2004)
[WebDNA] ONLY the FIRST continuous run of numeric chars? (2008)
2.01 upgrade problems (1997)
Size limit for tmpl editor ? (1997)
WebCatalog for Postcards ? (1997)
carriage returns in data (1997)
Summing fields (1997)