R
Railway8mo 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
Percy8mo ago
Project ID: 85c409f1-f568-44fd-91c6-90e559670f15
ahohs
ahohsOP8mo ago
project ID: 85c409f1-f568-44fd-91c6-90e559670f15
Brody
Brody8mo 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
ahohsOP8mo ago
Yea I setup the EMAIL_FROM as well Do you need to put the strings in single quotes?
Brody
Brody8mo ago
nope, just as the example env file shows
ahohs
ahohsOP8mo ago
Should it be SMTP credentials or POP3?
ahohs
ahohsOP8mo ago
This is how I have the variables setup
No description
Brody
Brody8mo ago
it would be smtp
ahohs
ahohsOP8mo ago
Ok I will deploy like this and see if the emails send I didn't see the email come through to Mailtrap
Brody
Brody8mo ago
are you sure you are using the correct port? maybe its 587? are you seeing any error logs?
ahohs
ahohsOP8mo ago
Ok that worked to send to Mailtrap. There were a few different ports. Just have to configure for gmail now. Thanks
Brody
Brody8mo ago
Gmail is known to not work, unless you use gsuite
ahohs
ahohsOP8mo ago
Ok good to know
Brody
Brody8mo ago
ironically they block access from their own ips
ahohs
ahohsOP8mo ago
Of coarse. I got it working. Thanks for your help
Brody
Brody8mo ago
do me a big favour and check if Cal <[email protected]> (replace example domain with yours and keep angled brackets) is valid syntax for EMAIL_FROM
Want results from more Discord servers?
Add your server