Back

Problem with the Custom Domain and Email's

  • 0
  • Self Hosted
  • Flutter
  • Accounts
darShan
9 Sep, 2023, 09:55

nvm

TL;DR
There was an issue with the email provider, but it has been resolved. The user had trouble getting the custom domain and email to work. There was a suggestion to check certain variables in the .env file, but it was not confirmed if they were empty or not. In the end, it was suggested to add SMTP settings through the console to see if it would work. There is no explicit solution mentioned in the thread.
darShan
9 Sep, 2023, 09:57

Okay, so can you confirm if you have these keys in your .env? _APP_SMTP_HOST _APP_SMTP_PORT _APP_SMTP_SECURE _APP_SMTP_USERNAME _APP_SMTP_PASSWORD

darShan
9 Sep, 2023, 09:57

and are they empty?

darShan
9 Sep, 2023, 10:00

I see that on 1.4.2 already has SMTP Settings but if these mentioned vars are empty, the SMTP check fails on doctor.

@safwan Can you maybe confirm this? I tested on localhost though.

darShan
9 Sep, 2023, 10:00

If this is indeed the behaviour, its probably not correct, I guess.

safwan
9 Sep, 2023, 10:01

My SMTP variables are empty cuz I haven't set anything yet, and I do get a failed in appwrite doctor.

darShan
9 Sep, 2023, 10:01

if you add certain valid vars, it works right?

safwan
9 Sep, 2023, 10:02

I'm gonna try adding SMTP settings through the console, to see if it works.

darShan
9 Sep, 2023, 10:02

cool

safwan
9 Sep, 2023, 10:02

Yes absolutely. I've added configs for SMTP before in the .env and it worked.

darShan
9 Sep, 2023, 10:02

Doctor wasn't updated I guess. On to GitHub now 🀣

Synthia (V)
9 Sep, 2023, 10:03

I'm confused

darShan
9 Sep, 2023, 10:04

Ahh my bad, you are on 1.4.2 right & have set up valid settings via Project > Settings > SMTP?

Synthia (V)
9 Sep, 2023, 10:04

yes

Synthia (V)
9 Sep, 2023, 10:04

the same that in the .env

Synthia (V)
9 Sep, 2023, 10:05
darShan
9 Sep, 2023, 10:05

you mean to say the vars I mentioned are not empty in the .env? Same as the one you have in console?

Synthia (V)
9 Sep, 2023, 10:05

yep

Synthia (V)
9 Sep, 2023, 10:06
darShan
9 Sep, 2023, 10:07

what about : _APP_SYSTEM_EMAIL_NAME _APP_SYSTEM_EMAIL_ADDRESS

Synthia (V)
9 Sep, 2023, 10:08
darShan
9 Sep, 2023, 10:10

Hmm, this is trippy now. In my checks if I keep these vars empty, the smtp check fails on doctor. Since you already have these set up, I have no more ideas on this.

Synthia (V)
9 Sep, 2023, 10:11

cool since 3/4 days i try to get this to run

Synthia (V)
9 Sep, 2023, 10:12

no problem i am glad that they at least try to help me at all

darShan
9 Sep, 2023, 11:09

Since your issue was with the email provider and is fixed now, this can be marked [SOLVED].

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