Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>in the page that will take the visitor to PayPal put another code for sending a mail you can use PHPMailer</p> <p>in my case i made a CMS and when anyone install the CMS script on his website its send me an email that some one has installed my CMS script and with the URL for the site so ican know that if my script usefull or not and if there is any errors </p> <p>i used PHPmailer and with SMTP</p> <p>using this code </p> <pre><code> if (isset($_POST['send']) and $_POST['send'] == 'sendmail') { $sendmail = require_once('../lib/phpmailer/class.phpmailer.php'); include("../lib/phpmailer/class.smtp.php"); // optional, gets called from within class.phpmailer.php if not already loaded $mail = new PHPMailer(); $body = " &lt;br&gt; Website Name : $qr-&gt;sname &lt;br&gt; Website url : $qr-&gt;surl &lt;br&gt; $qmsg"; $mail-&gt;IsSMTP(); // telling the class to use SMTP $mail-&gt;SMTPAuth = true; // enable SMTP authentication $mail-&gt;Host = "smtp.gmail.com"; // sets the SMTP server $mail-&gt;Port = 465; // set the SMTP port for the GMAIL server $mail-&gt;Username = "mail@gmail.com"; // SMTP account username $mail-&gt;Password = "pass"; // SMTP account password $mail-&gt;SetFrom('$qemail', 'Almoullim CMS'); $mail-&gt;Subject = "Almoullim CMS Report - $qsubject"; $mail-&gt;MsgHTML($body); $address = "mail@gmail.com"; $mail-&gt;AddAddress($address, "Almoullim CMS"); if(!$mail-&gt;Send()) { echo "Mailer Error: " . $mail-&gt;ErrorInfo; } else { } if (isset($sendmail)) { die (" &lt;center&gt; &lt;div class='head'&gt;تــــــــم&lt;/div&gt; &lt;div class='bodypanel'&gt; &lt;br&gt; ارســـــال التــــقرير بنــــجاح &lt;br&gt; &lt;br&gt; &lt;/div&gt; &lt;/center&gt; &lt;meta http-equiv='refresh' content='4; url=?cpages=report' /&gt; "); } } ?&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload