Not able to send mails using ruby on rails

In environment.rb below configuration details have used

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => “mydomain.com”,
:port => xx,
:domain => ‘mydomain.com’,
:authentication => true,
:user_name => “username”,
:password => “password”
}

When trying to send mail ‘Mail successfully sent’ message comes but not
able to receive mails.

When using the same configuration details (as below) in PHP mail sending
id working fine and able to receive mails.

                    $mail->Host = "mydomain.com";
        $mail->Username = "username";
        $mail->Password = "password";
        $mail->SMTP_PORT=xx;

Can any one suggest.

Devi,

Do you have access to the mail logs??If so you can check them and see
what exactly happening with your mails.

Thanks,
Kilari.
http://kilari.co.in

Devi Rv wrote:

In environment.rb below configuration details have used

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => “mydomain.com”,
:port => xx,
:domain => ‘mydomain.com’,
:authentication => true,
:user_name => “username”,
:password => “password”
}

When trying to send mail ‘Mail successfully sent’ message comes but not
able to receive mails.

When using the same configuration details (as below) in PHP mail sending
id working fine and able to receive mails.

                    $mail->Host = "mydomain.com";
        $mail->Username = "username";
        $mail->Password = "password";
        $mail->SMTP_PORT=xx;

Can any one suggest.

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