close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Emails after multiple record update only sending one email to first recipient

Thread began 8/28/2013 4:16 pm by YellowCircleWeb | Last modified 8/30/2013 6:55 am by Jason Byrnes | 2020 views | 5 replies |

YellowCircleWeb

Emails after multiple record update only sending one email to first recipient

I've got a plugin that updates multiple records. I want it to then send an email to each person who has had their record updated. The email behaviour isn't working correctly as if I update multiple records (which does work correctly) only a single email is sent and that's only ever sent to whoever is the first person in the first record that gets updated.

I've attached the page for this, which I am using as a plugin. The recipient email addresses are being pulled from a recordset and I know this information is correct as I have the email address for each record displayed on the page.

This is the last hurdle I need to overcome and I can't figure out where I have gone wrong???

Attached Files
orgs-registered-but-not-authorised-plugin.zip
Sign in to reply to this post

Jason ByrnesWebAssist

to use a recordset loop for the to address, click the "To" Button, to open the advanced to settings and select recordset loop.


instead of using the advanced to settings, you have jsut used the lightning bolt icon to select the email column of the reocprdset, this does not create a loop.

Sign in to reply to this post

YellowCircleWeb

Thanks Jason.
When I go into the settings you described in Universal Email the option to use a recordset is grayed out and I cannot choose it. I noticed the recordset is not showing in the server behaviours panel. I thought this was down to code I had added in around the date field to format it in UK format, but removing this code doesn't seem to bring the recordset back into the server behaviours panel? The page is working fine in terms of the database??

Sign in to reply to this post

Jason ByrnesWebAssist

I dint see a reason for the recordset to not show in the server behaviors panel, but if it isn't in the server behaviors panel, it wont be visible to the Universal Email server behavior.

Try recreating the page, That may help with whatever code isa out of place causing Dreamweaver to not inspect the recordset code.

Sign in to reply to this post

YellowCircleWeb

I red exclamation marks next to the alternating styles server behaviour and the repeat region server behaviour - could that be related to why the recordset isn't showing??


**EDIT*** I fixed it by deleting the code for the old recordset and recreating it in the page - The multiple email behaviour works and the recordset is now showing in the Server Behaviours panel

Sign in to reply to this post

Jason ByrnesWebAssist

glad to hear it is working.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...