Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class UserMailer < ActionMailer::Base
- self.smtp_settings = {
- address: 'smtp.gmail.com',
- port: 587,
- domain: 'example.com',
- user_name: 'user_name_1',
- password: 'password_1',
- authentication: 'plain',
- enable_starttls_auto: true
- }
- end
- class PostMailer < ActionMailer::Base
- self.smtp_settings = {
- address: 'smtp.gmail.com',
- port: 587,
- domain: 'example.com',
- user_name: 'user_name_2',
- password: 'password_2',
- authentication: 'plain',
- enable_starttls_auto: true
- }
- end
- class NotificationMailer < ActionMailer::Base
- self.smtp_settings = {
- address: 'smtp.gmail.com',
- port: 587,
- domain: 'example.com',
- user_name: 'user_name_3',
- password: 'password_3',
- authentication: 'plain',
- enable_starttls_auto: true
- }
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement