Ruby On Rails ActionMailer - emails not being delevered

Hello

I’ve been dipping my toe in the RubyOnRails waters but have come unstuck
trying
to send an email using ActionMailer through my ISPs SMTP servers
(Plusnet). I can
see the email being rendered in the log file using the Actionmailer
configuration
setting below, however the email isn’t received to any email accounts.

Setting the authentication to either “login” or “plain” with my standard
Plusnet
username & password caused a error message of “535 Incorrect
authentication
data”. Sending email from an email client (outlook) only requires the
address
relay.plus.net, password and username is only needed to collect email
from POP
accounts.

Using other SMPT gateway (which I don’t have permission or
usernames\passwords
for) throws up different errors, so ActionMailer is trying to send mail
and
talking to the SMTP servers.

If you have managed to get ActionMailer / ROR to send an email using a
standard
ISP SMTP how did you manage it? Where am I going wrong? Does RubyOnRails
have any
other tests I can carry out to make sure the email is leaving my PC.

I’d be really grateful for any help

Thanks a lot.

Ben

rails at redbed dot plus dot com


[i]config\environments\development.rb[/i]

ActionMailer::Base.server_settings = {
  :address => "relay.plus.net",
  :port => 25,
  :domain => "plus.net",
}
config.action_mailer.perform_deliveries = true

[i]log\development.log[/i]

Processing UserController#forgot_password (for 127.0.0.1 at 2007-02-15 
20:21:11)
[POST]
  Session ID: 42405491e4218811967bfc0dceb0d8fb
  Parameters: {"user"=>{"email"=>"[email protected]"}, "commit"=>"Email
password", "action"=>"forgot_password", "controller"=>"user"}
   [4;36;1mUser Load (0.010000) [0m    [0;1mSELECT * FROM users WHERE
(users.`email` = '[email protected]' ) LIMIT 1 [0m
   [4;35;1mSQL (0.000000) [0m    [0mBEGIN [0m
   [4;36;1mUser Load (0.030000) [0m    [0;1mSELECT * FROM users WHERE
(users.login = 'name' AND users.id <> 3) LIMIT 1 [0m
   [4;35;1mUser Load (0.000000) [0m    [0mSELECT * FROM users WHERE 
(users.email
= '[email protected]' AND users.id <> 3) LIMIT 1 [0m
   [4;36;1mUser Update (0.000000) [0m    [0;1mUPDATE users SET 
`created_at` =
'2007-02-06 19:27:12', `login` = 'name', `hashed_password` =
'fae3b9f639b003a0ba2dfa8f8cb3e70431baa372', `salt` = 'XMLxtMqP2Z', 
`email` =
'[email protected]' WHERE id = 3 [0m
   [4;35;1mSQL (0.100000) [0m    [0mCOMMIT [0m
Sent mail:
 Date: Thu, 15 Feb 2007 20:21:11 +0000

From: [email protected]

To: [email protected]

Subject: Your password is ...

Content-Type: text/plain; charset=utf-8

Your username is name. Your new password is NetVsZqbH7. Please login and 
change
it to something more memorable.
Redirected to http://127.0.0.1:3000/user/login
Completed in 0.87100 (1 reqs/sec) | DB: 0.14000 (16%) | 302 Found
[http://127.0.0.1/user/forgot_password]
   [4;36;1mUser Columns (0.000000) [0m    [0;1mSHOW FIELDS FROM users 
[0m
[/i][i][/i]