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 [email protected], 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 protected], 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 protected]) 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
https://forums.phpfreaks.com/topic/53032-php-script-email-server/
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.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.