Page 1 of 1

email forward php script cpanel

Posted: Thu Oct 26, 2006 6:43 am
by potato
Hi,

I give to all my members a email forwarding service.
But the problem is that i have to manualy ad all the forwards in cpanel now.
I've heard about a script that does the same, so that i can configure my site when a new user signs up, automatically a email forward is added in cpanel.
Anyone knows any advice?

greetz,
tom

Posted: Thu Oct 26, 2006 7:55 am
by feyd
I don't even think that cpanel needs to be involved.

Having a cron'd script that reads your catch-all email account, checking the destination name against the username's would be simple enough to build.

Posted: Thu Oct 26, 2006 8:14 am
by potato
oww, ok, i get it.

I didnt think about it like that, thank you for your help ;)

Posted: Thu Oct 26, 2006 8:40 am
by potato
I added a catchall email in cpanel with the address usersmail@mytuningcar.be

But as i dont want to forward half the email that was sended to my server, i'm looking for a perfect piece of script that sends their email (with attachments etc)
i googled after it, without any results, anyone knows where to look for it?
Sorry for maybe asking this, but email-things are not my favourite subject :(
I hope you understand what i mean

8)

Posted: Thu Oct 26, 2006 12:56 pm
by feyd
SwiftMailer is the preferred class for many of us around here, although phpMailer is probably the more "popular."