![]() |
|
|||||||
| Chit Chat Public Talk about any thing you want! This forum is public. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
#1
|
||||||||||||
|
||||||||||||
|
Script for adding multiple new email addresses??
Was wondering if it were possible, on a windows based plan to add more than one email user at once, e.g. in the CP, instead of clicking "mail manager", then "New Email", entering all the info, clicking the checkbox for "Mailbox" etc..., is there a way to add a bunch of users at once? I have about 30 I need to add, and being as I am a computer administrator who likes scripts to do his work, and having just learned to write bash scripts on unix - kind of hoped there were somthing like that I could do??
Thanks! |
|
#2
|
||||
|
||||
|
if the API was working perhaps :/
|
|
#3
|
|||||||||||
|
|||||||||||
|
Basically what DigitalSkylines saying is nope, can't be done currently. The API whenever it's released in all it's glory may allow you via an XML/SOAP interface to create mailboxes independantly of the CP.
|
|
#4
|
||||||||||||
|
||||||||||||
|
Alright, thats depressing. Thanks for the info
|
|
#5
|
|||||||||||
|
|||||||||||
|
Partial answer and a new question
I'm in the process of building an online community for one of my clients and I've run into a similar problem. Each community member gets an e-mail forward and we would like to automate the process of setting up those forwards (along with any changes in the e-mail address being forwarded to).
While waiting for the API, I have re-created the form that needs to be submitted to do this but I can only use it if I'm logged in. I made a small script that takes a list of e-mails and creates a form for each one. Then I log in with one browser window and click submit buttons in another window. I was going to see if by using PHP I could trick the control panel into thinking I was logged in and then submit the forms automatically. I haven't done this yet but I think it is possible. I did something similar in python years ago. Does anybody have a suggestion on ways to do this until the API gets here? I can provide someone with the info I have so far if they think they can take it to the next step.
__________________
-Whoever said nothing is impossible never tried slamming a revolving door. |
|
#6
|
||||
|
||||
|
its just a pitty xmlhttp doesnt save sessions otherwise you could use that. :/
|
|
#7
|
||||||||||||
|
||||||||||||
|
I'm not sure if this would work, but you might want to think of using something like squirrelmail.
Basically, you send email from the windows box to an admin account on squirrel mail running on unix. You can route traffic into the admin acount to a script that can set up individual email accounts based upon info within the incoming mail or its headers. I've seen suirrelmail mods that do that. There's a couple of threads floating around here on setting up a mail subdomain on unix for a windows domain specifically for running squirrelmail.
__________________
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to have an email address that forwards to two addresses? | Interwired | Chit Chat Public | 2 | 01-29-2004 11:45 AM |
| ASP - Jmail - Sending to external email addresses | xweb | Chit Chat Public | 5 | 09-08-2003 03:31 PM |