# Multiple emai accounts w/ actionmailer & environment.rb

**URL:** <https://www.ruby-forum.com/t/multiple-emai-accounts-w-actionmailer-environment-rb/103425>\
**Category:** Rails\
**Created:** [May 5, 2007, 8:01pm UTC](https://www.ruby-forum.com/t/multiple-emai-accounts-w-actionmailer-environment-rb/103425 "2007-05-05T20:01:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jz176](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/eb9ed0/32.png) [@jz176](https://www.ruby-forum.com/u/jz176)\
**Post date:** [May 5, 2007, 8:01pm UTC](https://www.ruby-forum.com/t/multiple-emai-accounts-w-actionmailer-environment-rb/103425/1 "2007-05-05T20:01:30Z")

</div>

i have an app that i need to send emails to from different accounts on  
the same site… i.e we need removed\_email\_address@domain.invalid for mail from the contact  
us page and we also need removed\_email\_address@domain.invalid for new users.

how do i add multiple accounts to environment.rb to achieve this? or is  
there more to it than that?

googles giving me nothing

thanks
