sKunKbad Posted November 20, 2007 Share Posted November 20, 2007 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? Quote Link to comment https://forums.phpfreaks.com/topic/78035-solved-spaces-in-from-mail-header/ Share on other sites More sharing options...
rajivgonsalves Posted November 20, 2007 Share Posted November 20, 2007 I think the header should be something like the following $header = "From: sKunKbad sKunKbad sKunKbad <sKunKbad@somedomain.com>\r\n"; Quote Link to comment https://forums.phpfreaks.com/topic/78035-solved-spaces-in-from-mail-header/#findComment-394970 Share on other sites More sharing options...
sKunKbad Posted November 20, 2007 Author Share Posted November 20, 2007 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 <sKunKbad@somedomain.com>\r\n"; Quote Link to comment https://forums.phpfreaks.com/topic/78035-solved-spaces-in-from-mail-header/#findComment-395002 Share on other sites More sharing options...
rajivgonsalves Posted November 20, 2007 Share Posted November 20, 2007 you can check out the following link http://cr.yp.to/immhf.html Quote Link to comment https://forums.phpfreaks.com/topic/78035-solved-spaces-in-from-mail-header/#findComment-395005 Share on other sites More sharing options...
sKunKbad Posted November 21, 2007 Author Share Posted November 21, 2007 http://www.sitepoint.com/print/advanced-email-php This has some really good info too. Quote Link to comment https://forums.phpfreaks.com/topic/78035-solved-spaces-in-from-mail-header/#findComment-396083 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.