Forum: Ruby on Rails adzap-AR_Mailer sending email error

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
536253930b065b5a5e8ff9b204c85001?d=identicon&s=25 Sean McGilvray (Guest)
on 2009-03-09 20:04
(Received via mailing list)
I am getting the following error when I try to send an email using the

Unhandled exception wrong number of arguments (7 for 6)

I found an article that stated the following

"My problem is the number of arguments passed for mail account
configuration in environment.rb does not match the number of arguments
that ar_sendmail required (6 for 7 as you see in the error message).

The solution is: make them match either by providing the all required
arguments or delete those unavailable arguments (for you) in the
ar_sendmail function."

I am new to RoR and need a little help with what I should do to fix
this problem.

Thank you,

Sean McGIlvray
90ea347c45cdfbc1c5767dd6304d9c10?d=identicon&s=25 Borja Martín (Guest)
on 2009-03-10 03:32
(Received via mailing list)
I guess you have installed Ruby 1.8.7
if so, install 1.8.6 and try it again


On Mon, Mar 9, 2009 at 8:03 PM, Sean McGilvray <>

> configuration in environment.rb does not match the number of arguments
> Sean McGIlvray
> >

* dagi3d v4 |
536253930b065b5a5e8ff9b204c85001?d=identicon&s=25 Sean McGilvray (Guest)
on 2009-03-10 16:40
(Received via mailing list)
Borja Martín:  If I am on a shared hosting how do I use 1.8.6 instead of

This topic is locked and can not be replied to.