Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Process Scripting and Test Runs
12-30-2010, 06:15 PM
Post: #1
Post Process Scripting and Test Runs
You may not want to have your databases affected if you are doing a test run and using Mailer's Post Process Scripting capability. Below you can find examples of how to use the testRun property to control the behavior of post process scripting.

PHP
<?
$f = fopen(“C:\\testfile.txt”, “a”);
if ($mailer->testRun)
fputs($f, $mailer->sendResult.”\r\n”);
else
fputs($f, $mailer->sendResult.”\r\n”);
fclose($f);
?>

JavaScript
<?
var fso, tf;
var ForAppending= 8;
fso = new ActiveXObject(“Scripting.FileSystemObject”);
tf=fso.OpenTextFile(“C:\\testfile.txt”,ForAppending, true);
if (mailer.testRun)
tf.WriteLine(mailer.sendResult) ;
else tf.WriteLine(mailer.sendResult) ;
tf.Close();
?>

VB Script
<?
Dim ss
Dim FSO, f
Set FSO = CreateObject(“Scripting.FileSystemObject”)
Set f = fso.OpenTextFile(“c:\testfile.txt”, 8, True)
if not mailer.testRun then
ss = mailer.sendResult
f.WriteLine ss
End If
f.close
?>
Visit this user's website Find all posts by this user
Quote this message in a reply
01-17-2018, 07:08 AM
Post: #2
RE: Post Process Scripting and Test Runs
I've already got acquinted with similar info there, but I'm not a big shot in it, so thank for accessible explanation in future. I'm expert at math job a little in such question as cheap Brisbane assignment writing service and engineering, so is my salvation in the work and the moment I have a lot of data for the safe storage on the computer.
Quote this message in a reply
02-23-2018, 07:07 AM
Post: #3
RE: Post Process Scripting and Test Runs
Mach5 Mailer is genuine light on the framework properties, at that point, it requires just a minor measure of CPU and framework memory. It has a respectable reaction time, contains an assistance document and backings some hotkeys. No blunder notices have been uncovered in our tests and the apparatus did not hang down or crash. As per the examination of Online Essay Help UK, It prerequisites a few upgrades in the visual segment of the GUI, however, we should spare in memory that Mach5 Mailer has not stayed streamlined for some time.
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Registration Process and Common Errors mlandis 9 11,074 07-07-2018 04:07 PM
Last Post: jeff_william

Forum Jump: