Skip to content

Instantly share code, notes, and snippets.

@Uysim
Created December 15, 2018 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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: 'admin@peer2art.com',
password: '2chb3ne4n!'
}
ActionMailer::Base.mail(
from: "admin@peer2art.com",
to: "uysimty@gmail.com",
subject: "Test",
body: "Test"
).deliver_now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment