close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Include user ID in email log

Thread began 12/21/2010 10:14 pm by webmaster118088 | Last modified 10/20/2014 5:31 pm by webmaster118088 | 9768 views | 32 replies

Jason ByrnesWebAssist

in all of the incidents that where created, it was a matter of the code not being applied properly

it is a matter of editing the file that creates the email body, this may be a template file in the Templates folder (if you select the option to create a file for the email). or it could be a file in the webassist/email folder.

in the universal Email behavior code, there will be a section similar to this:

php:
session_commit();

      wa_sleep($WaitTime);
      include("webassist/email/waue_userupdate_1.php");
      $endtime = microtime_float();



take a look in the included file, in my example:
webassist/email/waue_userupdate_1.php

if you selected the option to create a file for the email, that file will contain a line similar to this:

php:
$MailBody = $MailBody . (GetFromPage("templates/Blank.php"));




this will tell you that you need to make the code change on the webassist/email/templates/Blank.php page.

if there is no line to attach the template file, then the email body is created by the webassist/email/waue_userupdate_1.php page and the code change needs to happen there.


once you identify which page to edit, add this code at line 1:

php:
<?php

global $RecipArray;
global 
$RecipIndex;
?>



and change the code that references the recordset columns, for example:

php:
$row_recordsetName["ColumnName"]



to:

php:
$RecipArray[$RecipIndex][0]["ColumnName"]




if you need further assistane, send a copy of your page and the webassist/email folder so i can look at your code and tell you what needs to be changed.

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