# ActionMailer - Problem

**URL:** <https://www.ruby-forum.com/t/actionmailer-problem/173935>\
**Category:** Rails\
**Created:** [August 18, 2009, 2:12pm UTC](https://www.ruby-forum.com/t/actionmailer-problem/173935 "2009-08-18T14:12:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjayakumar2k6](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/dc4da7/32.png) [@mjayakumar2k6](https://www.ruby-forum.com/u/mjayakumar2k6)\
**Post date:** [August 18, 2009, 2:12pm UTC](https://www.ruby-forum.com/t/actionmailer-problem/173935/1 "2009-08-18T14:12:58Z")

</div>

Hi,

```
  I am some problem in action mailer. if I run the same project in

```

other system it is working fine. But now working in my system.

```
  Could please help me to solve this problem?

```

Thanks  
Jk

---

<div class="post-metadata">

**Author:** ![mjayakumar2k6](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/dc4da7/32.png) [@mjayakumar2k6](https://www.ruby-forum.com/u/mjayakumar2k6)\
**Post date:** [August 18, 2009, 5:40pm UTC](https://www.ruby-forum.com/t/actionmailer-problem/173935/2 "2009-08-18T17:40:53Z")

</div>

rails and rails only wrote:

> Hi,
> 
> ```
> I am some problem in action mailer. if I run the same project in
> 
> ```
> 
> other system it is working fine. But now working in my system.
> 
> ```
> Could please help me to solve this problem?
> 
> ```

No, because you didn’t provide any information! If you want help,  
please provide more details, including error messages.

> Thanks  
> Jk

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![mjayakumar2k6](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/dc4da7/32.png) [@mjayakumar2k6](https://www.ruby-forum.com/u/mjayakumar2k6)\
**Post date:** [August 19, 2009, 7:05am UTC](https://www.ruby-forum.com/t/actionmailer-problem/173935/3 "2009-08-19T07:05:04Z")

</div>

I didn’t get any errors.  
see the log  
the same application if run in other system action mailer is working.  
Both development logs are same as given below

Processing TestMailersController#index (for 10.100.13.94 at 2009-08-19  
10:25:02) [GET]  
Session ID: 00058f50d2e7bdf4352d1474cd7cd6e3  
Parameters: {“action”=\>“index”, “controller”=\>“test\_mailers”}  
Sent mail:  
Date: Wed, 19 Aug 2009 10:25:02 +0530  
From: removed\_email\_address@domain.invalid  
To: removed\_email\_address@domain.invalid, removed\_email\_address@domain.invalid  
Subject: OrderMailer#from lebin  
Mime-Version: 1.0  
Content-Type: text/plain; charset=utf-8

OrderMailer#sent

Find me in app/views/order\_mailer/sent.rhtml

Rendering test\_mailers/index  
Completed in 0.01842 (54 reqs/sec) | Rendering: 0.00087 (4%) | 200 OK  
[[http://10.100.13.94/test\_mailers](http://10.100.13.94/test_mailers)]

Marnen Laibow-Koser wrote:

> rails and rails only wrote:
> 
> > Hi,
> > 
> > ```
> > I am some problem in action mailer. if I run the same project in
> > 
> > ```
> > 
> > other system it is working fine. But now working in my system.
> > 
> > ```
> > Could please help me to solve this problem?
> > 
> > ```
> 
> No, because you didn’t provide any information! If you want help,  
> please provide more details, including error messages.
> 
> > Thanks  
> > Jk
> 
> ## Best,
> 
> Marnen Laibow-Koser  
> [http://www.marnen.org](http://www.marnen.org)  
> removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![mjayakumar2k6](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/dc4da7/32.png) [@mjayakumar2k6](https://www.ruby-forum.com/u/mjayakumar2k6)\
**Post date:** [August 19, 2009, 7:12am UTC](https://www.ruby-forum.com/t/actionmailer-problem/173935/4 "2009-08-19T07:12:28Z")

</div>

When you say system, is it a windows desktop or hosted linux server?.  
Insufficient info, will hardly get you any resolution.

when you say mailer not working…is it not sending emails in production  
mode or development mode?

[http://www.classifiedscript.in](http://www.classifiedscript.in)

---

<div class="post-metadata">

**Author:** ![mjayakumar2k6](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/dc4da7/32.png) [@mjayakumar2k6](https://www.ruby-forum.com/u/mjayakumar2k6)\
**Post date:** [August 19, 2009, 7:16am UTC](https://www.ruby-forum.com/t/actionmailer-problem/173935/5 "2009-08-19T07:16:24Z")

</div>

Rails L. wrote:

> When you say system, is it a windows desktop or hosted linux server?.  
> Insufficient info, will hardly get you any resolution.
> 
> when you say mailer not working…is it not sending emails in production  
> mode or development mode?
> 
> [http://www.classifiedscript.in](http://www.classifiedscript.in)

Both systems are ubuntu 7.10 and development mode.

---

<div class="post-metadata">

**Author:** ![mjayakumar2k6](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/dc4da7/32.png) [@mjayakumar2k6](https://www.ruby-forum.com/u/mjayakumar2k6)\
**Post date:** [August 19, 2009, 7:53am UTC](https://www.ruby-forum.com/t/actionmailer-problem/173935/6 "2009-08-19T07:53:45Z")

</div>

rails and rails only wrote:

> Rails L. wrote:
> 
> > When you say system, is it a windows desktop or hosted linux server?.  
> > Insufficient info, will hardly get you any resolution.
> > 
> > when you say mailer not working…is it not sending emails in production  
> > mode or development mode?
> > 
> > [http://www.classifiedscript.in](http://www.classifiedscript.in)
> 
> Both systems are ubuntu 7.10 and development mode.

How did you identify that one is working and one is not working?.

---

<div class="post-metadata">

**Author:** ![mjayakumar2k6](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/dc4da7/32.png) [@mjayakumar2k6](https://www.ruby-forum.com/u/mjayakumar2k6)\
**Post date:** [August 19, 2009, 8:06am UTC](https://www.ruby-forum.com/t/actionmailer-problem/173935/7 "2009-08-19T08:06:21Z")

</div>

Rails L. wrote:

> rails and rails only wrote:
> 
> > Rails L. wrote:
> > 
> > > When you say system, is it a windows desktop or hosted linux server?.  
> > > Insufficient info, will hardly get you any resolution.
> > > 
> > > when you say mailer not working…is it not sending emails in production  
> > > mode or development mode?
> > > 
> > > [http://www.classifiedscript.in](http://www.classifiedscript.in)
> > 
> > Both systems are ubuntu 7.10 and development mode.
> 
> How did you identify that one is working and one is not working?.

I have different @subjects in model. If suppose I’m checking in other  
system I will change the subject in model.

---

<div class="post-metadata">

**Author:** ![mjayakumar2k6](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/dc4da7/32.png) [@mjayakumar2k6](https://www.ruby-forum.com/u/mjayakumar2k6)\
**Post date:** [August 19, 2009, 8:16am UTC](https://www.ruby-forum.com/t/actionmailer-problem/173935/8 "2009-08-19T08:16:16Z")

</div>

rails and rails only wrote:

> Rails L. wrote:
> 
> > rails and rails only wrote:
> > 
> > > Rails L. wrote:
> > > 
> > > > When you say system, is it a windows desktop or hosted linux server?.  
> > > > Insufficient info, will hardly get you any resolution.
> > > > 
> > > > when you say mailer not working…is it not sending emails in production  
> > > > mode or development mode?
> > > > 
> > > > [http://www.classifiedscript.in](http://www.classifiedscript.in)
> > > 
> > > Both systems are ubuntu 7.10 and development mode.
> > 
> > How did you identify that one is working and one is not working?.
> 
> I have different @subjects in model. If suppose I’m checking in other  
> system I will change the subject in model.

Most likely, one of your system environment.rb is not set to

ActionMailer::Base.perform\_deliveries = true

---

<div class="post-metadata">

**Author:** ![mjayakumar2k6](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/dc4da7/32.png) [@mjayakumar2k6](https://www.ruby-forum.com/u/mjayakumar2k6)\
**Post date:** [August 19, 2009, 8:30am UTC](https://www.ruby-forum.com/t/actionmailer-problem/173935/9 "2009-08-19T08:30:46Z")

</div>

Rails L. wrote:

> rails and rails only wrote:
> 
> > Rails L. wrote:
> > 
> > > rails and rails only wrote:
> > > 
> > > > Rails L. wrote:
> > > > 
> > > > > When you say system, is it a windows desktop or hosted linux server?.  
> > > > > Insufficient info, will hardly get you any resolution.
> > > > > 
> > > > > when you say mailer not working…is it not sending emails in production  
> > > > > mode or development mode?
> > > > > 
> > > > > [http://www.classifiedscript.in](http://www.classifiedscript.in)
> > > > 
> > > > Both systems are ubuntu 7.10 and development mode.
> > > 
> > > How did you identify that one is working and one is not working?.
> > 
> > I have different @subjects in model. If suppose I’m checking in other  
> > system I will change the subject in model.
> 
> Most likely, one of your system environment.rb is not set to
> 
> ActionMailer::Base.perform\_deliveries = true

i found a error.  
both systems gateway is different.  
i have changed the gateway and it is working fine

thanks
