Yes, sorry you are correct - it was a quick reply.
something still adds the header though..
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: BASE64
<?php
mail(me@myisp.com, Test Message, This is just a test)
?>
The PHP mail() function should be pretty straight forward.
The above code should not add a header but something is..
The error is that this header is being added..
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: BASE64
Using php mail(), as I understand it, there should not be a header unless I explicitly put it there.
If I do add a header I end up with something like...
I can send mail from my linux box using 'Linux mail()' OK.
If I use PHP mail a header is added.
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: BASE64
--
The format I'm using to send is;
<?php
mail($to, $subject, $message)
?>
This used to work, so...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.