According to the following how-to: http://wiki.rubyonrails.com/rails/show/HowToSendEmailsWithActionMailer The following setting for actionmailer will work right out of the box with no changes on my textdrive account: ActionMailer::Base.server_settings = { :address => "smtp.postoffice.net", :port => 25, :domain => ''smtp.postoffice.net'', :user_name => "me-S7oGPHmddGo0aPf6s/0I7w@public.gmane.org", :password => "mypass", :authentication => :login } Unfortunately I get the following error in my log file: Net::SMTPAuthenticationError (535 ... Invalid username or password ): Was I suppose to set something somewhere like a username and password? I am confused! :-) Please help.
I am trying to figure out what they are trying to say. I don''t put anything in my config/production.rb or I put just an exact copy of what is written in the howto document? Not putting anything in my production.rb is giving me a timeout but putting what is in the howto with no changes is giving me a username/password error. Neither works. So maybe there is a third way of doing it that I am not seeing? On 16-Mar-05, at 10:15 PM, Karl Nelson wrote:> John, > > This should clear it up: > http://forum.textdrive.com/viewtopic.php?id=2333 > > Karl
On 17.3.2005, at 05:34, John Baku wrote:> I am trying to figure out what they are trying to say. > > I don''t put anything in my config/production.rb or I put just an exact > copy of what is written in the howto document? Not putting anything > in my production.rb is giving me a timeout but putting what is in the > howto with no changes is giving me a username/password error.You shouldn''t have to change any settings. ActionMailer should then use the default local mail server which should be just fine on TextDrive. Just leave a ticket on TextDrive support if it ain''t working for you. //jarkko -- Jarkko Laine http://jlaine.net http://odesign.fi _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
So now that I know that FastCGI has been finiky on TXD accounts and to just stick with CGI in the meantime and then move to lighthttpd when I get a chance it looks like I just have one major problem left... ActionMailer. I haven''t added any configuration information what so ever to any configuration file (what people are telling me to do) but I get an error with a timeout message in my production.log. Anyone know how I can fix this? I emailed TextDrive support but I have a feeling it will be a while :-(.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 17, 2005, at 8:47 AM, John Baku wrote:> So now that I know that FastCGI has been finiky on TXD accounts and to > just > stick with CGI in the meantime and then move to lighthttpd when I get > a chance > it looks like I just have one major problem left... ActionMailer. > > I haven''t added any configuration information what so ever to any > configuration > file (what people are telling me to do) but I get an error with a > timeout > message in my production.log. Anyone know how I can fix this? > > I emailed TextDrive support but I have a feeling it will be a while > :-(. >I think Jarkko got it right. Unless you need to smtp auth to an external server, just use the defaults which is localhost sending via the "sendmail" binary. You basically comment out what you have there for authentication, or you use a valid username/password/hostname and that works too. - - Jason -----BEGIN PGP SIGNATURE----- Version: PGP 8.1 iQA/AwUBQjm11lUyB+ajXkCLEQJtjwCgpoDj5K7vK6E46793UW2lxwVfxNMAoIud 83XweF1PLxljJA8wCUyAupuH =W5Ln -----END PGP SIGNATURE-----