close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


my page redirects but the emails do not send

Thread began 1/20/2020 6:55 am by JBWebWorks | Last modified 1/20/2020 10:27 am by Ray Borduin | 204 views | 1 replies |


my page redirects but the emails do not send

I was using old version of UE and it worked but had to change to new version of Send Email and the page redirects but the emails do not send.
I am sending to a group of 65 members of a golf association.
Here is my code.

<?php require_once('Connections/connsqli.php'); ?>
<?php require_once( "webassist/security_assist/helper_php.php" ); ?>
<?php require_once('webassist/mysqli/rsobj.php'); ?>
<?php require_once("webassist/email/WA_Email.php"); ?>
if (!WA_Auth_RulePasses("Logged in to admin")){
$Recordset1 = new WA_MySQLi_RS("Recordset1",$connsqli,1);
$Recordset1->setQuery("SELECT members.EmailAddress FROM members");
if (isset($_POST["submit1"]) || isset($_POST["submit1_x"])) { //WA Universal Email
$Email = new WA_Email("emailgroup");
$Email->Redirect = "?success=true";
$Email->From = "MPMGA <>";
$Email->ReplyTo = "".((isset($_POST["from1"]))?$_POST["from1"]:"") ."";
$Email->BurstSize = "50";
$Email->BurstTime = "1";
$Email->WaitTime = "1";
$Email->Host = "";
$Email->Port = "587";
$Email->BodyFile = "webassist/email/waue_emailgroup_1_body.php";
if (function_exists("rel2abs") && $Email->Redirect) $Email->Redirect = $Email->Redirect?rel2abs($Email->Redirect,dirname(__FILE__)):"";
for ($emailGroup=0; $emailGroup<sizeof($Email->To); $emailGroup++) {
$Email->Subject = "".((isset($_POST["subject1"]))?$_POST["subject1"]:"") ."";
Sign in to reply to this post


I figured this out and the email is sending now.
on this line
$Recordset1 = new WA_MySQLi_RS("Recordset1",$connsqli,1);
I changed to
$Recordset1 = new WA_MySQLi_RS("Recordset1",$connsqli,100); (the recordset inserted LIMIT 1 which made the email go to only the first address in the recordset so in changed it to LIMIT 100 and it sent to all the members.

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





Ease of use


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