Quote Originally Posted by sibichan1 View Post
Why need "\n\r" after $fromEmail ?
This is because that field is called Header. 4th parameter in mail() function access many more stuff than just from like mail priority, x-send from and many more. Each line in header need to be separated with "\n\r", this is called, new line + carriage return.