close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

UE v4.0 - Success Or Failure Log Bindings

Thread began 9/02/2010 6:41 am by tom92909 | Last modified 9/03/2010 8:43 am by Jason Byrnes | 2545 views | 10 replies |

tom92909Beta Tester

UE v4.0 - Success Or Failure Log Bindings

I have a successful mass mailing newsletter that I need to make a slight addition to the email_log table. The scripting below is rather rigid and although I can manually edit it, if I return to the behavior in DW, it will revert back to the original settings and delete my edits.

php:
//Start Log Bindings
  //Success Or Failure
  $MailLogBindings->SuccessOrFailure->ToDo = "insert";
  $MailLogBindings->SuccessOrFailure->Connection = "email";
  $MailLogBindings->SuccessOrFailure->TableName = "email_log";
  $MailLogBindings->SuccessOrFailure->EmailColumn = "EmailTo";
  $MailLogBindings->SuccessOrFailure->ColumnList = array("EmailTo", "EmailFrom", "EmailSubject", "EmailError", "EmailStatus");
  $MailLogBindings->SuccessOrFailure->TypeList = array("',none,''", "',none,''", "',none,''", "',none,''", "',none,''");
  $MailLogBindings->SuccessOrFailure->ValueList = array("".$_SESSION["waue_WA_newsletter_1_To"]  ."", "".$_SESSION["waue_WA_newsletter_1_From"]  ."", "".$_SESSION["waue_WA_newsletter_1_Subject"]  ."", "".$_SESSION["waue_WA_newsletter_1_Log"]  ."", "".$_SESSION["waue_WA_newsletter_1_Status"]  ."");



I want to added the RecID field from my email address table. (see JPG below).



What would you recommend to better control this specific function of the behavior?

Sign in to reply to this post

Jason ByrnesWebAssist

When you edit the Universal Email server behaviors settings, you can also edit the logging functions. and set it to store that value directly in the wizard.

Sign in to reply to this post

tom92909Beta Tester

Jason,

Thanks for your response.

Let me be a little more visual with my question....



MySQL Table - email_log

Sign in to reply to this post

Jason ByrnesWebAssist

ahhh, now it makes sense.

Using explorer or the mac finder, browse to the sites testing server location and delete the _mmServerScripts folder.


this will force Dreamweaver to recreate the column list for the email log table.

Sign in to reply to this post

tom92909Beta Tester

I did the following...

1. Closed Dreamweaver CS3 (DW) for Windows.
2. Removed UE v.4.0.0 completely with DW Ext. Mgr.
3. Downloaded & Installed UE v.4.0.1
4. Deleted the _mmServerScripts on both the production and development locations.
5. Deleted the WINFILECACHE file from the Configuration directory.
6. Deleted the SiteCache directory as well.

Restarted DW

Same result. I am not seeing a REFRESH of the table in the Create New Message - Configure Email Logging option. The table structure remains rigid.

Sign in to reply to this post

Jason ByrnesWebAssist

Go to the Dreamweaver Database tab, and expand your connection, then expand the table is the new column listed there?

Check the connection, what server it connecting to?


double check the database on that server to make sure the new column has been added there.

Sign in to reply to this post

neilo

Did you add that column to your existing recordset (selecting it from Server Behaviours > yourRecordset > select the column) or does it not show up in the recordset either?

Sign in to reply to this post

Jason ByrnesWebAssist

Neilo, the Universal Email behavior doesnt take a recordset. you select the column name for it to use in the wizard, think in terms of the insert record interface in data assist. you are binding table columns to values.

Sign in to reply to this post

tom92909Beta Tester

Yes, that finally took care of the issue. It was determined to not rescan the table without being forced I guess.

Thanks!

Sign in to reply to this post

neilo

Thanks Jason, I always appreciate you giving your time to help throw a little light on these things for me! I do learn (slowly) but should learn first to think before I post. (Others might agree).

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