The problem with bringing an ancient thread back to life is that none of us have any recollection of the thread; we have to start reading again with the first post to see just what it is to which you refer.
Sorry for this! I've been doing some other tests, so let me explain what I need.
I'm running PHP with suPHP. Currently if I send an email using PHP's mail() function, the default From address and the return-path are user@myhostname. So, when I call the function with the mininum parameters like this:
PHP:
mail('some@email.com', 'Test', 'Testing');
both the "From" and "Return-path" headers are set to user@myhostname. The thing is that "myhostname", includes my Web Hosting company's domain name.
This hasn't been a problem so far, but now I have a reseller client who wishes to implement private branding and is complaining about this, because when his own clients in their websites use PHP's mail() function, emails are sent with my company's domain name.
So what I would like to be able to do is to have all my client's users to have as the default "From"/"Return-path", something like
user@their-domain.com.
Is this possible? If it is, how?
Thanks!