heres a email invite script i created.. i have tested this on msn/hotmail.. and yahoo ive tested it on my personal site email.. and my phones network operators email system too.. and it goes to their inbox every time not junk mail lol..
i couldnt test gmail was too lazy to make an acount lol..
heres the outcome from msn and yahoo
HERES THE SCRIPT
ENJOY:
i couldnt test gmail was too lazy to make an acount lol..
heres the outcome from msn and yahoo
Invitation
From: Ghost (wapaholics@hotmail.com)
Sent: 20 March 2008 04:47:48
Reply-to: wapaholics@hotmail.com
To: wapaholics@yahoo.co.uk
this is not a spam email.
it was sent to you from Ghost who's email is wapaholics@hotmail.com
they have invited you to join this site http://wapchat.uk.to
if you dont know the person who has sent this message or you do not
wish to join please dis-regard this email
------------------------------------------
if you constantly get messages from this person/site
please feel free to go to the site and let the owner know and
they will make sure it is stopped and you have no further problems..[/b]
From: Ghost (wapaholics@hotmail.com)
Sent: 20 March 2008 04:47:48
Reply-to: wapaholics@hotmail.com
To: wapaholics@yahoo.co.uk
this is not a spam email.
it was sent to you from Ghost who's email is wapaholics@hotmail.com
they have invited you to join this site http://wapchat.uk.to
if you dont know the person who has sent this message or you do not
wish to join please dis-regard this email
------------------------------------------
if you constantly get messages from this person/site
please feel free to go to the site and let the owner know and
they will make sure it is stopped and you have no further problems..[/b]
Code:
<?php
header("Content-type: text/vnd.wap.wml; charset=ISO-8859-1");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\n";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\"
\"http://www.wapforum.org/DTD/wml_1.2.xml\">\n";
/**
* @author Ghost (CODEMAFiA.ORG)
* @copyright 2008-2009 Invitation Script
*/
echo "<wml>\n";
echo "<head>";
echo "<meta name=\"keywords\" content=\"email, invite, email sender, invite a friend\"/>";
echo "<meta name=\"description\" content=\"email sender\"/>";
echo "<meta name=\"robots\" content=\"send_invite, follow\"/>";
echo "<meta name=\"revisit-after\" content=\"1 days\"/>";
echo "<meta name=\"rating\" content=\"general\"/>";
echo "<meta name=\"author\" content=\"ghost\"/>";
echo "<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>";
echo "</head>";
echo "<card id=\"source\" title=\"Ghost Invite\">";
echo "<p align=\"center\">";
echo "[size="1"]";
$url = $_GET['url'];
/* YOUR SITE AND SUBJECT INFORMATION GOES HERE! */
$site = "http://wapchat.uk.to";
$subject = "Invitation";
/* AND YOUR MESSAGE INFORMATION GOES HERE */
/* HERES MY EXAMPLE INVITE */
$message = "
this is not a spam email.
it was sent to you from $from who's email is $fromemail
they have invited you to join this site $site
if you dont know the person who has sent this message or you do not
wish to join please dis-regard this email
------------------------------------------
if you constantly get messages from this person/site
please feel free to go to the site and let the owner know and
they will make sure it is stopped and you have no further problems..
";
/* NOW TIME FOR THE MAIN PAGE */
if ($url == "")
{
echo "<small>[b]Send an invite for one of your friends to join our site:[/b][/size]
";
echo "[size="1"][b]Send to email:[/b][/size]
";
echo "<input type=\"text\" name=\"email\" value=\"@\" emptyok=\"true\" maxlength=\"70\"/>
";
echo "[size="1"][b]Your email:[/b][/size]
";
echo "<input type=\"text\" name=\"fromemail\" value=\"@\" emptyok=\"true\" maxlength=\"70\"/>
";
echo "[size="1"][b]Your name:[/b][/size]
";
echo "<input type=\"text\" name=\"from\" value=\"\" emptyok=\"true\" maxlength=\"20\"/>
";
echo "[size="1"]";
echo "<anchor>»Send";
echo "<go method=\"post\" href=\"send_invite.php?url=result\">";
echo "<postfield name=\"email\" value=\"$(email)\"/>";
echo "<postfield name=\"fromemail\" value=\"$(fromemail)\"/>";
echo "<postfield name=\"from\" value=\"$(from)\"/>";
echo "</go></anchor>
";
echo "---
<a href=\"index.php?time=".time()."\">Back</a>";
echo "
---
";
echo "[/size]";
}
/* NOW TIME FOR THE CONFIRMATION PAGE */
if ($url == "result")
{
if ($email == "" OR $fromemail == "" OR $from == "")
{
echo "Please fill in All fields!!
---
";
echo "<a href=\"send_invite.php\">« Back</a>
";
}
else
{
$headers = "From: $from <$fromemail>\n";
$headers .= "Reply-To: <$fromemail>\n\n";
mail ($email, $subject, $message, $headers);
echo "Thanks $from! Your message has been sent to $email!
";
}
echo "---
<a href=\"send_invite.php?time=".time()."\">back</a>";
echo "
---
";
}
/* MY COPYRIGHT AND END OF SCRIPT*/
echo "© Ghost Invite - ".date(Y);
echo "</small>";
echo "</p>\n";
echo "</card>\n";
echo "</wml>\n";
?>



Comment