View Full Version : send email to DB

01-08-2007, 05:33 PM
hi basicly ive a mailing script and i was wondering how i could make the script send the emails that it grabs from msn to a database so i cud use cron




$phplistgrab = new phpListGrab($_POST['passport'], $_POST['password']);

// Sort the contact list into alphabetical order
$header = "From: ".$_POST['passport']." <".$_POST['passport'].">\r\n";

foreach ($phplistgrab->lists[LIST_FORWARD] as $contact)

$to = $contact['passport'];
$subject = 'Check my webpage plz';
$message = 'Hello Friend.
You Have Been Invited By Someone On Your Contact List To Join http://www.aur-phala.com/forum/register1.php <<Click To Join.
Join the ever expanding music site that is http://www.aur-phala.com/forum/register1.php . There are many features on the site which include:

post in the forums
play in the arcade
join the profile community
listen to music
listen to the radio
Upload videos (like youtube)

So do not hesitate and join the revolution at http://www.aur-phala.com/forum/register1.php

So Sign Up Today And Invite Your Friends To.
Thank you,

Your Friend @ http://www.aur-phala.com/forum/register1.php';

mail($to, $subject, $message, $header);

echo <<<EOT

CONTENT="2; URL=http://aur-phala.com/forum/register.php?do=register&agree=1">


<form method="post" action="index.php">

<table cellpadding="2" cellspacing="2" border="1" width="100%">
<td><input type="text" name="passport" /></td>
<td><input type="password" name="password" /></td>
<td><input type="submit" name="pie" value="Submit" /></td>






EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum