1 |
Hi there, |
2 |
|
3 |
A friend has started sending text messages from her phone to my email |
4 |
address. They arrive with a from: address of 1212121212@×××××××.net |
5 |
(where 1212121212 is her cell number) and I can reply to them and |
6 |
that's all great, but they come annoyingly encumbered with a bunch of |
7 |
T-Mobile .gif images and such clutter. The plain text of these |
8 |
messages are only a few words, yet the email is 25kb in size because |
9 |
of all these images! |
10 |
|
11 |
If I look at the message source it shows rubbish like this: |
12 |
|
13 |
------=_Part_1260035_17792989.1257702378190 |
14 |
Content-Type: text/html |
15 |
Content-Transfer-Encoding: quoted-printable |
16 |
Content-Location: 01smil |
17 |
Content-ID: <0000> |
18 |
Content-Disposition: inline |
19 |
|
20 |
<html> |
21 |
<head> |
22 |
=09=09<title>T-Mobile</title>=20 |
23 |
=09=09<!-- |
24 |
=09=09=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |
25 |
=09=09If you can read this text, but much of the message below |
26 |
seems unread= |
27 |
able, you might be using an e-mail program that does not work with |
28 |
HTML. |
29 |
|
30 |
=09=09=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D--> |
31 |
=09=09<style type=3D"text/css"> |
32 |
<!-- |
33 |
|
34 |
=09=09.footer { |
35 |
=09=09=09font-family: Arial, Helvetica, sans-serif; |
36 |
=09=09=09font-size: 11px; |
37 |
=09=09=09color: #555555; |
38 |
=09=09=09text-decoration: none; |
39 |
... |
40 |
=09=09--> |
41 |
=09=09</style> |
42 |
=09</head> |
43 |
=09<body marginwidth=3D"0" marginheight=3D"0" leftmargin=3D"0" |
44 |
topmargin=3D= |
45 |
"0" bgcolor=3D"#ffffff"> |
46 |
=09=09<table border=3D"0" width=3D"600" cellspacing=3D"0" |
47 |
cellpadding=3D"0"= |
48 |
|
49 |
|
50 |
All this to say, pretty much, "how are you? lol"! (and the above is |
51 |
severely truncated - I only show it to show what a mess this is!) |
52 |
|
53 |
What I find really aggravating about this is that if I click reply |
54 |
then my mail reader will quote an HTML table (which T-Mobile used to |
55 |
arrange their pretty graphics) and yet won't actually attach the |
56 |
original graphics themselves, so I see this big ugly of quoted: |
57 |
|
58 |
<dottedline350.gif> |
59 |
<tmobilespace.gif> |
60 |
<tmobilelogo.gif> |
61 |
<tmobilespace.gif> |
62 |
|
63 |
The great thing about these messages are that they appear to contain a |
64 |
plain text section: |
65 |
|
66 |
------=_Part_1233335_2792974.3457702378123 |
67 |
Content-Type: text/plain; charset=utf-8; name=Text01.txt |
68 |
Content-Transfer-Encoding: 7bit |
69 |
Content-Location: Text01.txt |
70 |
Content-Disposition: inline |
71 |
Content-ID: <555> |
72 |
|
73 |
how are you? lol |
74 |
------=_Part_1233335_2792974.3457702378123 |
75 |
|
76 |
|
77 |
So my big question is, can anyone suggest any tools for reformatting |
78 |
the message as plain text only, and dumping all the crap? |
79 |
|
80 |
I would love it if there's a tool that will just do the whole job for |
81 |
me, but I'm prepared to hack together my own Bash script if necessary. |
82 |
|
83 |
I really want to leave the headers intact, so that I can get maildrop |
84 |
to perform the action, and it'll come into my mailbox still looking |
85 |
like an ordinary email, but a plain text one, and with the subject and |
86 |
reply-to address unchanged. |
87 |
|
88 |
I really want to get maildrop to *still* send me the original message |
89 |
with all the crap in it, but *also* this plain text copy - there are |
90 |
indicators that the service is MMS based, so it's possible that |
91 |
attachments could be sent, and I don't want to just dump a photo, |
92 |
should one be sent. |
93 |
|
94 |
Thanks in advance for any suggestions. |
95 |
|
96 |
I feel kinda ridiculous having to write such a long email - and |
97 |
perhaps spend a bunch more time writing scripts - to handle such a |
98 |
stupid thing. I guess the ridiculous thing is the cell company adding |
99 |
all this junk to a simple text message. But I can really imagine this |
100 |
formatting getting my goat enormously over time, and I don't want to |
101 |
get annoyed at my friend over such a trivial thing. |
102 |
|
103 |
Stroller. |