Mautic Community Forums

Email sending problem.

Hey guys, I stock with the problem.

I got multiple errors in my log files.

Code:
[2017-12-07 14:35:18] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients [] [] [2017-12-07 14:35:28] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients [] [] [2017-12-07 14:35:36] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients [] [] [2017-12-07 14:35:46] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients [] [] [2017-12-07 14:42:04] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients [] [] [2017-12-07 14:42:05] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients [] []

I've selected all the contacts from DB with error with
Code:
SELECT * FROM campaign_lead_event_log LEFT JOIN campaign_lead_event_failed_log ON campaign_lead_event_log.id = campaign_lead_event_failed_log.log_id LEFT JOIN leads ON campaign_lead_event_log.lead_id = leads.id

As a result I see the list of email, which were failed.
All of them contains some symbols like "_", "-", ".", "0-9".
So I think, maybe there are some errors in Mautic source code?

P.S.
I use standalone version on a shared hosting with PHP 5.6. And I send my emails from my campaigns with PHPMail.

Amy suggestion? Thanks in advance!

Hey guys, I stock with the problem.
I got multiple errors in my log files.

[2017-12-07 14:35:18] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients [] []
[2017-12-07 14:35:28] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients [] []
[2017-12-07 14:35:36] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients [] []
[2017-12-07 14:35:46] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients [] []
[2017-12-07 14:42:04] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients [] []
[2017-12-07 14:42:05] mautic.ERROR: [MAIL ERROR] Sending failed for one or more recipients [] []

I’ve selected all the contacts from DB with error with

SELECT * FROM campaign_lead_event_log LEFT JOIN campaign_lead_event_failed_log ON campaign_lead_event_log.id = campaign_lead_event_failed_log.log_id LEFT JOIN leads ON campaign_lead_event_log.lead_id = leads.id

As a result I see the list of email, which were failed.
All of them contains some symbols like “_”, “-”, “.”, “0-9”.
So I think, maybe there are some errors in Mautic source code?

P.S.
I use standalone version on a shared hosting with PHP 5.6. And I send my emails from my campaigns with PHPMail.

Amy suggestion? Thanks in advance!

P.P.S.
Mautic version - v2.8.2

@BodyaKuts cron jobs set it up ?

Check if those contacts have a valid email address also check your PHPMail setting.
and try to use another Email Services Provider like Sendgrind to check if the problem if with your PHPMail and your shared hosting

Thanks for your replies!

@bizcrony Yes. They are setup. Everything is ok with all other emails.

@ninjoan Yes, email addresses are valid. I tied to send email to this addresses, using Gmail and everything went well.
I’m checking Sendgrid now, but facing some problems with setting it up (connection refused).
What exactly should I check in my PHPMail settings?

@BodyaKuts can you share screen shot or how I can get Yr Ftp?

@BodyaKuts I think there is the possibility to exclude characters from PHPmail. For these, emails will not be sent.

Do you have access to your operating system logs? It would be interesting what PHPmail says.