close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Email only being sent to one address in recordset

Thread began 9/29/2015 6:38 am by Daryl | Last modified 9/30/2015 10:52 am by Ray Borduin | 1201 views | 4 replies |

DarylBeta Tester

Email only being sent to one address in recordset

I have a UE behaviour that sends an email to a loop of addresses from a recordset. I have added this in the Advanced To settings.

It appears that the email is only going to one address:

The Session Dump is as follows

array(14) {
["WAENCRYPTEDRETURNUSED"]=>
bool(false)
["WAENCRYPTEDRETURNSUCCESS"]=>
bool(false)
["WAVT_login_Errors"]=>
string(0) ""
["SecurityAssist_usersID"]=>
string(1) "3"
["usersFirstName"]=>
string(5) "Daryl"
["usersLeader"]=>
string(1) "1"
["waue_emailActivityDetails_1_Status"]=>
string(7) "Success"
["waue_emailActivityDetails_1_Index"]=>
int(1)
["waue_emailActivityDetails_1_From"]=>
string(19) "noreply@fesg.org.uk"
["waue_emailActivityDetails_1_To"]=>
string(27) "email address removed@hotmail.co.uk"
["waue_emailActivityDetails_1_Subject"]=>
string(26) "New Activity - ICE SKATING"
["waue_emailActivityDetails_1_Body"]=>
string(881) "
--WAMULTIBREAKWA

I have tested the SQL in Navicat for MYSQL and get a lot of records.

This page takes nearly 30 seconds from pressing the button to refreshing

The recordset is filtered by a url variable and the form action and redirect on success is set to:

<?php echo(htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)."?".$_SERVER["QUERY_STRING"]); ?>

Sign in to reply to this post

Ray BorduinWebAssist

The session variables would only show the last email sent. Can I see a copy of the page with the email applied?

Sign in to reply to this post
Did this help? Tips are appreciated...

DarylBeta Tester

I have attached the page below.

This page is a plugin on another page.

If you need to see the page working let me know and I will create an account for you to be able to login

Attached Files
emailActivityDetails.php.zip
Sign in to reply to this post

DarylBeta Tester

I assumed it would show a list of email addresses sent to and not just the last one.

This page is probably working as expected then as the email address shown is the last one in the recordset when I run a query directly with the database.

Sign in to reply to this post

Ray BorduinWebAssist

Yes it appears it is all working.

Sign in to reply to this post
Did this help? Tips are appreciated...

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...