Project

General

Profile

Actions

Defect #2567

closed

Unable to send mail notifications

Added by Rakesh Pathak almost 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
2009-01-23
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Hi Team,

I can't seem to send any notifications. When I attempt to run the send email test I receive the following error:

An error occurred while sending mail (undefined method `finder' for #)

My email.yml:

development:
delivery_method: :sendmail
smtp_settings:
address: 127.0.0.1
port: 25
domain: blah.dev

I've tried multiple methods even with the default email configuration file and the same error occurs. In my development.log I do not see anything out of the ordinary?

Any ideas?

Thanks in advance.

Actions #1

Updated by Jean-Philippe Lang almost 16 years ago

If you're using sendmail method instead of smtp, your email.yml should look like this:

development:
  delivery_method: :sendmail
  sendmail_settings:
    location: ... (The location of the sendmail executable. Defaults to /usr/sbin/sendmail)
    arguments: ... (The command line arguments. Defaults to -i -t)

If you're still getting an error, please post the error stack trace.

Actions #2

Updated by Rakesh Pathak almost 16 years ago

  • Status changed from New to Resolved

I apologize in advance. I am a moron.

I was using rails v 2.2.2 when the web site specifically mentioned not to. Sorry!

Thanks so much for the response.

Much appreciated.

Actions #3

Updated by Jean-Philippe Lang almost 16 years ago

  • Status changed from Resolved to Closed
  • Affected version (unused) deleted (0.8.0)
Actions

Also available in: Atom PDF