Back

Change email content

  • 3
  • Self Hosted
  • Tools
Drake
14 May, 2023, 06:45

Pliers?

TL;DR
The user wants to customize the email content in Appwrite. They are unsure of how to proceed and are looking for detailed instructions. A support member provides a link to a file that contains the keys for email content and suggests creating a copy of the file, making changes, and mounting it in the docker volume used by Appwrite. The user asks for further explanation and the support member provides clarification. The user also suggests adding more cases for sending information by email and SMS. The support member asks if the user is self-hosting or using Appwrite cloud. The user asks for articles on configuration and the support member provides a link to the `
bonglv
14 May, 2023, 07:37

After installing smtp, I send mail but the content of the mail is not what I want. I want to ask if there is a way to change the content of

safwan
14 May, 2023, 08:52

what email are you sending?

if you want to change the content of the the emails sent for email verification look at https://discord.com/channels/564160730845151244/1086636112983896105

bonglv
14 May, 2023, 11:02

yes, this is correct, but how do you edit it?

safwan
14 May, 2023, 11:08

Follow this link, and change the docker-compose.yml in your appwrite folder to include your modified version of the en.json file

bonglv
14 May, 2023, 11:15

Sorry, I don't quite understand how to configure. Do you have any articles that you have shared and still don't send it to me? Thank you

safwan
14 May, 2023, 11:16

Are you using Appwrite cloud, or self-hosting it?

bonglv
14 May, 2023, 11:16

i use self-hosting

safwan
14 May, 2023, 11:29

okay then you should have a folder called appwrite, with a docker-compose.yml

bonglv
14 May, 2023, 12:26

yes i see folder appwrite in server

bonglv
14 May, 2023, 12:33

I have these files, can you see if I'm missing anything? thank you

bonglv
15 May, 2023, 17:35

If appwrite could be supported like that, that would be great Thank you appwrite team

bonglv
15 May, 2023, 17:36

In addition, if you add more cases, for example, when issuing invoices in the application, you can add more portals to send information by email and sms, that's great.

hamed
15 May, 2023, 18:41

@safwan Can you elaborate?

bonglv
16 May, 2023, 04:18

ok

safwan
16 May, 2023, 04:24

What would you like more explanation on?

bonglv
16 May, 2023, 06:23

I just want to ask if the email content in appwrite can be customized, if it can be customized, please give me instructions on how to customize it, because I have searched for hd documentation but haven't found it,

bonglv
16 May, 2023, 06:25
safwan
16 May, 2023, 06:38

https://github.com/appwrite/appwrite/blob/master/app/config/locale/translations/en.json

This file contains keys that are used for the content in the emails. For example, on line 11:

TypeScript
"emails.verification.signature": "{{project}} team",

This is the signature that is used in the verify account email. What you can do is create a copy of the aforementioned file, and change it how you see fit. Then, mount the changed file in the docker volume used by appwrite.

hamed
16 May, 2023, 10:29

What to do next?

bonglv
16 May, 2023, 16:57

where is config {{project}} @safwan

safwan
16 May, 2023, 19:01

please read the message above ^

hamed
16 May, 2023, 20:11

Yes, I understand that, but I'm still unclear on how to proceed. Could you please provide a detailed explanation of each step involved πŸ™

safwan
17 May, 2023, 05:09

@hamed @bonglv I'm not exactly experienced with docker, so I'd suggest to wait till this is a fully-implement feature

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more