Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recived plain text E-MAIL, body becomes one line #8987

Open
mshigemoto opened this issue Dec 5, 2020 · 3 comments
Open

Recived plain text E-MAIL, body becomes one line #8987

mshigemoto opened this issue Dec 5, 2020 · 3 comments
Labels
Area: Emails Issues & PRs related to all things regarding emails & email module Priority:Moderate Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds Type:Bug Bugs within the core SuiteCRM codebase

Comments

@mshigemoto
Copy link

Issue

Recived plain text E-MAIL, body becomes one line

Expected Behavior

When displaying an email in the email module, there are no line breaks for plain text email.
For example, someone uses Thunderbird to send a plain text email.
Then, Suite CRM receives the email.
Then the messages will be display one line by the Email module.

Sent message
AAA
BBB
CCC

Received message displayed
AAABBBCCC

Is the email module interpreting it as an HTML message?

Steps to Reproduce

1.Send plaine text Email from outside.
2.Recive it by SuiteCRM
3.Open the mail by Email Module

Your Environment

  • SuiteCRM Version used:SuiteCRM 7.11.18
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)):any browser
  • Environment name and version (e.g. MySQL, PHP 7):PHP 7.2 mysql Ver 14.14
  • Operating System and version (e.g Ubuntu 16.04):UBUNTU 20.04.1 LTS
@johnM2401 johnM2401 added Area: Emails Issues & PRs related to all things regarding emails & email module Priority:Moderate Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds Type:Bug Bugs within the core SuiteCRM codebase labels Dec 8, 2020
@mullocksj
Copy link

This one is important to me too as we mostly communicate via email andthere are plenty of people (me included) that prefer to send plain text. I saw a note "Successfully merging a pull request may close this issue." Does this mean it is fixed, or about to be fixed, in a particular patch? If so, I'll go get the patch, otherwise I may wait.

@johnM2401
Copy link
Contributor

Hey @mullocksj

The text "Successfully merging a pull request may close this issue" is just default descriptive text by Github Itself, and doesn't denote whether a PR has/has not been related to this Issue.

Just below that text, you can see "None yet", so it appears that there is not currently an Official fix for this issue.

I've had a look around, and it appears there is a similar issue with Drafts:
#2423

This one has a Proposed Fix, in the Comment Section, that may be worth trying
(However, as it has not been merged into the project, I can't vouch for its efficacy)

Thanks!

@mullocksj
Copy link

@johnM2401

Thanks for the tips. I have not used Github much or would have known better.

Spurred on by your message I went and had a look at the patch. It was for an older version, but I could have adapted it easily enough. Looking at Email.php, it was hard to figure out if the patch was likely to help with incoming emails. It was all rather complex given I have little understanding of the system organisation.

As I made my "before" tests, I realised that my main problem does not really exist! True, if I look at an email before it has been imported, the plain text has had its line-feeds stripped making it difficult to read. However, after import, all is fixed. I can live with that.

So I guess it is still technically a bug, but the work-around is to use another client to look at emails before import. After import SuiteCRM seems fine.

Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Emails Issues & PRs related to all things regarding emails & email module Priority:Moderate Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds Type:Bug Bugs within the core SuiteCRM codebase
Projects
None yet
Development

No branches or pull requests

3 participants