Users on my website can send mails to each other on their registered email ids through my website. But, the problem if A types his message in the message box and sends it to B in this format:
My name is Erik and I am an English to French freelance translator with five years of experience.
B receives the mail as shown below:
Hi,My name is Erik and I am an English to French freelance translator with five years of experience.Best Regards, Erik
Can anyone help me with this?
I assume you are using a single textbook?
Might be an idea to have have three. Unless you can format the sent text.
First guess is you’re sending the email as html which doesn’t preserve line-breaks.
Are you using php?
Wrap the text in the [nl2br](http://php.net/manual/en/function.nl2br.php “nl2br”) function when you output it.
You must be logged in to reply to this topic.