R
Railway6mo ago
ahohs

Cal Template Does not include email cofiguration

Everything is working fine using cal.com and the template provided by railway, but the only issue I have is none of the emails are being sent out when a new event is booked or cancelled. Neither the person booking the appointment nor the owner of the calendar is receiving anything. I have tried updating the following under variables: EMAIL_SERVER_HOST EMAIL_SERVER_PASSWORD EMAIL_SERVER_PORT EMAIL_SERVER_USER I tried with both mailtrap and with Google as well. Not sure what is going on here but it seems like I need to set up something for the emails and I have not found any documentation. Events are being created on both calendars but those events are auto-accepted.
16 Replies
Percy
Percy6mo ago
Project ID: 85c409f1-f568-44fd-91c6-90e559670f15
ahohs
ahohs6mo ago
project ID: 85c409f1-f568-44fd-91c6-90e559670f15
Brody
Brody6mo ago
along with EMAIL_FROM those environment variables you listed are indeed the variables you would need to setup https://github.com/calcom/docker/blob/main/.env.example#L51C1-L59C37
ahohs
ahohs6mo ago
Yea I setup the EMAIL_FROM as well Do you need to put the strings in single quotes?
Brody
Brody6mo ago
nope, just as the example env file shows
ahohs
ahohs6mo ago
Should it be SMTP credentials or POP3?
ahohs
ahohs6mo ago
This is how I have the variables setup
No description
Brody
Brody6mo ago
it would be smtp
ahohs
ahohs6mo ago
Ok I will deploy like this and see if the emails send I didn't see the email come through to Mailtrap
Brody
Brody6mo ago
are you sure you are using the correct port? maybe its 587? are you seeing any error logs?
ahohs
ahohs6mo ago
Ok that worked to send to Mailtrap. There were a few different ports. Just have to configure for gmail now. Thanks
Brody
Brody6mo ago
Gmail is known to not work, unless you use gsuite
ahohs
ahohs6mo ago
Ok good to know
Brody
Brody6mo ago
ironically they block access from their own ips
ahohs
ahohs6mo ago
Of coarse. I got it working. Thanks for your help
Want results from more Discord servers?
Add your server