On Jun 26, 11:30 am, Rod Paddock
<rodneypadd...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I believe I have my ActionMailer in environment.rb configured
> properly and have setup the proper classes. I am not receiving the e-
> mails I am sending.
> My configuration and classes are below.
>
> What I would like to know is how can I log or determine exactly what
> is happening when I send e-mail.
>
> I am not receiving any exceptions.
>
> Thank you in advance.
> Rod
>
> Controller Code
>
> email =
SystemMailer.create_sent("t...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org")
> SystemMailer.deliver(email)
>
> Environment.rb settings
>
> config.action_mailer.delivery_method = :smtp
> config.action_mailer.raise_delivery_errors = true
> ActionMailer::Base.server_settings = {
> :address => "mail.mydomain.com",
> :port => 25,
> :domain => "mydomain.com",
> :authentication => :login,
> :username => "username",
> :password => "password"
>
> }
I''m assuming that you kept the address and domain at what was
instructed to hide the information.
I''d suggest to remove authentication, username, and password
configurations.
> My SystemMailer class is as follows
>
> class SystemMailer < ActionMailer::Base
>
> def sent(recipients)
> subject ''SystemMailer#sent''
> recipients recipients
> from "t...-PZTpVu4hX4nby3iVrkZq2A@public.gmane.org"
> sent_on Time.now
> body :greeting => ''Hi,''
>
> end
> end
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.