The website I'm running sends a confirmation email, in which the user has to click a link in order to complete their signup. It's pretty standard. But here's the problem I'm having.
Different email clients can't seem to handle newlines properly. Basically, if I use \n or <br> or whatever, some clients are appending it onto the end of the url, so then the url doesn't work. So, instead of the url going to confirm.php?email=bob@someplace.com, it goes to confirm.php?email=bob@someplace.com<br>.
So what's the correct way to do it? I've tried \n, <br>, I've even tried just putting an actual newline in the code (hitting enter) but apparently that just turns it into an \n.
Any help would be appreciated. Thanks.
PS: Currently, I have no content-type along with it, so it just sends plain text. Could there be a fix involved in that somehow? Also, when I tried <br> I did do text/html, so that's not the reason it didn't work. Some clients just can't accept html.