# Prob: Shopware()-&gt;System()-&gt;Mail() ist null?

**URL:** <https://forum.shopware.com/t/prob-shopware-gt-system-gt-mail-ist-null/328>\
**Category:** Shopware 3.5\
**Tags:** installation--gettin\
**Created:** [19. Oktober 2010 um 22:45 UTC](https://forum.shopware.com/t/prob-shopware-gt-system-gt-mail-ist-null/328 "2010-10-19T22:45:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TSchenk](https://avatars.discourse-cdn.com/v4/letter/t/779978/32.png) [@TSchenk](https://forum.shopware.com/u/TSchenk)\
**Post date:** [19. Oktober 2010 um 22:45 UTC](https://forum.shopware.com/t/prob-shopware-gt-system-gt-mail-ist-null/328/1 "2010-10-19T22:45:27Z")

</div>

Hallöle Shopware-Team, hab schon das nächste Problem entdeckt. Beim Anmelden zum Newsletter wird ja nach dem Eintragen in die Datenbank zunächst eine Mail versendet. In der Klasse Shopware\_Controllers\_Frontend\_Newsletter function sendMail wird ja ein Klon vom Mail-Objekt erzeugt. Oder soll zumindestens. Die var\_dump-Ausgabe von Shopware()-\>System()-\>Mail() ergibt allerdings nur NULL, also kein Objekt vorhanden, womit das clone natürlich schief geht. Eventuell ne Idee??? Viele Grüße Thomas

---

<div class="post-metadata">

**Author:** ![Stefan\_Hamann](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@Stefan\_Hamann](https://forum.shopware.com/u/Stefan_Hamann)\
**Post date:** [20. Oktober 2010 um 07:26 UTC](https://forum.shopware.com/t/prob-shopware-gt-system-gt-mail-ist-null/328/2 "2010-10-20T07:26:18Z")

</div>

Hey, siehe [viewtopic.php?f=17&t=209&p=1200#p1200](http://www.shopware-community.de/viewtopic.php?f=17&t=209&p=1200#p1200)
