ActionMailer with NTLM auth (Exchange 2010)
So I found the solution myself. I kept getting this error because the Exchange server I use requires no authentication, so you should not pass any authentication option at all:
config.action_mailer.smtp_settings = {
address: 'smtp.yourdomain.com',
port: 587,
domain: 'yourdomain.com'
}
Yes thats right: user_name
, passwod
and authentication
are left out.
ActionMailer not sending mail in development Rails 4
You should add
config.action_mailer.perform_deliveries = true
as by default this is on false, preventing mails to be sent from your development environment...
Related Topics
Gem Install JSON Fails with Redifinition of Struct Timezone/Timespec
Why Should You Avoid the Then Keyword in Ruby
Empty Strings at the Beginning and End of Split
How Does Sinatra Define and Invoke the Get Method
Permanently Switching User in Capistrano 3 (Separate Authorization & Deploy)
Ruby Getting Deeply Nested JSON API Data
Wicked_Pdf Is Not Rendering Header
How to HTML_Escape Text Data in a Sinatra App
Ruby Range: Operators in Case Statement
Can Anyone Explain This Array Declaration to Me
Rails 3 - How to Handle Pg Error Incomplete Multibyte Character
How to Distribute a Ruby Script via Homebrew
Ruby File Reading Parallelisim
Inserting an Array into Every Nth Element of Another
Twitter::Error::Unauthorized in Postscontroller#Create - Invalid or Expired Token
Ruby String Split into Words Ignoring All Special Characters: Simpler Query