# Escape password with extra special characters for Mailer

**URL:** <https://forum.gitea.com/t/escape-password-with-extra-special-characters-for-mailer/4938>\
**Category:** Install/Maintain/Configure\
**Created:** [March 29, 2022, 2:23pm UTC](https://forum.gitea.com/t/escape-password-with-extra-special-characters-for-mailer/4938 "2022-03-29T14:23:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/akito/32/4774_2.png) [@Akito](https://forum.gitea.com/u/Akito)\
**Post date:** [March 29, 2022, 2:23pm UTC](https://forum.gitea.com/t/escape-password-with-extra-special-characters-for-mailer/4938/1 "2022-03-29T14:23:29Z")

</div>

> **[Config Cheat Sheet - Docs](https://docs.gitea.io/en-us/config-cheat-sheet/#mailer-mailer)**

> **[Usage: Email setup - Docs](https://docs.gitea.io/en-us/email-setup/)**

According to the documentation, I can surround a password with backticks, to allow for special characters.

> **[Config Cheat Sheet - Docs](https://docs.gitea.io/en-us/config-cheat-sheet/#database-database)**

The database section in the documentation also mentions, that one can use triple quotes, to achieve the same.

In my case, I cannot use the backticks as it did not work and cannot work, as suggested.

I tried using triple quotes, hoping that this would not only work for the database password. Unfortunately, this attempt was unsuccessful, either.

Now, I’m not sure how to escape the password properly. I am getting an authentication failure, when trying to send a test mail in the adminstration area of the Web UI.

The password itself is a 100% correct, works within other apps, perfectly fine.

How can I make the password work?  
Is triple quoting for the mailer password officially supported?

---

<div class="post-metadata">

**Author:** ![Akito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/akito/32/4774_2.png) [@Akito](https://forum.gitea.com/u/Akito)\
**Post date:** [June 14, 2022, 2:35pm UTC](https://forum.gitea.com/t/escape-password-with-extra-special-characters-for-mailer/4938/2 "2022-06-14T14:35:34Z")

</div>

Well…

(twenty characters)
