Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. class UserMailer < ActionMailer::Base
  2. self.smtp_settings = {
  3. address: 'smtp.gmail.com',
  4. port: 587,
  5. domain: 'example.com',
  6. user_name: 'user_name_1',
  7. password: 'password_1',
  8. authentication: 'plain',
  9. enable_starttls_auto: true
  10. }
  11. end
  12.  
  13. class PostMailer < ActionMailer::Base
  14. self.smtp_settings = {
  15. address: 'smtp.gmail.com',
  16. port: 587,
  17. domain: 'example.com',
  18. user_name: 'user_name_2',
  19. password: 'password_2',
  20. authentication: 'plain',
  21. enable_starttls_auto: true
  22. }
  23. end
  24.  
  25. class NotificationMailer < ActionMailer::Base
  26. self.smtp_settings = {
  27. address: 'smtp.gmail.com',
  28. port: 587,
  29. domain: 'example.com',
  30. user_name: 'user_name_3',
  31. password: 'password_3',
  32. authentication: 'plain',
  33. enable_starttls_auto: true
  34. }
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement