webOS Nation Forums >  webOS Devices >  HP TouchPad > Email in Plain Text [Patch Request]
Email in Plain Text [Patch Request]
  Reply
Like Tree5Likes
  • 3 Post By beerdini
  • 1 Post By Rnp
  • 1 Post By bbito

 
Thread Tools Display Modes
Old 08/02/2011, 08:17 AM   #1 (permalink)
Member
 
Posts: 115
Default Email in Plain Text [Patch Request]

Does anyone know if there is a way to send email in Plain Text mode instead of HTML? My company uses a GroupWise system with the related Mobility sync product and any of my emails that go outside of the company show up with a blank message body, but internal messages send just fine. In my sent items from my mail client I noticed that my messages from the TP are going out as HTML, and I'm wondering if I can find a way to change those to Plain Text if it would solve my empty message problems. Thanks!
beerdini is offline   Reply With Quote
Liked by Rnp, MonkeyPad and touchpaddled like this.
Thanked by Mize, Rnp, touchpaddled
Old 08/02/2011, 10:07 AM   #2 (permalink)
Rnp
Member
 
Rnp's Avatar
 
Posts: 1,092
Default

Great! I need this too, because my yahoogroups cannot accept mails in HTML...

Just need to insert button: format to HTML or Text.


Best Regards...
__________________
The Dog Is The Manīs Best Friend... Because Is The Only That Is Not Looking To Smartphone While We Talking!
Rnp is offline   Reply With Quote
Liked by touchpaddled likes this.
Old 10/23/2011, 08:59 PM   #3 (permalink)
Member
 
Posts: 3
Default

I am having the same issue with GroupWise 8.02HP3 and the Mobility Connector (which I have fully patched up through patches released just last week).

Emails sent from the Touchpad to internal users within my company work fine. Emails sent outside the company are delivered with a mess of encoding wrapped around the text (under prior Mobility versions previously they were just blank).

Emails sent to outsiders through this same Mobility connector from my Pre- are just fine.
PeterMacSF is offline   Reply With Quote
Old 10/25/2011, 08:27 PM   #4 (permalink)
Member
 
Posts: 1
Default

Agree, would love to see plain text option.
jdlk is offline   Reply With Quote
Old 11/19/2011, 10:49 PM   #5 (permalink)
Member
 
touchpaddled's Avatar
 
Posts: 5
Default

+1 Just found out a listsrv subscription service I use hates my touchpad emails. :'(
touchpaddled is offline   Reply With Quote
Old 09/12/2012, 04:06 PM   #6 (permalink)
Member
 
Posts: 66
Default

+1 Squirrelmail webmail is my desktop email interface and WebOS 2.x and 3.x messages require opening the html attachment. I hope that someone can make patches for both now that I finally moved my Sprint commboard to a Pre2
bbito is offline   Reply With Quote
Old 09/21/2012, 12:09 PM   #7 (permalink)
Member
 
Posts: 66
Default [PATCH] Email: Include Plain Text Alternate

Quote:
Originally Posted by beerdini View Post
Does anyone know if there is a way to send email in Plain Text mode instead of HTML? My company uses a GroupWise system with the related Mobility sync product and any of my emails that go outside of the company show up with a blank message body, but internal messages send just fine. In my sent items from my mail client I noticed that my messages from the TP are going out as HTML, and I'm wondering if I can find a way to change those to Plain Text if it would solve my empty message problems. Thanks!
My patch has been accepted by webos-internals and is now available in Preware.
"Include Plain Text Alternate"

It basically returns the WebOS 1.4.5 email behavior to 3.0.5. It is not extensively tested, but it fulfills my needs and I've been using it for a couple of weeks with no ill effects. I think a change in the mechanism for signature insertion in WebOS 2.x broke the plain text generation in that version and so they commented-out the code to make the 'text/plain' alternate. I spent a lot of time trying to get plain text working nicely in 2.2.4 ever since I moved my Sprint comm board to a Pre2 two and a half weeks ago (Sept. 2012) but haven't been able to get anything more than an embarrassingly ugly hack that includes hard-coding my signature into the patch.

So, to keep a long story long ;-) - at some point I took a break from tearing my hair out working on 2.2.4 email to see what was going on in 3.0.5. Lo and behold, it seemed that they had everything in place to support a 'text/plain' alternate and probably just ran out of testing time so they never 'turned it back on'. This patch uses similar string manipulations to those in 1.4.5 to strip tags and decode html entities and then slaps that string into a regular 'text/plain' alternate hunk for the smtp service. This will produce multi-part emails like 1.4.5 and should not effect the currently generated 'text/html' hunk. It has been tested only on the squirrelmail imap service I use for 95% of my email.

All the usual disclaimers apply - no warranty made or implied, this could possibly mess up your email, use at your own risk, etc. and additionally, I'm a small business owner that clocks about 70 hours a week on things that have nothing to do with developing/coding, I am not looking for feature requests for this patch! I find it very useful and have released it to the community since others have expressed interest. If someone wants to take this work and make a patch that adds a GUI so a user can choose to generate only 'text/plain' or only 'text/html' I welcome it, and will help if I can, but I have no plans to work on such a thing and very limited time for coding projects.

