Re: [WebDNA] Multiple e-mail sending
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 107714
interpreted = N
texte = This is a multi-part message in MIME format.--------------060800050506090807040104Content-Type: text/plain; charset=UTF-8; format=flowedContent-Transfer-Encoding: 7bitTommy,I've attached a small .tpl file I use for what you want.It should give you a good starting point...MarcOn 11/17/2011 11:19 AM, tommy@enkelthed.dk wrote:> Hello>> I've got a query that will supply me with a table of customers that I> display on the webpage,>> once the user has confirmed the list, I want to be able to click a button> and send the same email to each of these customers, informing them that> their products are ready for them to pickup.>> Now I can send a single email by hardcoding the email into the sendmail> code, but I'd like to be able to send one for each of these customers.>> Any ideas?>> I've tried with>>> [showif [butik]=store1]> [arrayset name=clients_email&dim=1]> (1)=[email]> [/arrayset]>>> [/showif]> but it only persists until the template is reloaded, which means it won't> be fed to the form when i click sendmail>> Im all out of idea's, I dont want to have to make another call to the DB> as I think the call that provides the table in the first place should be> enough to somehow store this information until i hit the send button.>> I was considering saving it in a flatfile db, of the internal webdna kind,> but i've never worked with those - and I havent got a clue on what to do> about it.>> Its late i've had a long day, if anyone can offer some advice on what I> atleast could try I would be grateful.>> Regards> Tommy> ---------------------------------------------------------> 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-- -------------------------------------------Marc ThompsonSoftware EngineerMedia SolutionsUniversity Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu---------------------------------------------------------060800050506090807040104Content-Type: text/html; name="get_emails.tpl"Content-Transfer-Encoding: base64Content-Disposition: attachment; filename="get_emails.tpl"PCEtLUhBU19XRUJETkFfVEFHUy0tPg0KW3Byb3RlY3QgQURNSU5dDQoNCjxodG1sPg0KPGhlYWQ+DQogIDx0aXRsZT5lbWFpbCBhZGRyZXNzZXM8L3RpdGxlPg0KICA8bWV0YSBuYW1lPSJyb2JvdHMiIGNvbnRlbnQ9Im5vaW5kZXgsIG5vZm9sbG93Ij4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T10cnVlXQ0KICBbVGV4dF1hZGRyZXNzZXM9W0dyZXAgc2VhcmNoPVssXSZyZXBsYWNlPS9dW2FkZHJlc3Nlc11bL0dyZXBdWy9UZXh0XQ0KICBbVGV4dF1hZGRyZXNzZXM9W0dyZXAgc2VhcmNoPVsgXSZyZXBsYWNlPV1bYWRkcmVzc2VzXVsvR3JlcF1bL1RleHRdDQoNCiAgIFtMaXN0UGF0aCBwYXRoPVthZGRyZXNzZXNdXQ0KICAgICBbc2VuZG1haWwgdG89W25hbWVdJmZyb209W19mcm9tXSZzdWJqZWN0PVtfc3ViamVjdF1dDQpbX2JvZHldDQogICAgIFsvc2VuZG1haWxdDQoNCgkJW21hdGggc2hvdz1mXW51bT1bbnVtXSsxWy9tYXRoXQ0KICAgWy9MaXN0UGF0aF0NCg0KICA8aDI+W251bV0gbWVzc2FnZXMgc2VudC48L2gyPg0KICA8aDM+PGEgaHJlZj0iQWRtaW5TZWFyY2gudHBsIj5CYWNrIHRvIFNlYXJjaDwvYT48L2gzPg0KWy9TaG93SWZdDQoNCiAgW2NvbW1pdGRhdGFiYXNlIGRiPWNvbnRhY3QuZGJdDQogIFtjb21taXRkYXRhYmFzZSBkYj1Vc2Vycy5kYl0NCg0KDQoNCjwvYm9keT4NCjwvaHRtbD4NCg0K--------------060800050506090807040104--
Associated Messages, from the most recent to the oldest:
This is a multi-part message in MIME format.--------------060800050506090807040104Content-Type: text/plain; charset=UTF-8; format=flowedContent-Transfer-Encoding: 7bitTommy,I've attached a small .tpl file I use for what you want.It should give you a good starting point...MarcOn 11/17/2011 11:19 AM, tommy@enkelthed.dk wrote:> Hello>> I've got a query that will supply me with a table of customers that I> display on the webpage,>> once the user has confirmed the list, I want to be able to click a button> and send the same email to each of these customers, informing them that> their products are ready for them to pickup.>> Now I can send a single email by hardcoding the email into the sendmail> code, but I'd like to be able to send one for each of these customers.>> Any ideas?>> I've tried with>>> [showif [butik]=store1]> [arrayset name=clients_email&dim=1]> (1)=[email]> [/arrayset]>>> [/showif]> but it only persists until the template is reloaded, which means it won't> be fed to the form when i click sendmail>> Im all out of idea's, I dont want to have to make another call to the DB> as I think the call that provides the table in the first place should be> enough to somehow store this information until i hit the send button.>> I was considering saving it in a flatfile db, of the internal webdna kind,> but i've never worked with those - and I havent got a clue on what to do> about it.>> Its late i've had a long day, if anyone can offer some advice on what I> atleast could try I would be grateful.>> Regards> Tommy> ---------------------------------------------------------> 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-- -------------------------------------------Marc ThompsonSoftware EngineerMedia SolutionsUniversity Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu---------------------------------------------------------060800050506090807040104Content-Type: text/html; name="get_emails.tpl"Content-Transfer-Encoding: base64Content-Disposition: attachment; filename="get_emails.tpl"PCEtLUhBU19XRUJETkFfVEFHUy0tPg0KW3Byb3RlY3QgQURNSU5dDQoNCjxodG1sPg0KPGhlYWQ+DQogIDx0aXRsZT5lbWFpbCBhZGRyZXNzZXM8L3RpdGxlPg0KICA8bWV0YSBuYW1lPSJyb2JvdHMiIGNvbnRlbnQ9Im5vaW5kZXgsIG5vZm9sbG93Ij4NCiAgPG1ldGEgaHR0cC1lcXVpdj0icHJhZ21hIiBjb250ZW50PSJuby1jYWNoZSI+DQogIDxsaW5rIHJlbD0ic3R5bGVzaGVldCIgaHJlZj0iY29udGFjdC5jc3MiPg0KPC9oZWFkPg0KPGJvZHkgYmdjb2xvcj0iI2ZmZmZmZiI+DQpbbWF0aCBzaG93PWZdbnVtPTEtMVsvbWF0aF0NCltUZXh0XXNlYXJjaF9zdHJpbmc9Wy9UZXh0XQ0KDQpbU2hvd0lmIFtzdGFydGF0XT0xXQ0KPGZvcm0gbWV0aG9kPSJwb3N0IiBhY3Rpb249ImdldF9lbWFpbHMudHBsIj4NCiAgW3NlYXJjaCBkYj1jb250YWN0LmRiJltmb3JtdmFyaWFibGVzXVtuYW1lXT1b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gWy9MaXN0UGF0aF0NCg0KICA8aDI+W251bV0gbWVzc2FnZXMgc2VudC48L2gyPg0KICA8aDM+PGEgaHJlZj0iQWRtaW5TZWFyY2gudHBsIj5CYWNrIHRvIFNlYXJjaDwvYT48L2gzPg0KWy9TaG93SWZdDQoNCiAgW2NvbW1pdGRhdGFiYXNlIGRiPWNvbnRhY3QuZGJdDQogIFtjb21taXRkYXRhYmFzZSBkYj1Vc2Vycy5kYl0NCg0KDQoNCjwvYm9keT4NCjwvaHRtbD4NCg0K--------------060800050506090807040104--
Marc Thompson
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:
Am I going senile? (Price recalc based on quantity) (1997)
Webstar 1.3.1 PPC (1997)
no [search] with NT (1997)
Old $ commands and migration (2004)
Never ending problem.... (2000)
Purchased cart being overwritten - still !?? (1997)
Inventory Adjustment (2000)
Re:multiple digests, please stop (1997)
WebCatalog [FoundItems] Problem - AGAIN - (1997)
Comments in db? (1997)
[BULK] Fwd: [WebDNA] [BULK] WebDNA discovery in the Console - [having many crashes] (2011)
any idea (2004)
Bug or syntax error on my part? (1997)
E-mailer error codes (1997)
Cart# (1997)
ShowIf & CountChars (2000)
Search the same field twice? (2004)
Guestbook (2000)
You sent this to me by mistake. (1998)
WebCatalog 2.0 b 15 mac (1997)