J'aimerai suivre l'historique d'envoi de mails automatisé.
- Nom de domaine : salonchezvincent.fr
- Mon hébergement/serveur est-il chez OVHcloud? oui hébergement Web
Bonjour,
Je n'ai Rien sur l'historique alors que les mails sont envoyés et reçus.
J'ai bien décortiqué l'aide "Suivre et gérer les e-mails automatisés de son hébergement web", cela viendrait du script SMTP?
J'utilise PHPMailer qui elle-même utilise la fonction mail() de php et aussi un script SMTP.
Stéphanie.
Scripts emails historique
Related questions
- Compte bloqué pour Spam, impossible de le débloquer
124371
03.01.2024 08:02
- Changer le mot de passe email depuis roundcube
121893
24.06.2017 14:28
- Email frauduleux au nom de OVH
121762
13.08.2017 18:14
- Autodiscover et Microsoft Outlook 2016
97555
23.11.2016 15:15
- Question sur antispam OVH
95607
17.03.2017 16:11
- OVH sur un iPhone "Échec de l'envoi de l'e-mail : l'adresse de l’expéditeur est incorre
94282
07.08.2017 08:45
- Arrêt de la commercialisation du MX plan
90074
30.11.2017 11:26
- Mail non délivrés ou en spam chez nos clients
85771
15.11.2017 10:30
- Comment configurer une entrée DNS de type DKIM chez OVH ?
82484
12.03.2019 17:41
- Envois de mails / erreur 521
82410
05.04.2017 11:42
Bonjour,
Pouvez-vous montrer les en-têtes SMTP d'un de ces mails qui est sorti via la fonction mail() ?
Merci
Bonjour Fritz2cat,
Voilà mon code
$from = 'contact@stephanieprunaud.fr';
$mail = new PHPMailer(true);
$mail->CharSet = "UTF-8";
try
{
$mail->setFrom($from);
$mail->addAddress('contact@stephanieprunaud.fr');
$mail->Subject = 'Suivi clients';
$mail->IsHTML(true);
$mail->MsgHTML('http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
Formulaire validé
Nom Marraine
prénom Marraine
email Marraine
Nom Amie
prénom Amie
email Amie
'.$nomMarraine.'
'.$prenomMarraine.'
'.$mailMarraine.'
'.$nomFilleule.'
'.$prenomFilleule.'
'.$mailFilleule.'
Average age
33
');
$mail->IsSMTP();
$mail->Host = 'ssl0.ovh.net'; //Adresse IP ou DNS du serveur SMTP
$mail->Port = 465; //Port TCP du serveur SMTP
$mail->SMTPAuth = true; //Utiliser l'identification
if ($mail->SMTPAuth)
{
$mail->SMTPOptions = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
)
);
$mail->SMTPSecure = 'ssl';//Protocole de sécurisation des échanges avec le SMTP
$mail->Username = $from; //Adresse email à utiliser
$mail->Password = ''; //
}
if ($mail->send())
{
header("Location: mailFilleuleValidation.html");
}
Merci!
Bonjour,
Ce n'est pas ceci que je souhaitais voir.
Les en-têtes SMTP se trouvent sur l'e-mail que vous avez reçu.
Ce sont des informations non affichées à l'écran en temps normal, qu'il faut demander à afficher (la manière de procéder dépend de votre logiciel)
```text Bonjour,
Voilà:
Delivered-To:
Received: by 2002:a17:906:3507:b0:a52:1721:7b82 with SMTP id r7csp1858962eja;
Sun, 14 Apr 2024 21:28:14 -0700 (PDT)
X-Google-Smtp-Source: AGHT+IGYq/FwTbUExOQDlHbhr4J+H6fDy63HV4IFNO1aGmQEnFh/hOeHe4dpq7WYmPPrRKKs6EJq
X-Received: by 2002:a05:600c:3585:b0:417:d75f:fa7 with SMTP id p5-20020a05600c358500b00417d75f0fa7mr7050011wmq.41.1713155293953;
Sun, 14 Apr 2024 21:28:13 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1713155293; cv=none;
d=google.com; s=arc-20160816;
b=bN4Kec/6i62VgLhZ2yqwK3k7wthMtLCJ8z0Dg5LRGiWDP05E4mgvOGMOdmNyPqjE2M
DxcIwNpnEAj1JmoR/mTXKKR6AvAn+KUL3mthgbLy8/uLIADslx+pMpCE3+5jPTAIMPdt
GHBYk2mIVT88qZcVBfZ8LA516PFB196yhesVV6vT2EEqHqhc37VSyNW78EgwCYJ5Xjcg
uQqMgAOlPnJmk+PsvBY0U0qqvGE4OSkoxATgFBcTOf7W8QjAVaua6U15t1G/xC+B0PMZ
mko/lQKsf8t9dSvEB8nkH9LAYYLFfYXB/AZHdIaKDmX7bMqD5dRCxGq3O0lDFH7h0etC
4qLQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
h=content-transfer-encoding:mime-version:message-id:subject:from:to
:date;
bh=W592QatdeMUZ5KO9n/WDowFwWFyrIs/2gy2NcsJmJ6E=;
fh=ZDQeocienMC7YbrnWuuNW6LIRMjnNTuwLU7kmiknb34=;
b=euQHA+Apx7wFouoyLpw03O5M1Ue3IaVhFMekk7TswHDzfsKUr4dr7nBhkxg1VTpRNH
r3sI2UKezrwKgrDZkFLSIEwyCI/lnqiNa26E5p3NrNMPZDZXUhCm0sA2j2JlYIi0SgHi
iMyoy5vRbe0TMaCBp1FALQrzMegaG6XsbsBFWyvIBBBXcZrkYwv0eWxik9n7d65QPve/
OK8c5Gu79StA7FtxAvx3vhLWy8W0WcyCB3P8mX8RX3SMQZDIleTvs3PDff9VlDdacz0R
MNP2rmudQTi6EcSOlRP+HQD4CbmCAM16/s7Y3WVL1TYu0mFOyt5EqhjceCLFhCRnAJdm
SBcQ==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
spf=pass (google.com: domain of designates 46.105.34.246 as permitted sender) smtp.mailfrom=
Return-Path: <>
Received: from 14.mo544.mail-out.ovh.net (14.mo544.mail-out.ovh.net. [46.105.34.246])
by mx.google.com with ESMTPS id g12-20020a056000118c00b00345efab2c13si4904750wrx.1006.2024.04.14.21.28.13
for <>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 14 Apr 2024 21:28:13 -0700 (PDT)
Received-SPF: pass (google.com: domain of noreply@salonchezvincent.fr designates as permitted sender) client-ip=;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of noreply@salonchezvincent.fr designates as permitted sender) smtp.mailfrom=noreply@salonchezvincent.fr
Received: from director8.ghost.mail-out.ovh.net (unknown [10.108.2.7]) by mo544.mail-out.ovh.net (Postfix) with ESMTP id 4VHvL54Nd9z1gQk for gmail.com>; Mon, 15 Apr 2024 04:28:13 +0000 (UTC)
Received: from ghost-submission-6684bf9d7b-7nr56 (unknown [10.111.182.49]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 646871FDD1 for gmail.com>; Mon, 15 Apr 2024 04:28:13 +0000 (UTC)
Received: from salonchezvincent.fr ([37.59.142.96]) by ghost-submission-6684bf9d7b-7nr56 with ESMTPSA id ehlYFt2sHGZJMgAAhM6qTQ (envelope-from salonchezvincent.fr>) for gmail.com>; Mon, 15 Apr 2024 04:28:13 +0000
Authentication-Results: garm.ovh; auth=pass (
X-OVh-ClientIp:
Date: Mon, 15 Apr 2024 06:28:10 +0200
To: Stephanie gmail.com>
From: noreply@salonchezvincent.fr
Subject: Offre Parrainage Vincent Coiffure
Message-ID: salonchezvincent.fr>
X-Mailer: PHPMailer 6.9.1 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="b1=_BEJPXVwKuSKmwUp9uxEBLIfBhIgPBYU7orD4SqyNQ"
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12456112146838174382
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrudejuddgfeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpeffvffhuffkofggtgfgsegrkeerreehtdejnecuhfhrohhmpehnohhrvghplhihsehsrghlohhntghhvgiivhhinhgtvghnthdrfhhrnecuggftrfgrthhtvghrnhepuefhiefhgfeffefhjedujeejleejveefvdefieeufedvteejffetudeljeegledunecuffhomhgrihhnpehsrghlohhntghhvgiivhhinhgtvghnthdrfhhrnecukfhppeduvdejrddtrddtrddupdeluddrudefgedrvdegkedrudelvddpfeejrdehledrudegvddrleeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnohhrvghplhihsehsrghlohhntghhvgiivhhinhgtvghnthdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepphhruhhnrghuughsthgvphhhrghnihgvsehgmhgrihhlrdgtohhmpdfovfetjfhoshhtpehmohehgeegpdhmohguvgepshhmthhpohhuth
--b1=_BEJPXVwKuSKmwUp9uxEBLIfBhIgPBYU7orD4SqyNQ
Content-Type: text/plain; charset=us-ascii
This is an HTML-only message. To view it, activate HTML in your email application.
--b1=_BEJPXVwKuSKmwUp9uxEBLIfBhIgPBYU7orD4SqyNQ
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
Cordialement ```
Bonjour,
Merci pour ces détails.
Vous pouvez envisager d'éditer votre post pour supprimer les détails personnels qui s'y trouvent.
Ce mail n'a pas été envoyé par php mail() mais bien au moyen de SMTP avec le login noreplyXsalonchezvincentXfr et son mot de passe, et ceci depuis 91.134.248.192 (cluster029.hosting.ovh.net)
Il est donc normal que votre espace client n'ait pas comptabilisé ce mail car il n'est pas passé par Scripts e-mail.
Bonjour,
Merci beaucoup pour votre réponse. Je vais modifier mon scripts afin d'utiliser la fonction mail() sans SMTP.
Cdt.