Problème de notifications par e-mail

MantisBT forum for users who prefer to ask and answer questions in French.

Moderators: Developer, Contributor

Post Reply
EoLe93
Posts: 2
Joined: 19 Jul 2012, 09:30

Problème de notifications par e-mail

Post by EoLe93 »

Bonjour à tous,

j'espère que vous pourrez m'aider car je rencontre un problème qui commence à faire fondre mon cerveau.

Je vous explique, j'ai configuré l'envoi de mail depuis MantisBT qui fonctionne à peu prêt correctement.
En effet, je reçoit bien les mail que j'envoi par le script de test mail, je reçoit les mails de création de compte.

Code: Select all

Testing Email

You can test the ability for MantisBT to send email notifications with this form. Just click "Send Mail". If the page takes a very long time to reappear or results in an error then you will need to investigate your php/mail server settings (see PHPMailer related settings in your config_inc.php, if they don't exist, copy from config_defaults_inc.php). Note that errors can also appear in the server error log. More help can be found at the PHP website if you are using the mail() PHPMailer sending mode.
Testing Mail - mail() send successful.


Cependant les notifications ne fonctionnent pas, ou en tout cas elles se mettent en erreur.
je les ai bien activées via la commande :
$g_enable_email_notification = ON;

mais à chaque fois que je crée, modifie, supprime un bug un message d'erreur me revient de plein fouet

Code: Select all

( ! ) Fatal error: Call to undefined method PHPMailer::set() in C:\wamp\www\mantisbt\core\email_api.php on line 980
Call Stack
#	Time	Memory	         Function	             Location
1	0.0665	498624	   {main}( )	         ..\bug_report.php:0
2	0.5015	13061840	email_new_bug( )	..\bug_report.php:225
3	0.5015	13061984	email_generic( )	..\email_api.php:718
4	0.5227	13075272	email_send_all( )	..\email_api.php:574
5	0.6206	13074976	email_send( )	     ..\email_api.php:848

je vous met ma config mail au cas ou :
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.mairie-neuillyplaisance.com';
$g_smtp_username = '*****@mairie-neuillyplaisance.com';
$g_smtp_password = '*******;
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
j'ai essayé de me débrouiller par moi même et en regardant aussi sur internet, mais n'étant pas une bête en php, je commence à sécher...

Merci d'avance pour votre aide
Lapinkiller
Posts: 408
Joined: 28 Jan 2011, 18:47
Location: France
Contact:

Re: Problème de notifications par e-mail

Post by Lapinkiller »

Bonjour,

Quelle version de MantisBT utilises tu ?
quelle version de PHP et quelle BDD utilises tu ?
Lapinkiller,
French PHP developer
New look for your mantis : http://www.mantisbt.org/forums/viewtopi ... =4&t=20055
Post Reply