# Actionamailer: configure to send mail from many email addess

**URL:** <https://www.ruby-forum.com/t/actionamailer-configure-to-send-mail-from-many-email-addess/141982>\
**Category:** Rails\
**Created:** [July 2, 2008, 12:17pm UTC](https://www.ruby-forum.com/t/actionamailer-configure-to-send-mail-from-many-email-addess/141982 "2008-07-02T12:17:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankit2584](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/51bf81/32.png) [@ankit2584](https://www.ruby-forum.com/u/ankit2584)\
**Post date:** [July 2, 2008, 12:17pm UTC](https://www.ruby-forum.com/t/actionamailer-configure-to-send-mail-from-many-email-addess/141982/1 "2008-07-02T12:17:40Z")

</div>

Hi,  
I sometimes wan to send mail from yahoo email address and sometimes from  
my gmail address.

In the smtp\_settings i have for actionmailer i can specify only one ie  
either yahoo or gmail. How can i configure it to send mail from user  
chosen mail address.  
Thank you.
