ActionMailer not send and not generate errors

I have insert in envirmonment.rb

ActionMailer::Base.delivery_method= :sendmail

and i have created a mailer model:

class MyMailer < ActionMailer::Base
def mail_authentication(user)
from “[email protected]
recipients user.mail
subject “| NERTO | Conferma Registrazione”
body :user => user

with his template

For sending a letter i have insert in a controller this:

but the mail don’t is sent.
In the console there are no errors.

Where is the problem?

i try also with:
ActionMailer::Base.smtp_settings = {
:address => “”,
:port => 25,
:user_name => “[email protected]”,
:domain => “”,
:password => “*****”,
:authentication => :plain

but it the same thing.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs