Projet

Général

Profil

Anomalie #7549

Mis à jour par Florian AZIZIAN il y a environ 6 ans

j'ai configuré mon sendmail, afin d'envoyer des mails depuis mon application avec les informations ci-dessous:
<MAILER>
<path_to_mailer>/apps/maarch_entreprise/tools/mails/htmlMimeMail.php</path_to_mailer>
<path_to_phpmailer>PHPMailer_v5.1</path_to_phpmailer>
<type>smtp</type><!-- mail (default), smtp, sendmail, qmail -->
<smtp_host>smtp.office365.com</smtp_host><!-- smtp1.example.com:25;smtp2.example.com -->
<smtp_port>587</smtp_port><!-- smtp1.example.com:25;smtp2.example.com -->
<smtp_user>maarch@ville-dreux.fr</smtp_user>
<smtp_password>MOTDEPASSE</smtp_password> <smtp_password>7v69iAXz</smtp_password>
<smtp_auth>true</smtp_auth>
<smtp_secure>tls</smtp_secure><!-- tls ou ssl -->
<charset>utf-8</charset><!-- Default : iso-8859-1 -->
<domains>ville-dreux.fr</domains><!-- Rewrite Recipient with config->adminmail if mailfrom and mailto is out of the domains -->
<x-mailer/><!-- Rewrite X-Mailer header, default : PHP/[phpversion] -->
<mailfrom></mailfrom> <!-- if not empty we use this address to send the mail -->
</MAILER>

Quand j’exécute mon script sendmail.sh, en base de données je constate que aucun mail n'est partie.

Lorsque je teste avec le script en pj, je reçois bien un mail avec la même configuration.

(pour accèder à la boite mail, il faut aller dans outlook.office365.com)

Retour