close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Universal Email 4 Does not sent fields of the record set.

Thread began 8/31/2010 11:13 pm by ingsercon21251 | Last modified 1/21/2011 10:39 am by Jason Byrnes | 1765 views | 13 replies |

ingsercon21251

Universal Email 4 Does not sent fields of the record set.

Hello

I used to work with UE3 sending emails using a record set loop and I could add more fields of the record set into the email body.

Now I am using UE4, but I can not see the way to do exactly the same thing.
I just need to put my customer full name and the business name into the email body.
Actually the email is sent but the only appear with the name an business name of my first customer in the record set loop.

Any Idea what i need to do ?
Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

Sign in to reply to this post

roby258376

I am having the exact same issue. A solution here would probably be helpful. Or should I open a support ticket as well?

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a copy of the page that universal email is applied to and the webassist/email folder in a zip archive so i can examine the code please.

Sign in to reply to this post

roby258376

Files are attached, please let me know if you need anything else.

Attached Files
massMail.zip
webassist.zip
Sign in to reply to this post

Jason ByrnesWebAssist

try changing the recordset call in the mail/waue_massMail1.php file to use this syntax:
$RecipArray[$CurIndex][]

instead of :
$row_rsEmails


for example, change:

php:
$MailBody = $MailBody .  $row_rsEmails['memberFirstName'];




to:

php:
$MailBody = $MailBody .  $RecipArray[$CurIndex][]['memberFirstName'];
Sign in to reply to this post

roby258376

With that change, the emails are no longer being sent and the redirect after hitting submit no longer works either.

Sign in to reply to this post

Jason ByrnesWebAssist

my apologies, it should be $RecipArray[$RecipIndex][0]:

try this example:

php:
$MailBody = $MailBody .  $RecipArray[$RecipIndex][0]['memberFirstName'];
Sign in to reply to this post

roby258376

Hi Jason,

That new code finishes with a redirect, but the emails still all show the first records information.

Sign in to reply to this post

Jason ByrnesWebAssist

make sure you are changing all three lines that use the recordset code:
$MailBody = $MailBody . $row_rsEmails['memberFirstName'];

$MailBody = $MailBody . $row_rsEmails['memberEmail'];

$MailBody = $MailBody . $row_rsEmails['memberPassword'];


anywhere that is using a recpordset reference in the email needs to have "$row_rsEmails" changed to "$RecipArray[$RecipIndex][0]"

Sign in to reply to this post
loading

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