R
Railway10mo ago
h0rus

cal.com template

The confirmation / password reset emails are not working.
31 Replies
Percy
Percy10mo ago
Project ID: N/A
Brody
Brody10mo ago
have you set it up with an email provider?
h0rus
h0rus10mo ago
N/A Yes sendgrid
Brody
Brody10mo ago
are you getting any errors anywhere?
h0rus
h0rus10mo ago
@calcom/web:start: SEND_BOOKING_CONFIRMATION_ERROR Error: spawn /usr/sbin/sendmail ENOENT
Brody
Brody10mo ago
where do you see that error? is that the only error? is that the entire error?
h0rus
h0rus10mo ago
Observability-Tab @calcom/web:start: syscall: 'spawn /usr/sbin/sendmail', @calcom/web:start: path: '/usr/sbin/sendmail', @calcom/web:start: sendEmail Error: spawn /usr/sbin/sendmail ENOENT
Brody
Brody10mo ago
can you tell me the steps you have followed to setup sendgrid?
h0rus
h0rus10mo ago
Add the two variables: SENDGRID_API_KEY and SENDGRID_EMAIL
Brody
Brody10mo ago
if I was to try to reproduce this, is it hard to get a sendgrid account easily
h0rus
h0rus10mo ago
you have to validate a sender domain via cname records before you can create an api key
Brody
Brody10mo ago
that doesn't sound all that easy I'll ask someone I know who uses cal.com to see if he uses it with sendgrid
h0rus
h0rus10mo ago
Thanks!
Brody
Brody10mo ago
they aren't online right now though you added the service variables to the cal service right?
h0rus
h0rus10mo ago
Yes
Brody
Brody10mo ago
did you configure cal to use sendgrid from within it's settings?
h0rus
h0rus10mo ago
I did not find an option under settings I send a test mail via POST request to check the api key: everything’s working, so no problem with sendgrid itself
Brody
Brody10mo ago
gotcha, looks like the offical cal.com image doesn't come with sendmail installed
h0rus
h0rus10mo ago
Can I install it somehow?
Brody
Brody10mo ago
im looking into that
h0rus
h0rus10mo ago
Alright 👍
Brody
Brody10mo ago
would you be opposed to having to deploy the cal.com template again?
h0rus
h0rus10mo ago
Still the same errors
Brody
Brody10mo ago
haha I wasn't asking you to deploy it just yet
h0rus
h0rus10mo ago
🙈 I misunderstood your message
Brody
Brody10mo ago
but i will take that as a yes, so please deploy this template https://railway.app/template/Hhkd0F
h0rus
h0rus10mo ago
@calcom/web:start: 05:46:18:894 WARN[[sync] sendgrid_service Couldn't instantiate sync service: Sendgrid Api Key not present But I added the SENDGRID_API_KEY variable
Brody
Brody10mo ago
can you show me where / how you have added it?
h0rus
h0rus10mo ago
No description
Brody
Brody10mo ago
maybe you could hop of the computer? railways site does not favour mobile users
h0rus
h0rus10mo ago
No description
Want results from more Discord servers?
Add your server