Jump to content

Archived

This topic is now archived and is closed to further replies.

digitalecartoons

strange mail header behaviour

Recommended Posts

I've noticed that when I use a mail.nl in a mailscript header like this:

$headers = "From: send@mail.nl;
mail($to, $subject, $message, $headers);

I do receive the mail but with the domain of my hosting provider attached like this in the From field:

send@mail.nl.hostingcompany.nl

This only happens with mail.nl. Is this some kind of special setting the header function uses? Or a bug? send@mail.com works fine...

Share this post


Link to post
Share on other sites
[code]
$headers = "From: NAME <send@mail.nl";
[/code]

Share this post


Link to post
Share on other sites
No, that doesn't help. Whenever I use any email address in my form that ends with mail.nl, I get a mail with the host domain attacthed to the filled in email address.

So johndoe@mail.nl becomes johndoe@mail.nl.hosting.nl

any other email address works like it should.

so what's with this mail.nl ???

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.