Jump to content

PHP Script / Email Server


PC Nerd

Recommended Posts

hi guys,

 

im setting up a third party email for my domain...... so that i can create xyz@domain.com, and keep emails etc even while i change hosts etc.

 

however, what i want to do is setup an account, for contact, and have filters, that keeps track of 5 other email boxes...... and forward each incoming email into the first email, to the email with the lowest emails....

 

ill explain further:

 

email2me.com:    main email box

 

1@... = 27 emails sent to.

2@... = 27 emails sent to

3@... = 25 emails sent to

4@... = 30 emails sent to

 

what i want to happen, is when an email comes into email@me.com, i want it to automatically forward that email to the other email ( 1@ 2@ etc) address, who has the lowest amount of emails been sent to them.

 

i can store the number in a database, or even a text file if i needed, however, i need like a) a cron setup or something, that logs into othe emal service, then forwards that email.  is this possible with php, or how would i go about it.

 

what it really is, is to spead like support emails and requests, amongst support technitions etc, so that they can have their own personal emails, and the global one ( email@me.com) doesnt have to have multiple logged into it etc.

 

 

i dont even know if this is possible within php, but is it possible to automatically do it through my DNS management, where its edited MX records etc?

 

thanks for your help in advance,

 

yours, PC Nerd

Link to comment
Share on other sites

i need to know ( as i thought i specified very clearly above), if its possible to make a php script, that acts as part of an adon to an email account, that monitors its incoming emails, and forwards them to other emails, acording to details specified from a database.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.