I'll try to be as short and precise as possible...
My server doesn't support the mail() function so I need to use that function from another server.
I have full access to both servers.
My own server has a registration page, which leads to a process page which retrieves the POST information, inserts it into a database, (is supposed to) send an email to the administrator (me) and then shows results back to the user.
Now, it isn't so hard to create the page on the other server which retrieves POST info and uses it in the mail() function. The problem is to unite it with the other page so that the user is redirected forth and back without noticing. Ok so perhaps he/she notices it, the point is that he/she shouldn't need to repost on the other server, I'd like the page to repost automatically.
Including or requiring wouldn't work of course, the other server would just send the processed PHP page back to my server.
Another solution could be if it went like a brench on a tree; e.g. a small side window opens on the remote server, posts, the server sends the email and the window is closed (and the other post just continiued uninterrupted). That way, I could use the same email page on the other server from several of my pages.
If I could POST header("Location ..."); that would be a good solution. I don't think that's possible but is there another way to do it?