What is WebDNA
WebDNA and BioType
Download WebDNA
WebDNA resources
|
> size=5>Hello world |
> size=5>Hello world |
Your= line endings are coming out funny
%0A&0D
Rather than =%0A%0D
And you have to unurl them.
And think you either =need a double boundary or double line ending at end for some situations, =but it's late here and I need to go to bed. So more info/clarification =in morning...
TC
On 19 Feb 2009, at 22:28, "Dan =Strong" <webdna@danstrong.com> =wrote:It's been awhile since I've done =this and my old, working code is out of reach at the =moment...[sendmail TO=3Dme@myemailaddress.com<=a =href=3D"mailto:&FROM=3DvalidEmail@mydomain.com">&FROM=3DvalidEmail=@mydomain.com&subject=3DHTML email =Test&MIME-Version=3D1.0&Content-Type=3Dmultipart/mixed;boundary=3D=1234abcd][!][/!][line_ending]--1234abcd[line_ending]Content-Type: text/plain; =charset=3Diso-8859-1plain =text content goes here.....--1234abcd[line_ending]Content-Type: text/html; =charset=3Diso-8859-1<html><head><title>TEST TEST =TEST</title><meta =http-equiv=3DContent-Type content=3Dtext/html; =charset=3Diso-8859-1></head><body><table><tr><td bgcolor=3D#cccccc><font =face=3DArialsize=3D5><b>Hell=o =world</b></font></td></tr></table></body>
</html>
--1234abcd[line_ending]
[/sendmail]
Is sending me =the literal HTML code (not parsed) like so:
%0A&0D
--1234abcd%0A&0D
Content-Type: text/plain; =charset=3Diso-8859-1
plain =text content goes here.....
--1234abcd%0A&0D
Content-Type: text/html; =charset=3Diso-8859-1
<html><head>
<title>TEST TEST =TEST</title>
<meta =http-equiv=3DContent-Type content=3Dtext/html; =charset=3Diso-8859-1>
</head>
<body>
<table><tr><td bgcolor=3D#cccccc><font =face=3DArial
size=3D5><b>Hell=o =world</b></font></td></tr></table>
</html>
--1234abcd%0A&0D
What am I =missing?
-Dan
---------------------------------------------------------
This message is sent to you =because you are subscribed to
the mailing list <talk@webdna.us>.
archives: http://mail.webdna.us/l=ist/talk@webdna.us
old =archives: http://dev.webdna.us/TalkLi=stArchive/-------------------------------------------=--------------
DOWNLOAD WEBDNA NOW!
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...