# Probleme mit Mailer

**URL:** <https://forum.shopware.com/t/probleme-mit-mailer/64667>\
**Category:** Allgemein\
**Created:** [12. Februar 2020 um 21:41 UTC](https://forum.shopware.com/t/probleme-mit-mailer/64667 "2020-02-12T21:41:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohannesJS](https://avatars.discourse-cdn.com/v4/letter/j/8797f3/32.png) [@JohannesJS](https://forum.shopware.com/u/JohannesJS)\
**Post date:** [12. Februar 2020 um 21:41 UTC](https://forum.shopware.com/t/probleme-mit-mailer/64667/1 "2020-02-12T21:41:52Z")

</div>

Hallo zusammen,

vielleicht könnt Ihr mir helfen: ich bin dabei den Mailer in shopware 6 zu ändern (auf gmail). Jetzt habe ich alles ausgefüllt aber wenn ich bspw. das Kontaktformular wegschicken möchte, funktioniert das nicht. Auch beim Versenden der Testmail in den Emailvolagen erhalte ich nur eine Fehlermeldung (eben die: Beim Versand der Test-Mail ist ein Fehler aufgetreten). Yahoo etc. habe ich auch schon probiert, gleiche Fehlermeldung.

Als Fehlermedlung erhalte ich (bin allerdings kein ITler :-)):

request.CRITICAL: Uncaught PHP Exception Swift\_TransportException: “**Failed to authenticate on SMTP server with username "[johannes.schweiger@gmail.com](mailto:johannes.schweiger@gmail.com)**” using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code “535”, with message “**535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8&nbsp; [https://support.google.com/mail/?p=BadCredentials](http://x2m6z.mjt.lu/lnk/AMcAABhB9TUAAAAAAAAAAAEpqzIAAAAADMoAAAAAAA9VmgBeRGRQ7bmyX-XYR6yJm8luCBtXWAAPHHI/3/S7Wx_bLLyliwypvfM32MCw/aHR0cHM6Ly9zdXBwb3J0Lmdvb2dsZS5jb20vbWFpbC8_cD1CYWRDcmVkZW50aWFscw) a6sm1765184wrm.69 - gsmtp**”." at /var/www/vhosts/schweiger-paletten.com/httpdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php line 191 {“exception”:"[object] (Swift\_TransportException(code: 0): Failed to authenticate on SMTP server with username “[johannes.schweiger@gmail.com]([mailto:johannes.schweiger@gmail.com](mailto:johannes.schweiger@gmail.com))” using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code “535”, with message “535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8&nbsp; [https://support.google.com/mail/?p=BadCredentials](http://x2m6z.mjt.lu/lnk/AMcAABhB9TUAAAAAAAAAAAEpqzIAAAAADMoAAAAAAA9VmgBeRGRQ7bmyX-XYR6yJm8luCBtXWAAPHHI/4/xDAGIoHaPIb-gcdYwEacSw/aHR0cHM6Ly9zdXBwb3J0Lmdvb2dsZS5jb20vbWFpbC8_cD1CYWRDcmVkZW50aWFscw) a6sm1765184wrm.69 - gsmtp\r\n”. at /var/www/vhosts/schweiger-paletten.com/httpdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php:191)"}

So sieht das aus, ich mache doch nichts falsch?

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/0/0455a7955f8aa1d24920f839c844f8a74a3bb5bc.png)

&nbsp;

Schon einmal besten Dank, ich verzweifle bald 🙂

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [13. Februar 2020 um 05:21 UTC](https://forum.shopware.com/t/probleme-mit-mailer/64667/2 "2020-02-13T05:21:09Z")

</div>

[https://forum.shopware.com/discussion/comment/262646/#Comment\_262646](https://forum.shopware.com/discussion/comment/262646/#Comment_262646)  
&nbsp;

Hast du das alles entsprechend konfiguriert? Ohne App-Passwort hat das nie bei mir funktioniert.
