Jon Kraft <jo*@jonux.co.uk> wrote in
news:bm************@ID-175424.news.uni-berlin.de:
Oliver Spiesshofer <ol****@email.com> wrote:
when using mail(), the FROM that I set in my function variables is
always changed. If I set the FROM email to us**@mydomain.com, it is
always replaced to us**@provider.com. I believe its because the
provider has the FROM_HEADER set to provider.com.
is there any way to prevent this? cant I set an alternative
from_header with htaccess or similar?
Hi Oliver,
It would help if you could post which OS you have your script running,
and the code which calls mail().
Cheers;
JOn
Hi JOn,
its Linux, and the code is:
mail("re*******@somedomain.com", "test subject", "test body text", "From:
username <re******@mydomain.com>");
is there a check whether the mydomain.com is equal to the actual domain?
Oliver