alpha_full/_include/support/mail2support.php
2026-04-06 22:58:51 +02:00

18 lines
1.2 KiB
PHP
Executable File

<?php
$nomFicAppelant = basename(__FILE__);
include_once("mailer.v04.php");
$msgS="<br>Cher support,";
$msgS=$msgS. "<br>Une erreur est survenue lors de l'inscription d'un client";
$msgS=$msgS. "<br><b>Mail client = </b>" .$idMail;
$msgS=$msgS. "<br><b>Tel client = </b>" .$tel;
$msgS=$msgS. "<br><b>Code erreur mysql = </b>" .$id->connect_errno. ' ' .$id->connect_error. ' ' .$id->error;
$msgS=$msgS. "<br><b>Message erreur mysql = </b>" .$id->error;
$msgS=$msgS. "<br><b>Code erreur connexion = </b>" .$resConn[0];
$msgS=$msgS. "<br><b>Requête = </b>" .$reqDebug;
$msgS=$msgS. "<br>C'est pas cool, il faut faire quelque chose... ";
$msgS=$msgS. "<br>Bon courage !";
$message_support = '<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>' .$sujet. '</title></head><body>' .$msgS. '<br></body></html>';
$envMail = mailer(2, $_SESSION['smtpUserGestionnaire'], $_SESSION['smtpPwdGestionnaire'], 0 ,$_SESSION['smtpServerGestionaire'], $sujet, $message_support, "support@123ventes.com", '', '', 0, $navMsg[9], $navMsg[22], 0,' ', '',$_SESSION['expediteur_mails123'], $_SESSION['from_mails123'], '','FRA');
?>