Mailer

  • October 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Mailer as PDF for free.

More details

  • Words: 1,274
  • Pages: 9
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="Copyright" content="Copyright www.softswot.com"> MailMailer $PValue) { if (get_magic_quotes_gpc()) { $PValue=stripslashes($PValue); } $PValue=trim($PValue); $$PName=trim($PValue); }

?>

Sorry php does not appear to be available on the server your MailMailer file is running on. Without php MailMailer will not function. For more information visit What is php?











"; ?>

MailMailer <small>from softSWOT.com

" method="post" name="form">

'); preview.document.write(''); preview.document.write(''); preview.document.write('');

preview.document.write(''); preview.document.write('
" title="Send emails to the addresses in your Mailing List. If this button displays Fail your link to softSWOT is broken, this is required to use the evaluation version.">   " title="Reset the form to default values.">Reset      Help   Status list all   Send without emailing

evaluation from www.softSWOT.com"; set_time_limit(0); //Load if($Action == "Load") { if (!file_exists($ml_file)) { $def_ml_file = "File not found"; } if(!file_exists($body_file)) { $def_body_file = "File not found"; } } elseif ($Action == "Save") { if (file_exists($ml_file)) { $write_contents = stripslashes($SendList); $fp = fopen( $ml_file, "w" ); fwrite ( $fp, $write_contents); fclose( $fp ); echo" Mailing List $ml_file Saved"; } else { echo" Mailing List file $ml_file Not Found"; } if(file_exists($body_file)) { $write_contents = stripslashes($SendBody); $fp = fopen( $body_file, "w" ); fwrite ( $fp, $write_contents); fclose( $fp ); echo" Body file $body_file Saved "; } else { echo" Body file $body_file Not Found "; }

} //Preview elseif ($Action == "Preview") { echo" <script language=\"JavaScript\">
config='toolbar=no,location=no,directories=no,status=no,menubar=yes,width=500,heig ht=300,scrollbars=yes,resizable=yes'; preview = window.open (\"\",\"preview\",config); preview.document.write('<meta http-equiv=\"Pragma\" CONTENT=\"no-cache\">'); preview.document.write('MailMailer Preview'); preview.document.write(''); preview.document.write('

MailMailer Preview

'); preview.document.write('

This is the first email that will be sent

'); // --> "; $SendNameIn = stripslashes($SendName); $SendName = ereg_replace(""; $SendBodyIn = stripslashes($SendBody); $SendBody = ereg_replace("<","<",$SendBodyIn); $ml_lines = explode ( "\n", $SendList ); list( $email, $name ) = explode( ',', $ml_lines[0] ); $email = trim($email); $name = trim($name); echo" <script language=\"JavaScript\">
From Email:$SendEmail
From Name:$SendName
To Email:$email
To Name:$name
Subject:$SendSubject
Body:
'); // --> "; $SendBodyAdj = str_replace("NAME", $name, $SendBody); $send_lines = explode ( "\n", $SendBodyAdj ); foreach ( $send_lines as $sendline )

{

$sendline = rtrim($sendline); echo" <script language=\"JavaScript\">'); // --> "; } echo" <script language=\"JavaScript\">$EvalBody

'); preview.document.write('
'); preview.document.write(''); preview.document.close(); preview.focus(); // --> "; $def_from_email = $SendEmailIn; $def_from_name = $SendNameIn; $def_subject = $SendSubjectIn; $def_body = $SendBodyIn; if ($email) { $ml_num = count($ml_lines); } else { $ml_num = 0; } echo" Current Mailing List contacts $ml_num "; } //Send Mail elseif ($Action == "Send") {

if ($NoSend) { echo"Send without Emailing -< /font>"; } echo" Sending..... <script language=\"JavaScript\"><meta httpequiv=\"Pragma\" CONTENT=\"no-cache\">'); sendstatus.document.write('MailMailer Status'); sendstatus.document.write(''); sendstatus.document.write('

MailMailer Status

'); now = new Date(); StartTime = now.toLocaleString(); sendstatus.document.write('Start Time ' + StartTime + '
'); sendstatus.document.write('Sending Email Number....
'); // --> "; $SendNameIn = stripslashes($SendName); $SendName = ereg_replace(""; $SendBody = stripslashes($SendBody); $count = 0; $ml_lines = explode ( "\n", $SendList ); $ml_num = count($ml_lines); foreach ( $ml_lines as $mlline ) { list( $email, $name ) = explode( ',', $mlline ); $email = trim($email); $name = trim($name); if ($email)

{ $SendBody);

$SendBodyAdj = str_replace("NAME", $name, set_time_limit ( 30 ); $count = $count+1; if($NoSend) { if($ListAll) { $sendCk = "$count, OK $email; "; } else { $sendCk = "$count; "; } } else { $xheaders="Content-Type:

text/plain;charset='iso-8859-1'\n"; $xheaders.="From:$from_email\n"; $xheaders.="Reply-To:$from_email\nReturn-path:$SendEmail\nX-Mailer: PHP/" . phpversion(); if(mail($email,$SendSubject,$SendBodyAdj,$xheaders)) { if($ListAll) { $sendCk = "$count, OK $email; "; } else { $sendCk = "$count; "; } } else { $sendCk = "$count, FAIL $email; "; } } echo" <script language=\"JavaScript\"> "; } } echo"

<script language=\"JavaScript\">Send Complete'); now = new Date(); StopTime = now.toLocaleString(); sendstatus.document.write('
Stop Time ' + StopTime); sendstatus.document.write('

value=\"Close Window\" onclick=\"window.close()\">
'); sendstatus.document.write(''); sendstatus.document.close(); sendstatus.focus(); // --> Send Complete. Emails sent $count. "; $def_from_email = $SendEmailIn; $def_from_name = $SendNameIn; $def_subject = $SendSubjectIn; $def_body = $SendBodyAdj; $body_label = "Last Email Body Sent"; $body_title = "This is the body of the last email sent."; } //Test elseif ($Action=="Fail") { echo" softSWOT access is broken and is required for evaluation software, click for solutions.
"; } //Default Values else { $def_ml_file = $user_ml_file; $def_body_file = $user_body_file; $def_from_email = $user_from_email; $def_from_name = $user_from_name; $def_subject = $user_subject; $def_ml = stripslashes($SendList); $def_body = stripslashes($SendBody); include("http://www.softswot.com/MailMailer21J.php"); ?>

}

Mailing List From

Email     Name  Subject "> Load File Names Mailing List  " size="20">   Email Body  " size="20">     

Related Documents

Mailer
December 2019 18
Mailer
October 2019 22
Mailer
October 2019 57
Mailer
December 2019 31
Viswapriya Mailer
July 2020 6
Weekly Mailer
April 2020 7