# Actionmailer 2.3.4 error

**URL:** <https://www.ruby-forum.com/t/actionmailer-2-3-4-error/175020>\
**Category:** Rails\
**Created:** [September 6, 2009, 7:01am UTC](https://www.ruby-forum.com/t/actionmailer-2-3-4-error/175020 "2009-09-06T07:01:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mslagell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Post date:** [September 6, 2009, 7:01am UTC](https://www.ruby-forum.com/t/actionmailer-2-3-4-error/175020/1 "2009-09-06T07:01:00Z")

</div>

Hello -

I’m using action mailer in a SVN post-commit script to send out emails.  
Everything was working fine with actionmailer 2.2.2. Now that U  
upgraded to actionmailer 2.3.4 I’m getting errors.

This is the code I’m using and was working.  
def simple\_message(repo, to, sub, message)  
from “#{repo} SVN [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)” ## Note - [[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] results  
in a blank sender  
recipients to.join(", ")  
subject sub  
body message  
content\_type “text/html”  
end

This is the error  
/usr/lib/ruby/1.8/net/smtp.rb:930:in `check_response': 550 5.1.0 Not our Customer (Net::SMTPFatalError) from /usr/lib/ruby/1.8/net/smtp.rb:899:in `getok’  
from /usr/lib/ruby/1.8/net/smtp.rb:828:in `mailfrom' from /usr/lib/ruby/1.8/net/smtp.rb:653:in `sendmail’  
from  
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.4/lib/action\_mailer/base.rb:684:in  
`perform_delivery_smtp' from /usr/lib/ruby/1.8/net/smtp.rb:526:in `start’  
from  
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.4/lib/action\_mailer/base.rb:682:in  
`perform_delivery_smtp' from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.4/lib/action_mailer/base.rb:523:in ` **send** ’  
from  
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.4/lib/action\_mailer/base.rb:523:in  
`deliver!' from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.4/lib/action_mailer/base.rb:395:in `method\_missing’  
from post-commit.rb:181

Is there a workaround for this? Could I just require the older version  
of actionmailer? If so, what is the syntax?

Thanks

---

<div class="post-metadata">

**Author:** ![mslagell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Post date:** [September 7, 2009, 11:01pm UTC](https://www.ruby-forum.com/t/actionmailer-2-3-4-error/175020/2 "2009-09-07T23:01:29Z")

</div>

The problem seems to be an issue with actionmailer 2.3.3

[https://rails.lighthouseapp.com/projects/8994/tickets/3078-actionmailer-233-broke-display-name-support-in-from-address-when-using-smtp](https://rails.lighthouseapp.com/projects/8994/tickets/3078-actionmailer-233-broke-display-name-support-in-from-address-when-using-smtp)

I’m working around it in my envrionment but doing this until it gets  
resolved.

require ‘rubygems’  
gem ‘activerecord’, ‘=2.2.2’  
require ‘activerecord’  
[http://groups.google.com/group/comp.lang.ruby/browse\_thread/thread/83e4318f4217abf5](http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/83e4318f4217abf5)

* * *

From: Mark S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: removed\_email\_address@domain.invalid  
Sent: Sunday, September 6, 2009 12:59:37 AM  
Subject: [Rails] Actionmailer 2.3.4 error

Hello -

I’m using action mailer in a SVN post-commit script to send out emails.  
Everything was working fine with actionmailer 2.2.2. Now that U  
upgraded to actionmailer 2.3.4 I’m getting errors.

This is the code I’m using and was working.  
def simple\_message(repo, to, sub, message)  
from “#{repo} SVN [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)” ## Note - [[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] results  
in a blank sender  
recipients to.join(", ")  
subject sub  
body message  
content\_type “text/html”  
end

This is the error  
/usr/lib/ruby/1.8/net/smtp.rb:930:in `check_response': 550 5.1.0 Not our Customer (Net::SMTPFatalError) from /usr/lib/ruby/1.8/net/smtp.rb:899:in `getok’  
from /usr/lib/ruby/1.8/net/smtp.rb:828:in `mailfrom' from /usr/lib/ruby/1.8/net/smtp.rb:653:in `sendmail’  
from  
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.4/lib/action\_mailer/base.rb:684:in  
`perform_delivery_smtp' from /usr/lib/ruby/1.8/net/smtp.rb:526:in `start’  
from  
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.4/lib/action\_mailer/base.rb:682:in  
`perform_delivery_smtp' from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.4/lib/action_mailer/base.rb:523:in ` **send** ’  
from  
/usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.4/lib/action\_mailer/base.rb:523:in  
`deliver!' from /usr/lib/ruby/gems/1.8/gems/actionmailer-2.3.4/lib/action_mailer/base.rb:395:in `method\_missing’  
from post-commit.rb:181

Is there a workaround for this? Could I just require the older version  
of actionmailer? If so, what is the syntax?

Thanks
