close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Not sending data to multiple receipients

Thread begun 11/05/2010 3:27 am by ljvoostende321886 | Last modified 11/29/2010 6:50 am by Jason Byrnes | 2849 views | 8 replies |

ljvoostende321886

Not sending data to multiple receipients

Hello,

I am trying to make a personalized newsletter for my website.
But when I send out the emails it loops alright through the emailadresses but not the other fields like name, etc.
It only collects the data from the first record.

I have searched the forum and read some other posts with the same problem.
Seems to be a problem with UE4.
Is there already a solution for it?

Loet van Oostende

PS.

I have tried the solution with $RecipArray[$RecipIndex][0] and that is working now.
A lot of extra work but now I can do something with the newsletter.
It only does not sent all the emails, in my test 3 out of 4.
The progressbar shows 4 but I receive only 3 emails.
I think it skips the first or last record.

Sign in to reply to this post

Jason ByrnesWebAssist

When the email is getting sent successfully to some addresses but not to others, it points to an issue with the SMTP server. For some reason the SMTP server is not relaying the message to the 4th recipient. You should contact the host to look into the smtp server error logs to see why the email is not being relayed to the 4th email address.

Sign in to reply to this post

ljvoostende321886

Hello Jason,

My problem is not SMTP related.
I have a test table with 4 records and a membertable with over 900 records.
All the emails form both the tables are sent.
The reason it skipped 1 was something with the emailaddress.

The real problem is that when sending the emails from a recordset it does not get the data from the records, only the emailadresses loop.
So when I want to put for example the names and other information from the recordset in the message it only uses the data from the first record.
So it sends all the emails with the data from the first record.

I know it worked in UE3 before when I did some tests some time ago but did not use it any further.

But now I have to handcode the code in the waue_mail.php and replace all the recordnames with $RecipArray[$RecipIndex][0]

Loet

Sign in to reply to this post

diamou_fr200291

Hello,

I have the same issue, could you please help me?

Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of your page and the webassist/email folder in a zip archive so that I can see the code.

Sign in to reply to this post

diamou_fr200291

Hi Jason,

Thanks for your quick reply. Find the files in question in the attachments.

The e-mail is sent but the dynamic data of the first record is sent to all. I want the system to send each data to its specific user.

Thanks in advance

Sign in to reply to this post

Jason ByrnesWebAssist

in the webassist/email/waue_envoyer-verification_2.php file, change the recordset reference:
$row_rsNoVrif

to:
$RecipArray[$RecipIndex][0]


so for example, this line:
$MailBody = $MailBody . $row_rsNoVrif['uEmail'];


would be changed to:
$MailBody = $MailBody . $RecipArray[$RecipIndex][0]['uEmail'];

Sign in to reply to this post

diamou_fr200291

Hi Jason,

Thanks a lot for your help. It works now!
Just one question, WA_UE does not do this automatically? Meaning, I have to change this manually every time?

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, this will need to changed manually every time.

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