Welcome Guest | Login

Email from app to domain address

I'm trying to add a feedback email function to my app. I reviewed forum posts about configuring ActionMailer and I added the config stuff to my environment.rb. When I generate and send an email from my application I can get the email to send to my personal email address (username@cinci.rr.com) but the email does not get delivered to my domain address (support@slpasoft.com). I've tried all of the different email addresses I have set up for my domain email account and tried it with single and multiple addresses sent to the recipients ActionMailer method. Any ideas. Thanks.

2008-07-27 01:16 PM

Doug Martin
OK, disregard. The emails came through to the domain addresses but with about a 5 - 10 minute delay. Any suggestions as to why the delay? Thanks.

2008-07-27 01:42 PM

Doug Martin
I've seen emails getting slow when the action mailer set up is done as "sendmail" in ~app/config/environments/production.rb .
If this is configured this way, you may try commenting this out and putting the lines below in to ~app/config/environments.rb.



ActionMailer::Base.delivery_method = :smtp  
ActionMailer::Base.server_settings = {  
 :address => "domain-of-smtp-host.com",
 :domain => "domain-of-sender.com",
 :port => 25,  
 :authentication => :login,  
 :user_name => "your_user_name",  
 :password => "*****" }  
ActionMailer::Base.perform_deliveries = true  
ActionMailer::Base.raise_delivery_errors = true  
ActionMailer::Base.default_charset = "utf-8"

Please replace the respective fields with our domain name, a valid email account name, it's logins etc.

2008-07-27 02:05 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.