IPB

Bienvenue invité ( Connexion | Inscription )

> [RESOLU] PHPMailer : je ne comprends pas, pb d'envoi
Options
Eddoul
posté 21 May 2018, 20:07
Message #1


Macbidouilleur d'argent !
***

Groupe : Membres
Messages : 629
Inscrit : 21 Dec 2007
Membre no 103 074



Bonjour,

Dans ce bout de code, je ne comprends pas le pb :

Code
PS : ce mail a été généré automatiquement.2018-05-21 19:03:21    Could not instantiate mail function.
Pb d'envoi de mail
object(PHPMailer)#130 (75) { ["Version"]=> string(6) "5.2.15" ["Priority"]=> NULL ["CharSet"]=> string(5) "UTF-8" ["ContentType"]=> string(21) "multipart/alternative" ["Encoding"]=> string(4) "8bit" ["ErrorInfo"]=> string(36) "Could not instantiate mail function." ["From"]=> string(24) "[email protected]" ["FromName"]=> string(29) "Site du SCF - Alain xxxx" ["Sender"]=> string(24) "[email protected]" ["ReturnPath"]=> string(0) "" ["Subject"]=> string(60) "SCF - CREATION Plongée club du 24/05/2018 à 08:00 à Passy" ["Body"]=> string(753) "
Plongée du 24/05/2018 à 08:00 à Passy


Bonjour Eric

Pour information, une sortie Club a été crée par Alain xxxx

Le commentaire :
Plongée à Passy (sortie N1 du jeudi) plongée club ouvert à tout les niveaux.rendez- vous à 18h45 au local pour prise du matériel, départ pour Passy 19h; Après la plongée"buffet Canadien" comme d'habitude. PS pour les plongeurs qui ne peuvent pas récupèrer le matériel me contacter au 06 71 86 13 44



Les niveaux acceptés :
Niveau 1
Niveau 2
Niveau 3
Niveau 4


PS : ce mail a été généré automatiquement." ["AltBody"]=> string(548) "Plongée du 24/05/2018 à 08:00 à PassyBonjour EricPour information, une sortie Club a été crée par Alain xxxxxxLe commentaire : Plongée à Passy (sortie N1 du jeudi) plongée club ouvert à tout les niveaux.rendez- vous à 18h45 au local pour prise du matériel, départ pour Passy 19h; Après la plongée"buffet Canadien" comme d'habitude. PS pour les plongeurs qui ne peuvent pas récupèrer le matériel me contacter au 06 71 86 13 44Les niveaux acceptés :Niveau 1Niveau 2Niveau 3Niveau 4PS : ce mail a été généré automatiquement." ["Ical"]=> string(0) "" ["MIMEBody":protected]=> string(1615) "This is a multi-part message in MIME format. --b1_efba94b1174bd8aab513018ec94a087f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plongée du 24/05/2018 à 08:00 à PassyBonjour EricPour information, une sortie Club a été crée par Alain PxxxxILe commentaire : Plongée à Passy (sortie N1 du jeudi) plongée club ouvert à tout les niveaux.rendez- vous à 18h45 au local pour prise du matériel, départ pour Passy 19h; Après la plongée"buffet Canadien" comme d'habitude. PS pour les plongeurs qui ne peuvent pas récupèrer le matériel me contacter au 06 71 86 13 44Les niveaux acceptés :Niveau 1Niveau 2Niveau 3Niveau 4PS : ce mail a été généré automatiquement. --b1_efba94b1174bd8aab513018ec94a087f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Plongée du 24/05/2018 à 08:00 à Passy


Bonjour Eric

Pour information, une sortie Club a été crée par Alain xxxxx

Le commentaire :
Plongée à Passy (sortie N1 du jeudi) plongée club ouvert à tout les niveaux.rendez- vous à 18h45 au local pour prise du matériel, départ pour Passy 19h; Après la plongée"buffet Canadien" comme d'habitude. PS pour les plongeurs qui ne peuvent pas récupèrer le matériel me contacter au 06 7



Les niveaux acceptés :
Niveau 1
Niveau 2
Niveau 3
Niveau 4


