@Fred
You're probably right. I’d like to point out that I changed all
environments to use the same smtp settings.

Thanks,
Marco


On Jul 4, 2:00 am, Marco Oliveira <[email protected]> wrote:
> Issue is now resolved.
>
> This was done by removing the authentication, user_name, and password
> from the smtp settings.
>
> The following site was of great help with telnet 
> debugging:http://www.yuki-onna.co.uk/email/smtp.html
>
> I'm still unsure of how the mailer is able to send without having to
> be logged into a valid email account, but it does.
>
> This was the last piece of a small now fully functional project I
> decided to tackle. As a recent computer programmer graduate I now have
> something to "showoff" to potential employers.
>
> @Simon
> Thanks for trying bud.
>
> @Alpha
> Geez…
> I can’t begin to describe how frustrating action mailer has been.
> Your telnet guidance and debugging method was indispensable to my
> solution.  Thank you!
>
> It’s great to see people taking time from their daily life to help
> fellow programmers. I’ll certainly do my best to contribute to this
> community.
>
> Sincerely,
> Marco
>
> On Jul 3, 9:30 pm, "Älphä Blüë" <[email protected]>
> wrote:
>
> > Have you checked script/console to see if it at least generates the
> > message?  Even if it cannot contact the server it should at the very
> > minimum show you that's it attempting to send the message..
>
> > The only thing that you are doing differently than what I do is I don't
> > use any of the individual environment files.
>
> > I put my mail settings directly in environment.rb at the very bottom..
>
> > # Set up email server
>
> > ActionMailer::Base.delivery_method = :smtp
> > ActionMailer::Base.smtp_settings = {
> >   :address => "mail.domain.com" ,
> >   :domain => "domain.com" ,
> >   :authentication => :login,
> >   :user_name => "[email protected]" ,
> >   :password => "secret"
>
> > }
>
> > # CONSTANTS BELOW
> > #
> > # Define our mail recipient
> > CONTACT_RECIPIENT = "[email protected]"
>
> > --
> > Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to