Actionmailer und freemail

Hi.
Ich kann mit dem ActionMailer einfach keine Emails versenden.
Ich habe folgendes Modell erstellt

class ProjectStatusMailer < ActionMailer::Base

def status( sent_at = Time.now)
@subject = “test”
@recipients = [email protected]
@from = ‘[email protected]
@sent_on = sent_at
end
end

Mein Eintrag in die Environment rb.

:address => ‘smtp.web.de’,
:port => 25,
:domain => ‘[email protected]’,
:authentication => :login,
:user_name => ‘[email protected]’,
:password => ‘**’

Dann habe ich mir ein rubyscript test/tmail.rb geschrieben, dass wie
folgt aussieht.

require File.dirname(FILE) + “/…/config/environment”

mail=ProjectStatusMailer.deliver_status()

Als Fehler bekomme ich immer:
/usr/local/lib/ruby/1.8/net/smtp.rb:680:in check_response': 501 syntactically invalid HELO argument(s) (Net::SMTPSyntaxError) from /usr/local/lib/ruby/1.8/net/smtp.rb:653:in getok’
from /usr/local/lib/ruby/1.8/net/smtp.rb:623:in helo' from /usr/local/lib/ruby/1.8/net/smtp.rb:401:in do_start’
from /usr/local/lib/ruby/1.8/net/smtp.rb:378:in start' from /usr/local/lib/ruby/1.8/net/smtp.rb:316:in start’
from
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.3.3/lib/action_mailer/base.rb:565:in
perform_delivery_smtp' from /usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.3.3/lib/action_mailer/base.rb:451:in send’
from
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.3.3/lib/action_mailer/base.rb:451:in
deliver!' from /usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.3.3/lib/action_mailer/base.rb:333:in method_missing’
from test/tmail.rb:5

Kann mir bitte jemad helfen. Ich weiß da echt nicht mehr weiter.

Hallo,

Mein Eintrag in die Environment rb.

:address => ‘smtp.web.de’,
:port => 25,
:domain => ‘[email protected]’,
:authentication => :login,
:user_name => ‘[email protected]’,
:password => ‘**’

:domain ist die Absenderdomain und nicht die komplette Mailadresse.
Also eher “web.de

gruß
Sven

On Thu, 29 Nov 2007 15:18:11 +0100, “Bla St” [email protected]
said:

@sent_on    = sent_at

end
end

Mein Eintrag in die Environment rb.

:address => ‘smtp.web.de’,
:port => 25,
:domain => ‘[email protected]’,

         ^^^^^^^^^^^^^^^^^^^^

das ist keine Domain, sondern eine Emailadresse.
Sollte es überhaupt gehen (mit web.de) dann muss dort ‘web.de’ stehen

Gruß
Torsten