iansmith
December 31st, 2005, 11:03 PM
I'm running a rails program on my home linux box and trying to use an OCS-managed domain to send email. Does anyone have a working ActionMailer configuration that works for this case (SMTP to OCS) for sending? I get no errors and my rails application puts the content sent into its log file as it was sucessful. I suspect that OCS thinks that my program is a spammer (and I'm not complaining about this). Here's the configuration I was trying to use:
ActionMailer::Base.server_settings = {
:address => "mail.mydomain.net",
:port => 25,
:domain => "mydomain.net",
:authentication => :plain, #tried login as well
:user_name => "iansmith",
:password => "itsasecret"
}
According the display given by cpanel (configuring a mail client) it looks to me that this should work...
Thanks.
ian smith
ActionMailer::Base.server_settings = {
:address => "mail.mydomain.net",
:port => 25,
:domain => "mydomain.net",
:authentication => :plain, #tried login as well
:user_name => "iansmith",
:password => "itsasecret"
}
According the display given by cpanel (configuring a mail client) it looks to me that this should work...
Thanks.
ian smith