# 4.4.2 mailout Cronjob Fehler

**URL:** <https://forum.shopware.com/t/4-4-2-mailout-cronjob-fehler/54596>\
**Category:** Programmierung\
**Created:** [14. August 2018 um 08:39 UTC](https://forum.shopware.com/t/4-4-2-mailout-cronjob-fehler/54596 "2018-08-14T08:39:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maha](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@Maha](https://forum.shopware.com/u/Maha)\
**Post date:** [14. August 2018 um 08:39 UTC](https://forum.shopware.com/t/4-4-2-mailout-cronjob-fehler/54596/1 "2018-08-14T08:39:53Z")

</div>

Hallo,

&nbsp;

Ich versuche mit ein Cronjob eine email schicken wenn ein Fehler auftrett :

```
**if** (! **empty** ($errors)) { **try** { $this-\>sendMail($errors); } **catch** (\Enlight\_Exception $e) { $result .= **'Descriptions Xml Mailing failed: '**. $e-\>getMessage(); } }

```

&nbsp;

kommt zu mir ein Fehler im Ergebnisdaten im Cronjob ;

array (

‘error’ =\> ‘4.4.2 mailout. Error: timeout exceeded’

)

hat jemand eine Idee wie kann ich das Problem beheben?

Danke
