Email Sender Software

Completed Posted Jan 15, 2010 Paid on delivery
Completed Paid on delivery

Server I have is through [url removed, login to view] called the TFS 105 $99 mo. 2 Gig RAM, 160 GIG Sata Hardrive, Red Hat Linux Operating System Plus Plesk 10 Control Panel Cost $0.

What I need is for someone to set my server and install an email sender software (Php). This allows me to send out emails as I want to.

Also, I would like to keep in contact for other projects that I may have later on.

Below is a copy of the software I would like installed on the server:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<link rel="SHORTCUT ICON" href="http://www.phonegoldminer.com/favicon.ico">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<meta name="Copyright" content="Copyright www.phonegoldminer.com">

<title>

Phone GOLD Miner Email Sender

</title>

<center><table COLS=1 WIDTH="740" >

<tr>

<td>

<br><!--

Software : Phone GOLD Miner Email Sender version 2.0

Company: Phone GOLD Miner

Web Site: [url removed, login to view]

Copyright:[url removed, login to view]

This is the Official Version of Phone GOLD Miner Email Sender. The specific utility of this software must be independently determined by user.

Software is provided as is, use is entirely at the users risk, and use acknowledges that PhoneGoldMiner and all associated parties are held harmless from any claims or losses relating to software provided.

This software may be freely distributed or used as a bonus, however you may Not Change any links or Sell this software in any form.

-->

<?php

//#############################################################################

//Begin User Configuration Settings.

//Adjust as required but only the contents between " ".

//Default Mailing List File Name

$user_ml_file = "MailList.txt";

//Default Email Body File Name

$user_body_file = "Body.txt";

//Default From Email Address

$user_from_email = "";

//Default From Name

$user_from_name = "";

//Default Email Subject

$user_subject = "";

//End User Configuration Settings.

//#############################################################################

if(!isset($_POST)){$_POST=$HTTP_POST_VARS;}

if(!isset($_SERVER)){$_SERVER=$HTTP_SERVER_VARS;}

$PHP_SELF=$_SERVER['PHP_SELF'];

foreach($_POST as $PName=>$PValue)

{

if (get_magic_quotes_gpc())

{

$PValue=stripslashes($PValue);

}

$PValue=trim($PValue);

$$PName=trim($PValue);

}

?>

</head>

<body>

<!-- The following message is only applicable when displayed in your browser by a web page on your web server -->

<?php echo"<!--"; ?>

<h2>Sorry php does not appear to be available on the server your Phone Gold Miner Email Sender file is running on. Without php PhoneGoldMiner Email Sender will not function. For more information visit <a href="http://www.CraigsListTopSecret.com/phpinfo.html">Why Php is Needed On Your Server?</a></h2><br><br><br><br><br><br><br><br><br><br>

<?php echo"-->"; ?>

<h1>

<a href="http://www.phonegoldminer.com"><img src="http://www.phonegoldminer.com/pgm-emailer.jpg" alt="Phone GOLD Miner Email Sender by Phone GOLD Miner" border=0"></a>

</h1>

<b>Official Version 2.0</b>

<br>

<?php $E = "True";?>

<form action="<?php echo "$PHP_SELF"; ?>" method="post" name="form">

<table border="0">

<tr>

<td colspan="6"><input type="submit" name="Action" value="<?php if ($E){echo"Send";}else{echo"Fail";} ?>" title="Send emails to the addresses in your Mailing List. If this button displays Fail your link to TrafficEmailer is broken, this is required to use the evaluation version.">  

<a href="<?php echo "$PHP_SELF"; ?>" title="Reset the form to default values."><b>Reset</b></a>  

<input type="submit" name="Action" value="Preview" title="Preview the first message that will be sent in a new window.">  

<a href="http://www.phonegoldminer.com/video.html" target="_blank" title="Access the online Help file."><b>Help</b></a>  

<input type="checkbox" name="ListAll" title="Check to list all sent emails in Status window." checked="checked"><b>Status list all</b>  

