Can you configure multiple email accounts?


I have a rails app which sends email via gmail; working great.

I'm next looking to set up multiple gmail accounts.

I want action A to generate an email from gmail account A ... and
action B to generate an email from gmail account B.

Is this possible?

Thanks in advance,


Pls check below link.I think it help you ...

Brijesh Shah

Thanks ... I'm going to go with dynamically loading the settings.


If your app is really getting this involved, I'd recommend that you
just set up a real mail server on your Rails host and do it properly.
Also note that the Gmail for Domains stuff has (at least in the free
version) a hard limit of 500 unique To: addresses per day.

Alternatively, you could also look into a service like AuthSMTP, and
just set up a postfix instance that forwards the mails to them.

--Matt Jones