email forward php script cpanel

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
potato
Forum Contributor
Posts: 192
Joined: Tue Mar 16, 2004 8:30 am
Location: my lovely trailer, next to the big tree

email forward php script cpanel

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
User avatar
potato
Forum Contributor
Posts: 192
Joined: Tue Mar 16, 2004 8:30 am
Location: my lovely trailer, next to the big tree

Post by potato »

oww, ok, i get it.

I didnt think about it like that, thank you for your help ;)
User avatar
potato
Forum Contributor
Posts: 192
Joined: Tue Mar 16, 2004 8:30 am
Location: my lovely trailer, next to the big tree

Post 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)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

SwiftMailer is the preferred class for many of us around here, although phpMailer is probably the more "popular."
Post Reply