Send Test Email fails #2
Haven't got an answer in 25 days, so let's try this again…
On clicking "Send a test email" in the Administration Email notifications tab, I get an error:
An error occurred while sending mail (undefined method `error' for true:TrueClass)
Found this in the log:
NoMethodError (undefined method `error' for true:TrueClass): app/models/mailer.rb:497:in `initialize' config/initializers/10-patches.rb:163:in `deliver' app/models/mailer.rb:64:in `block in deliver_issue_add' app/models/issue.rb:1060:in `each_notification' app/models/mailer.rb:63:in `deliver_issue_add' app/models/issue.rb:1847:in `send_notification' app/models/issue.rb:212:in `create_or_update' app/controllers/issues_controller.rb:129:in `create' lib/redmine/sudo_mode.rb:63:in `sudo_mode'
My configuration.yml setup is:
default: email_delivery: delivery_method: :sendmail
Sendmail is installed and tested.
RE: Send Test Email fails #2 - Added by Deoren Moor over 2 years ago
This works well in our environment:
# default configuration options for all environments default: # Outgoing emails configuration # http://www.redmine.org/projects/redmine/wiki/EmailConfiguration # See the examples below and the Rails guide for more configuration options: # http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration email_delivery: delivery_method: :async_smtp async_smtp_settings: address: 127.0.0.1 port: 25
Each of our Redmine instances runs a local Postfix installation that is configured to send to a central relay for processing and final delivery.
RE: Send Test Email fails #2 - Added by RedChris B. over 2 years ago
My configuration.yml contains:
default: email_delivery: delivery_method: :smpt smtp_settings: address: myIP_address port: 25 authentication: :none openssl_verify_mode: 'none'
If it doesn't help, pls log in to OS system and run "telnet yourIP_address 25" , then run "EHLO yourIP" - it should show greetings. Good luck.
RE: Send Test Email fails #2 - Added by Tatsuya Saito over 2 years ago
RedChris B. wrote:
Please check typo and see again config/configuration.yml.example .
RE: Send Test Email fails #2 - Added by Rob Hill over 2 years ago
Tried both these variations (typo corrected), and still no joy.