Skip to content
Snippets Groups Projects
Unverified Commit 4400c1a6 authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Fixed invite email (#4686)

* Fixed invite email

* Update sample.env

* Update sample.env
parent 4ffd34df
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ class UserMailer < ApplicationMailer ...@@ -27,6 +27,7 @@ class UserMailer < ApplicationMailer
def invitation_email def invitation_email
@name = params[:name] @name = params[:name]
@signup_url = params[:signup_url] @signup_url = params[:signup_url]
@email = params[:email]
mail(to: @email, subject: t('email.invitation.invitation_to_join')) mail(to: @email, subject: t('email.invitation.invitation_to_join'))
end end
......
...@@ -25,16 +25,16 @@ REDIS_URL= ...@@ -25,16 +25,16 @@ REDIS_URL=
# Please refer to your SMTP provider to get the values for the variables below # Please refer to your SMTP provider to get the values for the variables below
SMTP_SENDER_EMAIL= SMTP_SENDER_EMAIL=
SMTP_SENDER_NAME= SMTP_SENDER_NAME=
SMTP_SERVER=smtp.gmail.com SMTP_SERVER=
SMTP_PORT=465 SMTP_PORT=
SMTP_DOMAIN=gmail.com SMTP_DOMAIN=
SMTP_USERNAME= SMTP_USERNAME=
SMTP_PASSWORD= SMTP_PASSWORD=
SMTP_AUTH=login SMTP_AUTH=
SMTP_STARTTLS_AUTO=false SMTP_STARTTLS_AUTO=
SMTP_STARTTLS=false SMTP_STARTTLS=
SMTP_TLS=true SMTP_TLS=
SMTP_SSL_VERIFY=true SMTP_SSL_VERIFY=
### OPTIONAL ENV VARS ### OPTIONAL ENV VARS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment