ok, here they are:
<?php
/ declaration of variables /
...
$headers = "from :$myaddress\nReply-to:$anotheradress";
etc...
/ end declaration /
mail ($from,$to.... (all this is right),$headers);
.....
?>
Sorry, i don't have this code here but this does not produce any error nor warning. All works correctly but i have 2 problems.
They are only with the headers. I write all the e-mail and it arrives perfectly but if you then see it's headers and the mail code when it arrives, you can see where it has been sent from. This is one of the things that i want to rewrite, i thought i could do it with the from: field in the header but it seems not run...
The other thing is that, although i can set an address to the receiver to reply my message, different from the from: field of the mail, i would like the mail to be sent to another address different from where it is typed in the to: field when he asks it.
e.g:
(fields on the mail that appears when he clicks on Reply to my mail)
from :receiverofmymail@there.com
to:anadressforme@here.com
subject:FW:my subject
....
i want this e-mail ( which is a reply to my mail) to be sent to an adress set for me, different from the to: field shoen above.
Please, could you tell me wheter is this posible?
Thanks a lot.
Derty.