# Mail\_Queue Plugin working in Development, but not Production

**URL:** <https://www.ruby-forum.com/t/mail-queue-plugin-working-in-development-but-not-production/123668>\
**Category:** Rails\
**Created:** [December 19, 2007, 4:56pm UTC](https://www.ruby-forum.com/t/mail-queue-plugin-working-in-development-but-not-production/123668 "2007-12-19T16:56:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/87869e/32.png) [@joep](https://www.ruby-forum.com/u/joep)\
**Post date:** [December 19, 2007, 4:56pm UTC](https://www.ruby-forum.com/t/mail-queue-plugin-working-in-development-but-not-production/123668/1 "2007-12-19T16:56:02Z")

</div>

I’ve got the Mail-Queue plugin working for development, and it was  
recently (2 weeks ago) working in Production mode, too. But now it’s  
not.

This is what happens if I run “ruby script/runner MailQueue.process -e  
production” on the production server:

/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/runner.rb:47:  
/usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response': 501 <>: missing or malformed local part (Net::SMTPSyntaxError) from /usr/lib/ruby/1.8/net/smtp.rb:653:in`getok’  
from /usr/lib/ruby/1.8/net/smtp.rb:635:in `rcptto' from /usr/lib/ruby/1.8/net/smtp.rb:546:in`send0’  
from /usr/lib/ruby/1.8/net/smtp.rb:545:in `send0' from /usr/lib/ruby/1.8/net/smtp.rb:472:in`sendmail’  
from  
/usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.3/lib/action\_mailer/base.rb:567:in  
`perform_delivery_smtp' from /usr/lib/ruby/1.8/net/smtp.rb:379:in`start’

Has anyone advice on this matter?

Concerned,  
Joe

---

<div class="post-metadata">

**Author:** ![joep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/87869e/32.png) [@joep](https://www.ruby-forum.com/u/joep)\
**Post date:** [December 19, 2007, 5:36pm UTC](https://www.ruby-forum.com/t/mail-queue-plugin-working-in-development-but-not-production/123668/2 "2007-12-19T17:36:43Z")

</div>

I’ve got the same ActionMailer::Base.smtp\_settings in both production  
and development environments, yet mail-queue only works in development.  
Anybody know why?

---

<div class="post-metadata">

**Author:** ![joep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/87869e/32.png) [@joep](https://www.ruby-forum.com/u/joep)\
**Post date:** [December 20, 2007, 2:44pm UTC](https://www.ruby-forum.com/t/mail-queue-plugin-working-in-development-but-not-production/123668/3 "2007-12-20T14:44:59Z")

</div>

Mail-queue is catching all the emails and storing them, but seems unable  
to send them.
