mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-04 05:48:25 +00:00
8 lines
263 B
Ruby
8 lines
263 B
Ruby
class UserMailer < ApplicationMailer
|
|
def invitation_email
|
|
@user = params[:user]
|
|
@sender = params[:sender]
|
|
@url = "#{ENV.fetch('TOOLJET_HOST')}/invitations/#{@user.invitation_token}"
|
|
mail(to: @user.email, subject: 'ToolJet Invitation')
|
|
end
|
|
end
|