</b></br>

<?php

error_reporting(E_ERROR);

//Form Values

$def_ml = stripslashes($SendList);

$def_from_email = stripslashes($SendEmail);

$def_from_name = stripslashes($SendName);

$def_subject = stripslashes($SendSubject);

$def_body = stripslashes($SendBody);

$def_ml_file = stripslashes($ml_file);

$def_body_file = stripslashes($body_file);

$body_label = "Email Body";

$body_title = "Paste in your email Body. NAME in the Email Body will be replaced with the name in the Mailing List for each email.";

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 <b>Saved</b>-

";

}

else

{

echo"

Mailing List file $ml_file <b>Not Found</b>-

";

}

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 <b>Saved</b>

";

}

else

{

echo"

Body file $body_file <b>Not Found</b>

";

}

}

//Preview

elseif ($Action == "Preview")

{

echo"

<script language=\"JavaScript\"><!--

var scwidth = [url removed, login to view];

var scheight = [url removed, login to view];

config='toolbar=no,location=no,directories=no,status=no,menubar=yes,width=500,height=300,scrollbars=yes,resizable=yes';

preview = [url removed, login to view] (\"\",\"preview\",config);

[url removed, login to view]('<html><head><meta http-equiv=\"Pragma\" CONTENT=\"no-cache\">');

[url removed, login to view]('<title>Phone Gold Miner Email Sender Preview</title></head>');

[url removed, login to view]('<body bgcolor=#c0c0c0>');

[url removed, login to view]('<h2>PhoneGoldMiner Email Sender Preview</h2>');

[url removed, login to view]('<p>This is the first email that will be sent</p>');

// --></script>

";

$SendNameIn = stripslashes($SendName);

$SendName = ereg_replace("<?","",$SendNameIn);

$SendName = trim($SendName);

$SendEmailIn = stripslashes($SendEmail);

$SendEmail = ereg_replace("<?","",$SendEmailIn);

$SendEmail = trim($SendEmail);

$SendSubjectIn = stripslashes($SendSubject);

$SendSubject = ereg_replace("<?","",$SendSubjectIn);

$SendSubject = trim($SendSubject);

$from_email = "\"$SendName\"<$SendEmail>";

$SendBodyIn = stripslashes($SendBody);

$SendBody = ereg_replace("<","<",$SendBodyIn);

$ml_lines = explode ( "\n", $SendList );

list( $email, $fname,$lname ) = explode( ',', $ml_lines[0] );

$email = trim($email);

$fname = trim($fname);

$lname = trim($lname);

$SendBodyAdj = str_replace("%%firstname%%", $fname, $SendBody);

$SendBodyAdj = str_replace("%%lastname%%", $lname, $SendBodyAdj);

$SendSubject = str_replace("%%firstname%%", $fname, $SendSubject);

$SendSubject = str_replace("%%lastname%%", $lname, $SendSubject);

echo"

<script language=\"JavaScript\"><!--

[url removed, login to view]('<table><tr><td><b>From Email:</b></td><td>$SendEmail</td></tr>');

[url removed, login to view]('<tr><td><b>From Name:</b></td><td>$SendName</td></tr>');

[url removed, login to view]('<tr><td><b>To Email:</b></td><td>$email</td></tr>');

[url removed, login to view]('<tr><td><b>To Name:</b></td><td>$fname $lname</td></tr>');

[url removed, login to view]('<tr><td><b>Subject:</b></td><td>$SendSubject</td></tr>');

[url removed, login to view]('<tr><td><b>Body:</b></td><td></td></tr></table>');

// --></script>

";

$send_lines = explode ( "\n", $SendBodyAdj );

foreach ( $send_lines as $sendline )

{

$sendline = rtrim($sendline);

echo"

<script language=\"JavaScript\"><!--

[url removed, login to view]('$sendline<br>');

// --></script>

";

}

echo"

<script language=\"JavaScript\"><!--

[url removed, login to view]('<form><input type=\"button\" value=\"Close Window\" onclick=\"[url removed, login to view]()\"></form>');

[url removed, login to view]('</body></html>');

[url removed, login to view]();

[url removed, login to view]();

// --></script>

";

$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"

<b>Current Mailing List contacts $ml_num</b>

";

}

//Send Mail

elseif ($Action == "Send")

{

if ($NoSend)

{

echo"<b><font color=\"#ff0000\">Send without Emailing -</font></b>";

}

echo"

<b>Sending.....</b>

<script language=\"JavaScript\"><!--

var scwidth = [url removed, login to view];

var scheight = [url removed, login to view];

config='toolbar=no,location=no,directories=no,status=no,menubar=yes,width=500,height=300,scrollbars=yes,resizable=yes'

sendstatus = [url removed, login to view] (\"\",\"sendstatus\",config);

[url removed, login to view]('<html><head><meta http-equiv=\"Pragma\" CONTENT=\"no-cache\">');

[url removed, login to view]('<title>PGM Email Sender Status</title></head>');

[url removed, login to view]('<body bgcolor=#c0c0c0>');

[url removed, login to view]('<h2>PGM Email Sender Status</h2>');

now = new Date();

StartTime = [url removed, login to view]();

[url removed, login to view]('Start Time ' + StartTime + '<br>');

[url removed, login to view]('<b>Sending Email Number....</b><br>');

// --></script>

";

$SendNameIn = stripslashes($SendName);

$SendName = ereg_replace("<?","",$SendNameIn);

$SendName = trim($SendName);

$SendEmailIn = stripslashes($SendEmail);

$SendEmail = ereg_replace("<?","",$SendEmailIn);

$SendEmail = trim($SendEmail);

$SendSubjectIn = stripslashes($SendSubject);

$SendSubject = ereg_replace("<?","",$SendSubjectIn);

$SendSubject = trim($SendSubject);

$SendSubjectIN = $SendSubject;

$from_email = "$SendName<$SendEmail>";

$SendBody = stripslashes($SendBody);

$SendBodyIN = $SendBody;

$count = 0;

$ml_lines = explode ( "\n", $SendList );

$ml_num = count($ml_lines);

foreach ( $ml_lines as $mlline )

{

list( $email, $fname,$lname ) = explode( ',', $mlline );

$email = trim($email);

$fname = trim($fname);

$lname = trim($lname);

if ($email)

{

$SendBodyAdj = str_replace("%%firstname%%", $fname, $SendBodyIN);

$SendBodyAdj = str_replace("%%lastname%%", $lname, $SendBodyAdj);

$SendSubject = str_replace("%%firstname%%", $fname, $SendSubjectIN);

$SendSubject = str_replace("%%lastname%%", $lname, $SendSubject);

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 = "<b>$count, FAIL $email; </b>";

}

}

echo"

<script language=\"JavaScript\"><!--

[url removed, login to view]('$sendCk');

// --></script>

";

}

}

echo"

<script language=\"JavaScript\"><!--

[url removed, login to view]('<br><b>Send Complete</b>');

now = new Date();

StopTime = [url removed, login to view]();

[url removed, login to view]('<br>Stop Time ' + StopTime);

[url removed, login to view]('<form><input type=\"button\" value=\"Close Window\" onclick=\"[url removed, login to view]()\"></form>');

[url removed, login to view]('</body></html>');

[url removed, login to view]();

[url removed, login to view]();

// --></script>

<b>Send Complete. Emails sent $count.</b>

";

$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"

<b><font color=\"#ff0000\">PhoneGoldMiner Email Sender access is broken and is required for use of this software, <a href=\"[url removed, login to view]\" target=\"_blank\">click for solutions.</a></font></b></font>

";

}

//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);

}

?>

</td>

</tr>

<tr>

<td title="Paste in your contact list from a Mailing List File. One contact per line in the form email address,name. If a contacts name is not provided no name will be set for that contact."><font color="#0000ff"><b>Mailing List</b></font></td>

<td colspan="5"><textarea name="SendList" rows="3" cols="80" ><?php if ($Action=="Load" && file_exists($def_ml_file)){readfile($def_ml_file);}else{echo "$def_ml";}?></textarea></td>

</tr>

<tr>

<td title="Type in or modify your From Email address and From Name."><b><font color="#0000ff">From</font></b></td>

<td colspan="5">

<font color="#0000ff">Email</font> 

<input type="text" name="SendEmail" value="<?php echo $def_from_email; ?>" size="30">  

<font color="#0000ff">Name</font> 

<input type="text" name="SendName" value="<?php echo $def_from_name; ?>" size="30">

</td>

</tr>

<tr>

<td title="Type in or modify your Email Subject."><b><font color="#0000ff">Subject</font></b></td>

<td colspan="5"><input type="text" name="SendSubject" value="<?php echo $def_subject; ?>" size="30"></td>

</tr>

<tr>

<td valign="top" title="<?php echo "$body_title"; ?>"><b><font color="#0000ff"><?php echo $body_label; ?></font></b></td>