On the other hand, if anyone has made any progress on similar functionality for 2.2.4 please post here or PM me to see if we can get anywhere with our phones.

The patch is in the Preware email category: "Include Plain Text Alternate"

I made a companion patch to the browser that makes the Browser's 'Share via email' work better for text/plain by making the email subject the page title and the body of the email is populated with the page title and the URL separated by a line break. No obscure hyperlinked or canned text.
The Browser patch is named: "More transparent share link"
[PATCH] More transparent share link
-Go WebOS!

Last edited by bbito; 09/22/2012 at 02:41 PM. Reason: Add a link for browser patch
bbito is offline   Reply With Quote
Liked by Rnp likes this.
Thanked by PeterMacSF, Rnp
Old 09/21/2012, 12:51 PM   #8 (permalink)
Rnp
Member
 
Rnp's Avatar
 
Posts: 1,092
Default

Wow!! Great!!

You got a Beta Tester!

Thank you, man!


Best Regards...
__________________
The Dog Is The Manīs Best Friend... Because Is The Only That Is Not Looking To Smartphone While We Talking!
Rnp is offline   Reply With Quote
Old 09/21/2012, 03:02 PM   #9 (permalink)
Member
 
Posts: 66
Default

Quote:
Originally Posted by Rnp View Post
Wow!! Great!!

You got a Beta Tester!

Thank you, man!


Best Regards...
I hope it works as well for you as it has for me! If you hate the "Check out this web page" text when sharing from the browser as much as I did (seems creepy/spammy to me), install my Browser patch too. I forgot to mention above that it also forgoes inserting that page thumbnail PNG file, With the email patch installed, shared link emails will only show one attachment (the text/html hunk) when opening in my squirrelmail webmail interface.
. Go WebOS!
bbito is offline   Reply With Quote
Old 09/21/2012, 05:02 PM   #10 (permalink)
Member
 
Posts: 66
Default

Quote:
Originally Posted by PeterMacSF View Post
I am having the same issue with GroupWise 8.02HP3 and the Mobility Connector (which I have fully patched up through patches released just last week).

Emails sent from the Touchpad to internal users within my company work fine. Emails sent outside the company are delivered with a mess of encoding wrapped around the text (under prior Mobility versions previously they were just blank).

Emails sent to outsiders through this same Mobility connector from my Pre- are just fine.
Hi Peter, I'd be curious to know if my patch : "Include Plain Text Alternate" fixes your problem. It should, since you mention that the messages from your Pre- worked. The multi-part messages created by this patch closely match what was produced by the WebOS 1.4.5 email app. It is available in Preware.
bbito is offline   Reply With Quote
Old 09/22/2012, 05:47 PM   #11 (permalink)
Member
 
hrminer92's Avatar
 
Posts: 934
Default

I'm not seeing this patch or the "more transparent share" patch in preware after updating my feeds.
hrminer92 is offline   Reply With Quote
Old 09/25/2012, 06:00 PM   #12 (permalink)
Member
 
Posts: 66
Default

Quote:
Originally Posted by hrminer92 View Post
I'm not seeing this patch or the "more transparent share" patch in preware after updating my feeds.
It's unfortunate that you're having trouble getting these patches. Perhaps you're running WebOS version that isn't supported by these patches. The "Include plain text alternate" patch is 3.0.5 only and has been available in Preware feed since 9/21/12 in the Email section. The 3.0.5 version of "More transparent share link" came through on the same day I think and the 2.2.4 version of it came through late on 9/22/12 this patch modifies a browser file and is in the browser catagory. Here's the official thread for the 'share link' patch:
[PATCH] More transparent share link
-hth
--bbito

Last edited by bbito; 09/25/2012 at 06:01 PM. Reason: add category info
bbito is offline   Reply With Quote
Old 01/22/2013, 06:56 AM   #13 (permalink)
Member
 
Shura's Avatar
 
Posts: 216
Default

bbito
Is it possible to install your patch "Include Plain Text Alternate" on HP Veer with WebOS 2.1?
__________________
Phone: HP Veer
Jabber: shura0@ya.ru
Shura is offline   Reply With Quote
Old 01/22/2013, 07:55 AM   #14 (permalink)
Member
 
Posts: 66
Default No 2.x version yet

Quote:
Originally Posted by Shura View Post
bbito
Is it possible to install your patch "Include Plain Text Alternate" on HP Veer with WebOS 2.1?
Hi Shura, Unfortunately the code is very different in 3.x and 2.x and I haven't been able to make a releasable 2.x patch, see below

Quote:
Originally Posted by bbito View Post
... I think a change in the mechanism for signature insertion in WebOS 2.x broke the plain text generation in that version and so they commented-out the code to make the 'text/plain' alternate. I spent a lot of time trying to get plain text working nicely in 2.2.4 ever since I moved my Sprint comm board to a Pre2 two and a half weeks ago (Sept. 2012) but haven't been able to get anything more than an embarrassingly ugly hack that includes hard-coding my signature into the patch.
...
-Go WebOS!
bbito is offline   Reply With Quote
Old 01/23/2013, 01:33 AM   #15 (permalink)
Member
 
Shura's Avatar
 
Posts: 216
Default

Sad.

Thank you.
__________________
Phone: HP Veer
Jabber: shura0@ya.ru
Shura is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0