Formbricks deploy fails
I tried to install and deploy formbrickls like 3x and every time it fails
Solution:Jump to solution
---
we moved to dms for the sake of privacy and security
---
Solution: The issue ended up being that the
SMTP_USER
wasn't a valid email, and since MAIL_FROM
automatically uses SMTP_USER
it used the invalid email as the email address, causing a malformed MAIL_FROM
, causing the error
...14 Replies
Project ID:
N/A
N/A
that's not ideal, unfortunately I'm away from the computer for the weekend, maybe if it's something simple I could do it on the phone, but I'd need my buddy @Fragly to figure out the root issue for me if he's got the time.
I have a formbricks deployment running myself
from the error it seems your service variables are invalid
would you mind sending me your service variables?
IMPORTANT: censor the sensitive ones like
ENCRYPTION_KEY
, NEXTAUTH_SECRET
and SMTP_PASSWORD
did you just deploy a new one? I was assuming that formbricks changed something and my template is no longer compatible
oh no, I deployed this one a month ago, but good point I'll deploy a new one rq and see if i get the same issues
Deployed a new one, it's working completely fine for me so far
that's odd, @barnabynagy what did you do to have it crash with these errors?
I installed and deployed it completely new after deleting it some days ago
Nothing else
Which variable do you need exactly? There are a lot
Just copy and paste all of them because I don't know which would be malformed (Only send those from your Formbricks service)
just make sure the censor the ones I mentioned, those are the only sensitive ones that I know of
Solution
---
we moved to dms for the sake of privacy and security
---
Solution: The issue ended up being that the
SMTP_USER
wasn't a valid email, and since MAIL_FROM
automatically uses SMTP_USER
it used the invalid email as the email address, causing a malformed MAIL_FROM
, causing the error
To solve the issue, we specified MAIL_FROM
seperately from SMTP_USER
that just leaves me with more questions, why would you have set an invalid email on
SMTP_USER
yeaa, that's what I said
That's apperantly what the SMTP server he's using gave him
I have never not seen an SMTP username not be a valid email, fun edge cases
thanks for solving this one!
No problemo 🫡