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:
PIXO (1997)
Middle Context (2002)
Passing values - never mind (1999)
WebCat2.0 acgi vs plugin (1997)
Banners and sort of random display (1997)
WCf2 and nested tags (1997)
Multiple Sendmail Tags on One Page (2008)
Variable prices and Formulas.db (1997)
Updating Prices in Online Database (1999)
cookies and [returnraw] (1997)
Search minus first found (1999)
webcat- multiple selection in input field (1997)
'RequiredField' Question (1998)
Big Databases (1997)
Big Databases (1997)
HELP WITH DATES (1997)
Force leading zeros (1998)
WebMerchant 1.6 and https (1997)
Runtime version ... (2003)
gateway application timeouts (1998)