Welcome Guest | Login

Creating email account using Rails

Hi Guys,

I'd like to be able to create an email account automatically from ruby code. Not from my cPanel interface.

Any ideas?

Thanks in advance.

Age

2008-03-27 12:40 AM

Well.. Do you want to get the same functionality as that of Cpanel created e-mail IDs..?

I haven't come across any such reliable codes so far.

Well if the functionality is just to send across multiple e-mails via scripts. Then we can make use of 'action_mailer', 'ar_mailer' etc..

Can you confirm your exact requirement..?

2008-03-27 01:02 AM

Regards,
Rahul
I'd like to create an email id from ruby code.

Eg.

1. User creates an account on my application.
2. Application creates email id, on server, for that user automatically.

Does that make sense?

(Using cPanel, you create an email id manually. I'd like to do this automatically.)

Thanks!

Adrian

2008-03-27 07:41 PM

unfortunately on cPanel servers this is not possible.  What you could do is route (filter) all email to a single address that is piped into your Rails app and then parse accordingly.  

2008-03-28 09:53 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!