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

rating

Data only going to first assigned email address

Thread began 5/12/2011 1:43 pm by wrigd | Last modified 5/16/2011 11:41 am by Jason Byrnes | 1341 views | 8 replies |

wrigd

Data only going to first assigned email address

Hi,

I have set up UE4 on my site to send out results information to subscribed members. The body of the email contains recordset data and the email addresses are set up to send via 'Once per entry' on a 'recordset loop' from my member email database table.

The problem I am having is that the emails get sent out but the recordset data that is in the body of the email is only being sent to (only appears on) the first email address as assigned in my recordset for the members email addresses. If I change the sort order of the members emails recordset then the first one listed is the only one that will receive the information in the body of the email. The rest of the email addresses receive the email but no body information. Any help would be appreciated. Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

See the following thread for details:
showthread.php?t=17869

Sign in to reply to this post

wrigd

Hi thanks for the reply. Sorry if I am being a bit dim but where am I to apply this code to exactly and which column name am I too apply (the email addresses column or the results column?).

I am not using one of the assigned templates in UE4 and have created the file to be emailed in Dreamweaver (clicking the Dreamweaver icon in the UE4 wizard). Many thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

In the webassist/email/templates folder is the template file for your email



add this code at line 1 of that file:
<?php
global $RecipArray;
global $RecipIndex;
?>

then replace each instance of the code that references your recordset:
<?php echo $row_RecordsetName['yourColumnName']; ?>

with:
<?php echo($RecipArray[$RecipIndex][0]["yourColumnName"]); ?>

where "RecordsetName" is the name of your recordset and "yourColumnName" is the name of the recordset column.

Sign in to reply to this post

wrigd

Hi Jason,

Many thanks for your help. I now have the emails working perfectly. Thanks again.

Sign in to reply to this post

wrigd

Hi, I have just one other question. I have applied the UE Progress Bar to my submit form but I have multiple buttons that send out different emails (4 submit buttons in the same form all using different templates). The progress bar only seems to be working on one button.

When adding the progress bar I am only able to apply one and any attempt to insert a new Progress Bar, via the wizard, overwrites the last one applied. The bar will show up when any of the other three buttons are pressed but just no indication of progress. Is there a way to have the bar working on all 4 buttons in the same form? Many thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

No, the progress bar cannot be applied to a form with multiple submit buttons.

Sign in to reply to this post

wrigd

Ok thanks. So I would need to apply each button to a seperate form then. Many thanks again for your help.

Sign in to reply to this post

Jason ByrnesWebAssist

yes, that is correct.

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