Artificial intelligent assistant

Herokuから確認メールを送信することができない RailsSendgrid sh: 1: /usr/sbin/sendmail: not found config/environments/prduction.rb config.action_mailer.perform_deliveries = true config.action_mailer.raise_delivery_errors = false config.action_mailer.default_url_options = { :host => '###'} config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :address => 'smtp.mandrillapp.com', :port => 25, :authentication => "login", :user_name => '###', :password => '###', :domain => '###', :enable_starttls_auto => true }

SendGridHerokuSendGrid

smtp_settings mandrillapp MandrillSendGrid
SendGrid

<


ActionMailer::Base.smtp_settings = {
:address => 'smtp.sendgrid.net',
:port => '587',
:authentication => :plain,
:user_name => ENV['SENDGRID_USERNAME'],
:password => ENV['SENDGRID_PASSWORD'],
:domain => 'heroku.com',
:enable_starttls_auto => true
}


SendGrid

<


ActionMailer::Base.smtp_settings = {
:user_name => 'your_sendgrid_username',
:password => 'your_sendgrid_password',
:domain => 'yourdomain.com',
:address => 'smtp.sendgrid.net',
:port => 587,
:authentication => :plain,
:enable_starttls_auto => true
}

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 41ada22aed82b29bf6ab0ff2588f962b