RE: [WebDNA] HTML [sendmail] revisited
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102055
interpreted = N
texte = Nice one Stewart. I like the text option.Michael -----Original Message-----From: Stuart Tremain [mailto:webdna@idfk.com.au] Sent: Thursday, February 19, 2009 6:01 PMTo: talk@webdna.usSubject: Re: [WebDNA] HTML [sendmail] revisitedThis is my email sender:[SendMail to=[emailtoaddress]&from=[emailfromaddress]&reply- to=[replytoaddress]&subject=[ThisSubject]&MIME-Version=1.0&Content- Type=multipart/alternative; charset=us-ascii; boundary="this_is_the_boundary"&Content-Transfer-Encoding=7bit]]--this_is_the_boundaryContent-Type: text/plain; charset=us-asciiContent-Transfer-Encoding: 7bit[unurl]%0D%0A[/unurl][Include file=^include/email/confirmation_email-text.inc][unurl]%0D%0A[/unurl]--this_is_the_boundaryContent-Type: text/html; charset=us-asciiContent-Transfer-Encoding: 7bit[unurl]%0D%0A[/unurl][Include file=^include/email/confirmation_email-html.inc]--this_is_the_boundary--[/sendmail]RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 20/02/2009, at 9:28 AM, 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>
> > >
> > > --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>
> > >
> > > --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/---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usold archives: http://dev.webdna.us/TalkListArchive/
Associated Messages, from the most recent to the oldest:
Nice one Stewart. I like the text option.Michael -----Original Message-----From: Stuart Tremain [mailto:webdna@idfk.com.au] Sent: Thursday, February 19, 2009 6:01 PMTo: talk@webdna.usSubject: Re: [WebDNA] HTML [sendmail] revisitedThis is my email sender:[SendMail to=[emailtoaddress]&from=[emailfromaddress]&reply- to=[replytoaddress]&subject=[ThisSubject]&MIME-Version=1.0&Content- Type=multipart/alternative; charset=us-ascii; boundary="this_is_the_boundary"&Content-Transfer-Encoding=7bit]]--this_is_the_boundaryContent-Type: text/plain; charset=us-asciiContent-Transfer-Encoding: 7bit[unurl]%0D%0A[/unurl][Include file=^include/email/confirmation_email-text.inc][unurl]%0D%0A[/unurl]--this_is_the_boundaryContent-Type: text/html; charset=us-asciiContent-Transfer-Encoding: 7bit[unurl]%0D%0A[/unurl][Include file=^include/email/confirmation_email-html.inc]--this_is_the_boundary--[/sendmail]RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 20/02/2009, at 9:28 AM, 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> > > > > > > --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> > > > > > > --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/---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usold archives: http://dev.webdna.us/TalkListArchive/
"Michael A. DeLorenzo"
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:
Trigger time setting (2002)
Bug Report, maybe (1997)
[WebDNA] Secure Cookies (2009)
RE: [WebDNA] Send results to more pages? (2011)
customizing the color of user's pages (1997)
[WebDNA] Anyone using version 6.2.1 in production on Linux (2013)
UnitShipCost, Formulas.db and passwords (2003)
[WebDNA] EMailFolder/ (2016)
docs for WebCatalog2 (1997)
WebCat2.0 acgi vs plugin (1997)
Verify entry into a text field (2005)
!!!!!!!!!!String Search!!!!!!!!!!!!!!!!!! (2001)
More on the email templates (1997)
WebCat2.0 [format thousands .0f] no go (1997)
Grant, please help me ... (1997)
shownext (1997)
won't serve .tpl (2000)
New command suggestion (1997)
PCS Customer submissions ? (1997)
[cart] not being interpreted inside [founditems] (1997)