Jump to content

[SOLVED] Spaces in From: mail header


sKunKbad

Recommended Posts

I'm trying to send an email that has spaces in the from header:

 

$header = "From: sKunKbad sKunKbad sKunKbad\r\n";

 

but when the mail comes through, there are periods between like this:

 

sKunKbad.sKunKbad.sKunKbad

 

What am I doing wrong?

Link to comment
https://forums.phpfreaks.com/topic/78035-solved-spaces-in-from-mail-header/
Share on other sites

Thank you, that did work. Do you know where good documentation for this is located?

 

I think the header should be something like the following

 

$header = "From: sKunKbad sKunKbad sKunKbad <[email protected]>\r\n";

 

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.