R
Railway11mo ago
h0rus

cal.com template

The confirmation / password reset emails are not working.
31 Replies
Percy
Percy11mo ago
Project ID: N/A
Brody
Brody11mo ago
have you set it up with an email provider?
h0rus
h0rusOP11mo ago
N/A Yes sendgrid
Brody
Brody11mo ago
are you getting any errors anywhere?
h0rus
h0rusOP11mo ago
@calcom/web:start: SEND_BOOKING_CONFIRMATION_ERROR Error: spawn /usr/sbin/sendmail ENOENT
Brody
Brody11mo ago
where do you see that error? is that the only error? is that the entire error?
h0rus
h0rusOP11mo 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
Brody11mo ago
can you tell me the steps you have followed to setup sendgrid?
h0rus
h0rusOP11mo ago
Add the two variables: SENDGRID_API_KEY and SENDGRID_EMAIL
Brody
Brody11mo ago
if I was to try to reproduce this, is it hard to get a sendgrid account easily
h0rus
h0rusOP11mo ago
you have to validate a sender domain via cname records before you can create an api key
Brody
Brody11mo 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
h0rusOP11mo ago
Thanks!
Brody
Brody11mo ago
they aren't online right now though you added the service variables to the cal service right?
h0rus
h0rusOP11mo ago
Yes
Brody
Brody11mo ago
did you configure cal to use sendgrid from within it's settings?
h0rus
h0rusOP11mo 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
Brody11mo ago
gotcha, looks like the offical cal.com image doesn't come with sendmail installed
h0rus
h0rusOP11mo ago
Can I install it somehow?
Brody
Brody11mo ago
im looking into that
h0rus
h0rusOP11mo ago
Alright 👍
Brody
Brody11mo ago
would you be opposed to having to deploy the cal.com template again?
h0rus
h0rusOP11mo ago
Still the same errors
Brody
Brody11mo ago
haha I wasn't asking you to deploy it just yet
h0rus
h0rusOP11mo ago
🙈 I misunderstood your message
Brody
Brody11mo ago
but i will take that as a yes, so please deploy this template https://railway.app/template/Hhkd0F
h0rus
h0rusOP11mo 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
Brody11mo ago
can you show me where / how you have added it?
h0rus
h0rusOP11mo ago
No description
Brody
Brody11mo ago
maybe you could hop of the computer? railways site does not favour mobile users
h0rus
h0rusOP11mo ago
No description
Want results from more Discord servers?
Add your server