<td colspan="5"><textarea name="SendBody" rows="10" cols="80" wrap="virtual"><?php if ($Action=="Load" && file_exists($def_body_file)){readfile($def_body_file);}else{echo "$def_body";}?></textarea></td>

</tr>

<tr>

<td title="Simply Paste in your Email List and Letter."><b><font color="#0000ff">PGM Email Sender</font></b></td>

<td><img SRC="http://www.phonegoldminer.com/images/arrow-2-anim.gif" alt="Phone GOLD Miner Surveyed Leads" border=0 "></td>

<td><b><font face="Arial,Helvetica"><font size=+1><a href="http://www.phonegoldminer.com/surveyed-leads.html">Save 70%! <B>Over 313,000</B> Opt-In Surveyed Leads</a></font></font></b></td>

</tr>

</table>

</form>

</td>

</tr>

</table></center>

</body>

</html>

PHP

Project ID: #590921

About the project

15 proposals Remote project Active Jan 21, 2010

Awarded to:

JesseLin

Let's get started.

$30 USD in 1 day
(13 Reviews)
4.0

15 freelancers are bidding on average $59 for this job

SigmaVisual

We can help in your project, please check PMB to see our related experience.150

$150 USD in 2 days
(232 Reviews)
7.8
DesignSolutionSW

Please check PM.Thanks.

$60 USD in 2 days
(59 Reviews)
7.0
WhizPool

Consider done

$60 USD in 0 days
(19 Reviews)
6.8
jeevanoss

Pls see the PMB

$40 USD in 1 day
(36 Reviews)
6.1
nyH4

Hi. I can do it ASAP during 1-2 days. Thank you!

$39 USD in 1 day
(5 Reviews)
2.7
webdeveloper220

Hi, plz check pm

$30 USD in 0 days
(0 Reviews)
0.0
KyleW

Check your PM i have sent you Info

$30 USD in 1 day
(0 Reviews)
0.0
az4software

i can do it!

$30 USD in 1 day
(0 Reviews)
0.0
DoubleYew

Hello, I have taken the code provided and have already gotten the Email program working on my servers. Let's work together.

$30 USD in 1 day
(0 Reviews)
0.0
netlancer23

check pmb pls

$30 USD in 1 day
(0 Reviews)
0.0
Tzezo

I can do it.

$30 USD in 0 days
(0 Reviews)
0.0
earner2fl

view my plz

$150 USD in 3 days
(0 Reviews)
0.0
sree2205

With in 20 days

$150 USD in 20 days
(0 Reviews)
0.0
rahuls8730

I can do this and fix your work

$30 USD in 1 day
(0 Reviews)
0.0
klpsoftware

In my experience, Window Servers are often poorly supported by hosting services compared to Linux servers. Plesk is also more annoying then cPanel(cPanel isn't available for Windows Servers). However, if you have a spe More

$40 USD in 7 days
(0 Reviews)
0.0