Welcome Guest | Login

Sending email with ActionMailer

Is there any way to speed up delivery of emails sent auto-magically with ActionMailer?

Until recently, I would get emails generated from my app almost immediately at my personal email client, now it can take at least 12 hours.  

I am using Rails 2.0

Any suggestions?
Thanks,
Jee

2008-02-29 12:14 PM

Life is too short for this ...
There is no particular email related issue on the server. I have also verified the email queue size and everything seems to be fine. If the problem still persists, you can contact the support team via ticket with relevant data.

2008-02-29 03:57 PM

Regards,
Rahul
Thank you for checking that.

Are there any configuration settings within the RoR app  that might affect this?

Never hurts to ask!
Jee

2008-02-29 04:21 PM

Just this in the environment.rb

ActionMailer::Base.delivery_method = :sendmail  
ActionMailer::Base.perform_deliveries = true  
ActionMailer::Base.raise_delivery_errors = true  
ActionMailer::Base.default_charset = "utf-8"


that's the fastest way.

Cheers,
~William

2008-03-01 12:56 AM

Thanks William!
Jee

2008-03-01 07:54 AM

Life is too short for this ...

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