# Mautic 2.13.1: no emails send out

**URL:** <https://forum.mautic.org/t/mautic-2-13-1-no-emails-send-out/10518>\
**Category:** Product Support\
**Created:** [May 17, 2018, 2:16pm UTC](https://forum.mautic.org/t/mautic-2-13-1-no-emails-send-out/10518 "2018-05-17T14:16:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rosco](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rosco/32/510_2.png) [@Rosco](https://forum.mautic.org/u/Rosco)\
**Post date:** [May 17, 2018, 2:16pm UTC](https://forum.mautic.org/t/mautic-2-13-1-no-emails-send-out/10518/1 "2018-05-17T14:16:31Z")

</div>

Hi,  
using mautic 2.13.1 with php 5.6.36 or 7.0.30, I can not send any emails out of mautic.

I had tested it with the ´Test Mail´ function in EMail-Settings and send an email to a test contact using immediatly sending and queing.

In Email-Settings connecting to smtp and sending a test mail is signed as successfull, but no mails received the mailboxes. Mails sending outside mautic works even as receiving to the specific mail account.

Cron Jobs are set and working.

There is a fault in the System Info -\> Logfile:  
[2018-05-17 17:31:14] mautic.WARNING: PHP Warning - stream\_socket\_enable\_crypto(): Peer certificate CN=`*.hosting.de’ did not match expected CN=`[smtp.domain.de](http://smtp.domain.de)’ - in file /var/www/vhosts/web456.dehamd121.servertools24.de/service.techfair.de/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php - at line 94 [] []

Later changed the name of the smtp server or disabled queing. But the warning still appears.

Thank you for your supporting response.  
Rosco

---

<div class="post-metadata">

**Author:** ![Rosco](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rosco/32/510_2.png) [@Rosco](https://forum.mautic.org/u/Rosco)\
**Post date:** [May 17, 2018, 3:28pm UTC](https://forum.mautic.org/t/mautic-2-13-1-no-emails-send-out/10518/2 "2018-05-17T15:28:40Z")

</div>

Update:  
I switched the method for sending emails from smtp server (does not work) to

- PHP Mail: does not work
- Gmail: does not work
- Sendmail: works fine

Any suggestions are welcome!  
Thanks  
Rosco

---

<div class="post-metadata">

**Author:** ![Rosco](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rosco/32/510_2.png) [@Rosco](https://forum.mautic.org/u/Rosco)\
**Post date:** [May 19, 2018, 8:44am UTC](https://forum.mautic.org/t/mautic-2-13-1-no-emails-send-out/10518/3 "2018-05-19T08:44:36Z")

</div>

Thanks for your response.

I now figured out:  
– What does the “Test connection” button in the email settings say (when you push it)?  
-\> Succesfull!

– Are you able to send a test out of an email template directly?  
-\> Yes, this is working  
– Are you able to send a direct email out of one contact’s details?  
-\> **No, that was the issue I mentioned above**

– Have you created the necessary cronjobs?  
-\> Yes, I hat created all necessary conjobs like this:  
/usr/local/…/mautic/app/console mautic:emails:send \>/dev/null 2\>&1

Is it necessary to add “\>/dev/null 2\>&1” at the end I saw in another thread like this?:  
/usr/local/…/mautic/app/console mautic:emails:send \>/dev/null 2\>&1  
What is it for?

Thanks  
Rosco

---

<div class="post-metadata">

**Author:** ![Rosco](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rosco/32/510_2.png) [@Rosco](https://forum.mautic.org/u/Rosco)\
**Post date:** [May 19, 2018, 8:46am UTC](https://forum.mautic.org/t/mautic-2-13-1-no-emails-send-out/10518/4 "2018-05-19T08:46:32Z")

</div>

deleted, because postet in wrong threat

---

<div class="post-metadata">

**Author:** ![Rosco](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rosco/32/510_2.png) [@Rosco](https://forum.mautic.org/u/Rosco)\
**Post date:** [May 19, 2018, 8:56am UTC](https://forum.mautic.org/t/mautic-2-13-1-no-emails-send-out/10518/5 "2018-05-19T08:56:18Z")

</div>

Sorry, there was a mistake in my post above and I am not able to edit that.

-\> Yes, I hat created all necessary conjobs like this:  
/usr/local/…/mautic/app/console mautic:emails:send

Is it necessary to add “\>/dev/null 2\>&1” at the end I saw in another thread like this?:  
/usr/local/…/mautic/app/console mautic:emails:send \>/dev/null 2\>&1

What is it for?

---

<div class="post-metadata">

**Author:** ![Rosco](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rosco/32/510_2.png) [@Rosco](https://forum.mautic.org/u/Rosco)\
**Post date:** [May 19, 2018, 11:41am UTC](https://forum.mautic.org/t/mautic-2-13-1-no-emails-send-out/10518/6 "2018-05-19T11:41:32Z")

</div>

Thank you for the explanation.  
But I’m confused, because emails are sent well from the email template while emails sent directly to contacts do not reach them using the domains smtp server.

Might this belong to SSL?  
I had installed muatic in a subdomain while I use the smtp server from the main domain.  
I had cheked domain SSL, it´s renewed by Let´s encrypt. Is there another SSL for the mailserver that I have to ask my hosting?

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [May 31, 2018, 7:27am UTC](https://forum.mautic.org/t/mautic-2-13-1-no-emails-send-out/10518/7 "2018-05-31T07:27:06Z")

</div>

@Rosco some issue with the cron jobs. did you check?

---

<div class="post-metadata">

**Author:** ![Rosco](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rosco/32/510_2.png) [@Rosco](https://forum.mautic.org/u/Rosco)\
**Post date:** [May 31, 2018, 12:24pm UTC](https://forum.mautic.org/t/mautic-2-13-1-no-emails-send-out/10518/8 "2018-05-31T12:24:41Z")

</div>

Hi bizcrony,  
thanks again for your reply.

I set the cron jobs as seen in this screenshot:  
[https://www.dropbox.com/s/hm6e36t6hbfbz4x/sceenshot\_mautic\_crons.PNG?dl=0](https://www.dropbox.com/s/hm6e36t6hbfbz4x/sceenshot_mautic_crons.PNG?dl=0)

Emails from campaigns or test mails from channels -\> email are working well.  
Only mail to send to a contact directly will not work on my mautic 2.13.1.

Thanks Rosco
