Skip to content

Instantly share code, notes, and snippets.

@Uysim
Created December 15, 2018 09:32
Show Gist options
  • Save Uysim/e1a575be4006704239ab0bd6c5b6f84a to your computer and use it in GitHub Desktop.
Save Uysim/e1a575be4006704239ab0bd6c5b6f84a to your computer and use it in GitHub Desktop.
ActionMailer::Base.smtp_settings = {
address: 'premium47.web-hosting.com',
port: 465,
authentication: 'plain',
enable_starttls_auto: true,
user_name: '[email protected]',
password: '2chb3ne4n!'
}
ActionMailer::Base.mail(
from: "[email protected]",
to: "[email protected]",
subject: "Test",
body: "Test"
).deliver_now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment