|
FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc. |
|
Thread Tools |
29 Jan 2015, 07:57 AM | #1 |
Member
Join Date: Mar 2014
Posts: 33
|
Message formatting settings issue
I am hoping that I just have a setting that is wrong, but I don't seem to be able to find it. I am using the standard web client.
The text as typed: Code:
sndpath = jmri.util.FileUtil.getExternalFilename("preference:bellTest.wav") snd = jmri.jmrit.Sound(sndpath) snd.play() Code:
sndpath = jmri.util.FileUtil.getExternalFilename("preference:bellTest.wav") snd = jmri.jmrit.Sound(sndpath) snd.play() Code:
<div>sndpath = jmri.util.FileUtil.getExternalFilename("preference:bellTest.wav")<br></div> <div>snd = jmri.jmrit.Sound(sndpath)<br></div> <div>snd.play()<br></div> The email is being sent to a Yahoo group and Yahoo is using the text/plain portion of the message. The snippet is python code and makes for REALLY hard reading. DS |
29 Jan 2015, 04:19 PM | #2 |
The "e" in e-mail
Join Date: May 2003
Location: mostly in Thailand
Posts: 3,084
|
Are you sending from a Unix like system and receiving in MS Windows? Sometimes, that causes these types of problems owing to conversions of line ends not taking place. Occasionally, character set conversions also confuse line ends.
I usually draw pictures in this type of situation, noting OS, mail client, text format & character set outgoing and incoming. Often this aids in explaining the behavior. Fixing it may, or may not, be easy. |
30 Jan 2015, 02:49 AM | #3 | |
Member
Join Date: Mar 2014
Posts: 33
|
Quote:
The problem occurs when the Rich Text format is used. Plain Text: Code:
Message-Id: <1422552646.705529.220589493.07EADB7C@webmail.messagingengine.com> X-Sasl-Enc: v4FnBh0p2zetX4iGDkAC+qUy5fySvjztJPZLqUMED5p+ 1422552646 From: xxx <xxx@yyy> To: "qqq" <rrr@sss> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-46f3f2c7 Subject: Test Message - Plain Text Date: Thu, 29 Jan 2015 11:30:46 -0600 Line 1 Line 2 Line 3 Done Code:
Message-Id: <1422552599.704911.220589169.05739398@webmail.messagingengine.com> X-Sasl-Enc: A0bsYO0kSu+jf4NlGgSzTNpBu5uqxOP5iD/ZXPlpEyLs 1422552599 From: xxx <xxx@yyy> To: "qqq" <rrr@sss> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: multipart/alternative; boundary="_----------=_14225525997049114"; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-46f3f2c7 Subject: Test Message - Rich Text Date: Thu, 29 Jan 2015 11:29:59 -0600 This is a multi-part message in MIME format. --_----------=_14225525997049114 Content-Transfer-Encoding: 7bit Content-Type: text/plain Line 1 Line 2 Line 3 Done --_----------=_14225525997049114 Content-Transfer-Encoding: 7bit Content-Type: text/html <!DOCTYPE html> <html> <head> <title></title> </head> <body><div>Line 1<br></div> <div>Line 2<br></div> <div>Line 3<br></div> <div> </div> <div>Done</div> </body> </html> --_----------=_14225525997049114-- Now that I know the source of the problem, I can just format all mails to the Yahoo group as plain text until a resolution is found. In the meantime, it is not clear if this is a settings problem or an actual FastMail bug. DS |
|
30 Jan 2015, 11:36 AM | #4 |
The "e" in e-mail
Join Date: May 2003
Location: mostly in Thailand
Posts: 3,084
|
Ah, yes. Well explained. The issue is with the conversion from rich text (html) to plain text. The <br> html elements are not generating line breaks in the conversion to plain text. This does seem wrong.
|
Thread Tools | |
|
|