Cal Template Does not include email cofiguration
ahohs
HOBBYOP

2 years ago

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:
EMAILSERVERHOST
EMAILSERVERPASSWORD
EMAILSERVERPORT
EMAILSERVERUSER

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.

0 Replies

ahohs
HOBBYOP

2 years ago

project ID: 85c409f1-f568-44fd-91c6-90e559670f15


brody
EMPLOYEE

2 years ago

along with EMAIL_FROM those environment variables you listed are indeed the variables you would need to setup


brody
EMPLOYEE

2 years ago


ahohs
HOBBYOP

2 years ago

Yea I setup the EMAIL_FROM as well


ahohs
HOBBYOP

2 years ago

Do you need to put the strings in single quotes?


brody
EMPLOYEE

2 years ago

nope, just as the example env file shows


ahohs
HOBBYOP

2 years ago

Should it be SMTP credentials or POP3?


ahohs
HOBBYOP

2 years ago

This is how I have the variables setup

1225933170202120400


brody
EMPLOYEE

2 years ago

it would be smtp


ahohs
HOBBYOP

2 years ago

Ok I will deploy like this and see if the emails send


ahohs
HOBBYOP

2 years ago

I didn't see the email come through to Mailtrap


brody
EMPLOYEE

2 years ago

are you sure you are using the correct port? maybe its 587?
are you seeing any error logs?


ahohs
HOBBYOP

2 years ago

Ok that worked to send to Mailtrap. There were a few different ports. Just have to configure for gmail now. Thanks


brody
EMPLOYEE

2 years ago

Gmail is known to not work, unless you use gsuite


ahohs
HOBBYOP

2 years ago

Ok good to know


brody
EMPLOYEE

2 years ago

ironically they block access from their own ips


ahohs
HOBBYOP

2 years ago

Of coarse. I got it working. Thanks for your help


brody
EMPLOYEE

2 years ago

do me a big favour and check if Cal (replace example domain with yours) is valid syntax for EMAIL_FROM


Loading...