PHP Script Question

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
davemcdave
Forum Newbie
Posts: 1
Joined: Mon Jul 25, 2011 10:43 am

PHP Script Question

Post by davemcdave »

Hey all!

First off I must apologise if this question seems retarded or anything like that! I am a complete and utter newbie when it comes to this but the boss has spoken!

What I am after is a php script which can forward an email sent to it to another host. We have a web host which can pipe unrouted email to a script so I want to tell it to go to the mail server loacted at the IP address of (e.g) 10.1.1.10

Is this easy enough to do or is it more complex than I think?

Many Thanks,

Dave
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: PHP Script Question

Post by Benjamin »

Why not just use a catch all account and attach a forwarder to it using cPanel?
Post Reply