nvm
Problem with the Custom Domain and Email's
Votes
0
Replies
24
Participants
Unknown
Messages
25
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
and are they empty?
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.
If this is indeed the behaviour, its probably not correct, I guess.
My SMTP variables are empty cuz I haven't set anything yet, and I do get a failed in appwrite doctor.
if you add certain valid vars, it works right?
I'm gonna try adding SMTP settings through the console, to see if it works.
cool
Yes absolutely. I've added configs for SMTP before in the .env and it worked.
Doctor wasn't updated I guess. On to GitHub now 🤣
Rank 2: Process
I'm confused
Ahh my bad,
you are on 1.4.2 right & have set up valid settings via Project > Settings > SMTP?
Rank 2: Process
yes
Rank 2: Process
the same that in the .env
Rank 2: Process
you mean to say the vars I mentioned are not empty in the .env? Same as the one you have in console?
Rank 2: Process
yep
Rank 2: Process
what about :
_APP_SYSTEM_EMAIL_NAME
_APP_SYSTEM_EMAIL_ADDRESS
Rank 2: Process
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.
Rank 2: Process
cool since 3/4 days i try to get this to run
Rank 2: Process
no problem i am glad that they at least try to help me at all
Since your issue was with the email provider and is fixed now, this can be marked [SOLVED].