PS : ce mail a été généré automatiquement. --b1_efba94b1174bd8aab513018ec94a087f--
" ["MIMEHeader":protected]=> string(402) "Date: Mon, 21 May 2018 21:03:21 +0200 From: Site du SCF - Alain xxxx Reply-To: [email protected] Message-ID: X-Mailer: PHPMailer 5.2.15 (https://github.com/PHPMailer/PHPMailer) MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="b1_efba94b1174bd8aab513018ec94a087f" Content-Transfer-Encoding: 8bit " ["mailHeader":protected]=> string(136) "To: [email protected] Subject: =?UTF-8?Q?SCF_-_CREATION_Plong=C3=A9e_club_du_24/05/2018_=C3=A0_08:00_?= =?UTF-8?Q?=C3=A0_Passy?= " ["WordWrap"]=> int(0) ["Mailer"]=> string(4) "mail" ["Sendmail"]=> string(18) "/usr/sbin/sendmail" ["UseSendmailOptions"]=> bool(true) ["PluginDir"]=> string(0) "" ["ConfirmReadingTo"]=> string(0) "" ["Hostname"]=> string(0) "" ["MessageID"]=> string(0) "" ["MessageDate"]=> string(31) "Mon, 21 May 2018 21:03:21 +0200" ["Host"]=> string(9) "localhost" ["Port"]=> int(25) ["Helo"]=> string(0) "" ["SMTPSecure"]=> string(0) "" ["SMTPAutoTLS"]=> bool(true) ["SMTPAuth"]=> bool(false) ["SMTPOptions"]=> array(0) { } ["Username"]=> string(0) "" ["Password"]=> string(0) "" ["AuthType"]=> string(0) "" ["Realm"]=> string(0) "" ["Workstation"]=> string(0) "" ["Timeout"]=> int(300) ["SMTPDebug"]=> int(2) ["Debugoutput"]=> string(4) "echo" ["SMTPKeepAlive"]=> bool(false) ["SingleTo"]=> bool(false) ["SingleToArray"]=> array(0) { } ["do_verp"]=> bool(false) ["AllowEmpty"]=> bool(false) ["LE"]=> string(1) " " ["DKIM_selector"]=> string(0) "" ["DKIM_identity"]=> string(0) "" ["DKIM_passphrase"]=> string(0) "" ["DKIM_domain"]=> string(0) "" ["DKIM_private"]=> string(0) "" ["action_function"]=> string(0) "" ["XMailer"]=> string(0) "" ["smtp":protected]=> NULL ["to":protected]=> array(1) { [0]=> array(2) { [0]=> string(23) "[email protected]" [1]=> string(0) "" } } ["cc":protected]=> array(0) { } ["bcc":protected]=> array(0) { } ["ReplyTo":protected]=> array(1) { ["[email protected]"]=> array(2) { [0]=> string(24) "[email protected]" [1]=> string(0) "" } } ["all_recipients":protected]=> array(1) { ["[email protected]"]=> bool(true) } ["RecipientsQueue":protected]=> array(0) { } ["ReplyToQueue":protected]=> array(0) { } ["attachment":protected]=> array(0) { } ["CustomHeader":protected]=> array(0) { } ["lastMessageID":protected]=> string(50) "" ["message_type":protected]=> string(3) "alt" ["boundary":protected]=> array(3) { [1]=> string(35) "b1_efba94b1174bd8aab513018ec94a087f" [2]=> string(35) "b2_efba94b1174bd8aab513018ec94a087f" [3]=> string(35) "b3_efba94b1174bd8aab513018ec94a087f" } ["language":protected]=> array(19) { ["authenticate"]=> string(35) "SMTP Error: Could not authenticate." ["connect_host"]=> string(43) "SMTP Error: Could not connect to SMTP host." ["data_not_accepted"]=> string(30) "[b]SMTP Error: data not accepted[/b]." ["empty_message"]=> string(18) "Message body empty" ["encoding"]=> string(18) "Unknown encoding: " ["execute"]=> string(19) "Could not execute: " ["file_access"]=> string(23) "Could not access file: " ["file_open"]=> string(33) "File Error: Could not open file: " ["from_failed"]=> string(35) "The following From address failed: " ["instantiate"]=> string(36) "Could not instantiate mail function." ["invalid_address"]=> string(17) "Invalid address: " ["mailer_not_supported"]=> string(25) " mailer is not supported." ["provide_address"]=> string(54) "You must provide at least one recipient email address." ["recipients_failed"]=> string(45) "SMTP Error: The following recipients failed: " ["signing"]=> string(15) "Signing Error: " ["smtp_connect_failed"]=> string(22) "SMTP connect() failed." ["smtp_error"]=> string(19) "SMTP server error: " ["variable_set"]=> string(30) "Cannot set or reset variable: " ["extension_missing"]=> string(19) "Extension missing: " } ["error_count":protected]=> int(1) ["sign_cert_file":protected]=> string(0) "" ["sign_key_file":protected]=> string(0) "" ["sign_extracerts_file":protected]=> string(0) "" ["sign_key_pass":protected]=> string(0) "" ["exceptions":protected]=> bool(false) ["uniqueid":protected]=> string(32) "efba94b1174bd8aab513018ec94a087f" }
Echec de l'envoi du mail, Erreur: Could not instantiate mail function.




Merci pour votre aide.

Eddy

Ce message a été modifié par Eddoul - 24 May 2018, 03:55.


--------------------
Machines en ma possession :
- Imac 20", 4,3Ghz, HDD 250, 4Go RAM
Go to the top of the page
 
+Quote Post
 
Start new topic
Réponse(s)
teddy7545
posté 22 May 2018, 10:37
Message #2


Macbidouilleur de vermeil !
****

Groupe : Membres
Messages : 879
Inscrit : 4 Apr 2004
Lieu : Lorraine - 54
Membre no 17 184



C'est l'adresse de l'expéditeur que tu changes ?

Quel est ton fournisseur d'accès internet ?
Peut être une bonne piste à creuser.
Dans certain cas, certains FAI ne permettent pas l'envoi d'emails sans authentification depuis une adresse qui n'est pas de leur domaine.
J'ai déjà rencontré ça même dans Mail avec des adresses multiples (et il m'a fallu adapter/modifier le serveur d'envoi, le port utilisé et la méthode d'authentification).

Ce message a été modifié par teddy7545 - 22 May 2018, 10:37.


--------------------
MP Intel Dual Xéon 3 GHz - MacOSX 10.10.3 - ATI Radeon HD 5770 - ATTO UL5D - Apple Cinema HD Display 23 pouces
MBP 15' 2017 - MBP 13' mid 2009 - iMac 24' 8,1 2,8GHz - MP G4 MDD Bi 1,25 GHz - MP G4 Quicksylver 933MHz
Go to the top of the page
 
+Quote Post

Les messages de ce sujet


Reply to this topicStart new topic
1 utilisateur(s) sur ce sujet (1 invité(s) et 0 utilisateur(s) anonyme(s))
0 membre(s) :

 



Nous sommes le : 12th June 2024 - 02:52