# Email outside of Rails

**URL:** <https://www.ruby-forum.com/t/email-outside-of-rails/109795>\
**Category:** Rails\
**Created:** [July 19, 2007, 3:47am UTC](https://www.ruby-forum.com/t/email-outside-of-rails/109795 "2007-07-19T03:47:12Z")\
**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:** [July 19, 2007, 3:47am UTC](https://www.ruby-forum.com/t/email-outside-of-rails/109795/1 "2007-07-19T03:47:12Z")

</div>

I’m working on an application that requires a process to send/receive  
SMS messages (via email for now) outside of Rails. Right now I have  
it working using the ActionMailer and ActiveRecord objects in my Rails  
application.

Is it better (quicker, more scalable) to read/write to the database  
and send/receive outside of the ActiveRecord and ActionMailer models I  
have setup in rails?

---

<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:** [July 19, 2007, 12:02pm UTC](https://www.ruby-forum.com/t/email-outside-of-rails/109795/2 "2007-07-19T12:02:11Z")

</div>

Mark wrote:

> I’m working on an application that requires a process to send/receive  
> SMS messages (via email for now) outside of Rails. Right now I have  
> it working using the ActionMailer and ActiveRecord objects in my Rails  
> application.
> 
> Is it better (quicker, more scalable) to read/write to the database  
> and send/receive outside of the ActiveRecord and ActionMailer models I  
> have setup in rails?

Yes, you can make more scalable solutions outside of Rails. But…

Is the current solution not working?  
Are you having performance issues?

If not, why bother?

–  
Cheers,

- Jacob A.
