# Failed to send test or real email to user and shop owner

**URL:** <https://forum.shopware.com/t/failed-to-send-test-or-real-email-to-user-and-shop-owner/54417>\
**Category:** International (English Only)\
**Tags:** general\
**Created:** [3. August 2018 um 19:24 UTC](https://forum.shopware.com/t/failed-to-send-test-or-real-email-to-user-and-shop-owner/54417 "2018-08-03T19:24:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azilara](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@Azilara](https://forum.shopware.com/u/Azilara)\
**Post date:** [3. August 2018 um 19:24 UTC](https://forum.shopware.com/t/failed-to-send-test-or-real-email-to-user-and-shop-owner/54417/1 "2018-08-03T19:24:44Z")

</div>

When someone registers to my shop, they don´t receive any registration emails. So I opened Configuration - \> Email Templates -\> System Emails -\> sREGISTERCONFIRMATION and I tried to „Send test email to shop owner“ and this error message came up:&nbsp;Email could not be sent. Error message: Invalid type given. String expected.

My email template looks like this (plain text):

> {include file=„string:{config name=emailheaderhtml}“}
> 
> Hallo „{$firstname} {$lastname}“,
> 
> vielen Dank, dass du dich bei Racket Vision angemeldet hast.  
> Du kannst dich ab sofort mit deiner Email-Adresse und deinem persönlichen Passwort auf www.racket-vision.at anmelden und gelangst dann in dein Kundenkonto.
> 
> {include file=„string:{config name=emailfooterhtml}“}

This is the HTML:

> &nbsp; &nbsp; {include file=„string:{config name=emailheaderhtml}“}  
> &nbsp; &nbsp;
> 
> &nbsp; &nbsp; Hallo „{$firstname} {$lastname}“,  
> &nbsp; &nbsp; &nbsp; &nbsp;
> 
> vielen Dank, dass du dich bei Racket Vision angemeldet hast.  
> Du kannst dich ab sofort mit deiner Email-Adresse und deinem persönlichen Passwort auf www.racket-vision.at anmelden und gelangst dann in dein Kundenkonto.  
> &nbsp; &nbsp;
> 
> &nbsp; &nbsp; {include file=„string:{config name=emailfooterhtml}“}
> 
> &nbsp;

The sending method I´m using is SMTP (gmail)&nbsp;
