Re: [WebDNA] HTML [sendmail] revisited

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102040
interpreted = N
texte = 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" wrote: > It's been awhile since I've done this and my old, working code is > out of reach at the moment... > > [sendmail > TO=me@myemailaddress.com&FROM=validEmail@mydomain.com&subject=HTML > email Test&MIME-Version=1.0&Content-Type=multipart/ > mixed;boundary=1234abcd][!][/!][line_ending] > --1234abcd[line_ending] > Content-Type: text/plain; charset=iso-8859-1 > plain text content goes here..... > --1234abcd[line_ending] > Content-Type: text/html; charset=iso-8859-1 > > TEST TEST TEST > > > >
size=5>Hello world
> > > --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=iso-8859-1 > plain text content goes here..... > --1234abcd%0A&0D > Content-Type: text/html; charset=iso-8859-1 > > TEST TEST TEST > > > >
size=5>Hello world
> > > --1234abcd%0A&0D > > > What am I missing? > -Dan > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Associated Messages, from the most recent to the oldest:

    
  1. RE: [WebDNA] HTML [sendmail] revisited ("Michael A. DeLorenzo" 2009)
  2. Re: [WebDNA] HTML [sendmail] revisited (Stuart Tremain 2009)
  3. Re: [WebDNA] HTML [sendmail] revisited (Toby Cox 2009)
  4. Re: [WebDNA] HTML [sendmail] revisited (Stuart Tremain 2009)
  5. Re: [WebDNA] HTML [sendmail] revisited ("Dan Strong" 2009)
  6. Re: [WebDNA] HTML [sendmail] revisited (Donovan Brooke 2009)
  7. Re: [WebDNA] HTML [sendmail] revisited ("Dan Strong" 2009)
  8. Re: [WebDNA] HTML [sendmail] revisited (Stuart Tremain 2009)
  9. Re: [WebDNA] HTML [sendmail] revisited (Stuart Tremain 2009)
  10. Re: [WebDNA] HTML [sendmail] revisited ("Dan Strong" 2009)
  11. Re: [WebDNA] HTML [sendmail] revisited (Stuart Tremain 2009)
  12. Re: [WebDNA] HTML [sendmail] revisited (Tom Duke 2009)
  13. Re: [WebDNA] HTML [sendmail] revisited (World Wide Art 2009)
  14. RE: [WebDNA] HTML [sendmail] revisited ("Michael A. DeLorenzo" 2009)
  15. Re: [WebDNA] HTML [sendmail] revisited (Toby Cox 2009)
  16. [WebDNA] HTML [sendmail] revisited ("Dan Strong" 2009)
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" wrote: > It's been awhile since I've done this and my old, working code is > out of reach at the moment... > > [sendmail > TO=me@myemailaddress.com&FROM=validEmail@mydomain.com&subject=HTML > email Test&MIME-Version=1.0&Content-Type=multipart/ > mixed;boundary=1234abcd][!][/!][line_ending] > --1234abcd[line_ending] > Content-Type: text/plain; charset=iso-8859-1 > plain text content goes here..... > --1234abcd[line_ending] > Content-Type: text/html; charset=iso-8859-1 > > TEST TEST TEST > > > >
size=5>Hello world
> > > --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=iso-8859-1 > plain text content goes here..... > --1234abcd%0A&0D > Content-Type: text/html; charset=iso-8859-1 > > TEST TEST TEST > > > >
size=5>Hello world
> > > --1234abcd%0A&0D > > > What am I missing? > -Dan > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Toby Cox

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:

Re:Has this happened to you? (was:Emailer Chokes on bad address) (1997) [WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009) Loop code problem (2000) calculating tax rates, mail order solutions and version 2 (1997) SPAM attempts through WebDNA (Was Serious WebDNA Issue) (2006) The List is Changing (1997) WC1.6 to WC2 date formatting -FIXED! (1997) TCP Connect (1999) SSL for Store Builder Sites? (2003) [returnraw] and form variables (1998) Re:Password Authentication - request example (1998) RequiredFields template (1997) Process SSI and WebCatalog.acgi (1998) Bug alert! (1997) WebDNA FAQ or FAQs -- was "weird problem" (2004) webdelivery.html and webna (1997) ftp to webstar (2001) Online reference (1997) Next X hits (1996) $adminput doesn't allow [include] files (1997)