Sending email to all records in recordset using Send mail
Hi, Is it possible to send an email to all the records in a recordset using Send mail? Now only the first record is used.
File attached.
regards, Peter Drieghe
Hi, Is it possible to send an email to all the records in a recordset using Send mail? Now only the first record is used.
File attached.
regards, Peter Drieghe
Open the "Create Email Message" server behavior. Then click the "To..." button. You will see the send email from recordset option on that page.
Hi,
I managed to insert the server behaviour, the code has changed, but the email is only sent to the first record in the recordset
Change line 10 from:
$emailadressen = new WA_MySQLi_RS("emailadressen",$spice,1);
to:
$emailadressen = new WA_MySQLi_RS("emailadressen",$spice,0);
That will make the recordset return all results instead of just one.
Yes, now it's works fine.
Thank you for your awesome support!
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.