close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Questions re scheduled emails

Thread began 1/22/2015 4:40 am by Mags | Last modified 1/22/2015 12:10 pm by Mags | 1419 views | 5 replies

Mags

Thanks Jason, I've managed to get around the security issue by putting the file in a secured folder using .htaccess. The date error has now disappeared although I'm getting a few others but to be honest, I can live with it as long as the emails are being sent!

I do have another question though, regarding using dynamic data in the body of the email. I have the email trigger set to "before page load" since it's the cron job that's actually activating the emails, so there's no web form on the actual page. I have a recordset and the emails are being sent correctly to all recipients in the recordset. I have the subject line set to <?php echo $RecipArray[$RecipIndex][0]["ClientName"]; ?> and that shows the correct Client Name in the Subject line. However, I also want to include the Client Name in the body of the email but the body is controlled by a bespoke page, waue_emailtest_1.php. This page uses the same recordset and I've put the following at line 1:

<?php
global $RecipArray;
global $RecipIndex;
?>

I'm using the following to get the Client Name: <?php echo ($RecipArray[$RecipIndex][0]["[ClientName]"])?> but it doesn't work. I'm guessing I've missed something that ties the Universal Email behavior page and the template page together?

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