Class: ChatgptAssistant::AccountMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- ChatgptAssistant::AccountMailer
- Defined in:
- lib/chatgpt_assistant/bots/mailers/account_mailer.rb
Overview
This class is responsible for the register mailer
Instance Method Summary collapse
Instance Method Details
#register_email(user, token) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/chatgpt_assistant/bots/mailers/account_mailer.rb', line 8 def register_email(user, token) @user = user @token = token mail(to: user.email, subject: "Welcome to ChatGPT Assistant", content_type: "text/html", body: register_html) end |