Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Mail format

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44338
    Shalabh
    Member

    Hi,

    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:

    Hi,

    My name is Erik and I am an English to French freelance translator with five years of experience.

    Best Regards,
    Erik

    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?

    #133013
    Paulie_D
    Member

    I assume you are using a single textbook?

    Might be an idea to have have three. Unless you can format the sent text.

    #133014
    CrocoDillon
    Participant

    First guess is you’re sending the email as html which doesn’t preserve line-breaks.

    #133019
    Argeaux
    Participant

    Are you using php?

    Wrap the text in the [nl2br](http://php.net/manual/en/function.nl2br.php “nl2br”) function when you output it.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Back End’ is closed to new topics and replies.