[WebDNA] [sendmail] inside search

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 113109
interpreted = N
texte = 697 --001a114fce3e8e821a053fafcea9 Content-Type: text/plain; charset=UTF-8 Hi All, I have a group that needs to mass email it's entire membership of some 2000 people. I've written a script that should search the .db, grab the email address, and send a pre-written message. The problem is that the [sendmail] tag won't work when it is inside of the [search] command. Is there another way to send mass email messages to addresses stored in a ..db field? Thanks a bunch, sfb [search db=mydbname.db&geSKUdata=1&eqACTIVEdatarq=Yes][founditems] [text]email_content=
message text and variables
[/text] [sendmail to=[email]&from=webmaster@mydomain.org &subject=[MESSAGE_SUBJECT]&content-type=text/html][email_content][/sendmail] [/founditems][/search] Stephen F Braun sbraun1@twcny.rr.com --001a114fce3e8e821a053fafcea9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi All,
I have a group that needs to mass e= mail it's entire membership of some 2000 people.
I've wri= tten a script that should search the .db, grab the email address, and send = a pre-written message.
The problem is that the [sendmail] tag won= 't work when it is inside of the [search] command.

=
Is there another way to send mass email messages to addresses stored i= n a .db field?

Thanks a bunch,
sfb
=


[search db=3Dmydbname.db&geSKUd= ata=3D1&eqACTIVEdatarq=3DYes][founditems] =C2=A0 =C2=A0=C2=A0
[te= xt]email_content=3D<html>
<head></head>
= <= ;body bgcolor=3D"white" TEXT=3D"black">
<t= able width=3D"590" cellpadding=3D"2" cellspacing=3D&quo= t;0" border=3D"0" bordercolor=3D"#000000">
<tr><td align=3D"left"><font color=3D"blac= k" size=3D"3" face=3D"Arial, Verdana, Tahoma">m= essage text and variables</td></tr></table>
</b= ody></html>
[/text]
[sendmail to=3D[email]&from= =3Dwebmaster@mydomain.org&= ;subject=3D[MESSAGE_SUBJECT]&content-type=3Dtext/html][email_content][/= sendmail]
[/founditems][/search]



Steph= en F Braun
<= a href=3D"mailto:sbraun1@twcny.rr.com" target=3D"_blank">sbraun1@twcny.rr.c= om
--------------------------------------------------------- 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 Bug Reporting: support@webdna.us --001a114fce3e8e821a053fafcea9-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [sendmail] inside search (Stephen Braun 2016)
  2. Re: [WebDNA] [sendmail] inside search (Kenneth Grome 2016)
  3. Re: [WebDNA] [sendmail] inside search (Stephen Braun 2016)
  4. Re: [WebDNA] [sendmail] inside search (Kenneth Grome 2016)
  5. [WebDNA] [sendmail] inside search (Stephen Braun 2016)
697 --001a114fce3e8e821a053fafcea9 Content-Type: text/plain; charset=UTF-8 Hi All, I have a group that needs to mass email it's entire membership of some 2000 people. I've written a script that should search the .db, grab the email address, and send a pre-written message. The problem is that the [sendmail] tag won't work when it is inside of the [search] command. Is there another way to send mass email messages to addresses stored in a ..db field? Thanks a bunch, sfb [search db=mydbname.db&geSKUdata=1&eqACTIVEdatarq=Yes][founditems] [text]email_content=
message text and variables
[/text] [sendmail to=[email]&from=webmaster@mydomain.org &subject=[MESSAGE_SUBJECT]&content-type=text/html][email_content][/sendmail] [/founditems][/search] Stephen F Braun sbraun1@twcny.rr.com --001a114fce3e8e821a053fafcea9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi All,
I have a group that needs to mass e= mail it's entire membership of some 2000 people.
I've wri= tten a script that should search the .db, grab the email address, and send = a pre-written message.
The problem is that the [sendmail] tag won= 't work when it is inside of the [search] command.

=
Is there another way to send mass email messages to addresses stored i= n a .db field?

Thanks a bunch,
sfb
=


[search db=3Dmydbname.db&geSKUd= ata=3D1&eqACTIVEdatarq=3DYes][founditems] =C2=A0 =C2=A0=C2=A0
[te= xt]email_content=3D<html>
<head></head>
= <= ;body bgcolor=3D"white" TEXT=3D"black">
<t= able width=3D"590" cellpadding=3D"2" cellspacing=3D&quo= t;0" border=3D"0" bordercolor=3D"#000000">
<tr><td align=3D"left"><font color=3D"blac= k" size=3D"3" face=3D"Arial, Verdana, Tahoma">m= essage text and variables</td></tr></table>
</b= ody></html>
[/text]
[sendmail to=3D[email]&from= =3Dwebmaster@mydomain.org&= ;subject=3D[MESSAGE_SUBJECT]&content-type=3Dtext/html][email_content][/= sendmail]
[/founditems][/search]



Steph= en F Braun
<= a href=3D"mailto:sbraun1@twcny.rr.com" target=3D"_blank">sbraun1@twcny.rr.c= om
--------------------------------------------------------- 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 Bug Reporting: support@webdna.us --001a114fce3e8e821a053fafcea9-- . Stephen Braun

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:

Sorting error (1997) SKU lookup (1997) Viewing old carts (was FEW QUESTIONS) (1997) Date comparison using showif (2003) Search for starts with and ends with? (2003) Help! WebCat2 bug (1997) Building Calendars (1997) More than one db with the same namn (was: WC2f3) (1997) Cumulative Shipping charge calculations - your help please. (1997) WebCatalog for Postcards ? (1997) Emailer tracking (1997) setting taxable to true (1997) Payments -> Bank Accounts (2005) How far do [showif]s go? (1997) question: webmerchant connection (1997) [encrypt] blues.... (2000) Re[2]: 2nd WebCatalog2 Feature Request (1996) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Mime Headers for Mail (1998) Anomaly ? causes NT application event log to overflow (1997)