Jump to content

strange mail header behaviour


digitalecartoons

Recommended Posts

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

$headers = "From: [email protected];
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:

[email protected]

This only happens with mail.nl. Is this some kind of special setting the header function uses? Or a bug? [email protected] works fine...
Link to comment
https://forums.phpfreaks.com/topic/24076-strange-mail-header-behaviour/
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 [email protected] becomes [email protected]

any other email address works like it should.

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

Archived

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

×
×
  • Create New...

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.