"GS" <g...@v.invalid> wrote
| Actually, it goes as body text in a new msg via the user's default mail
app
| using ShellExecute's mailto: arg. This puts the 'Send' action as user
choice
| because I refuse to send anything not user authorized.
|
Yes, I understand. That's the problem. And you're
at the mercy of their spellcheck. And most people use
spellcheck. So your spelled-out hex codes method
makes more sense.
But that's not a shortcoming of email. If you look at
the email code you'll see that the mime type of the body
section is clearly marked as plain text and/or html. You
can't just say, "Don't touch this sentence. It's base64." You have
to put base64 in its own section. (Some body sections are
actually entirely base64. I don't know why. It's not secure
and it increases the size by 1/3. But maybe it helps to foil
things like NSA sniffers looking for keywords. In any case,
even a base64-encoded body wouldn't help you. It would
be encoding *after* the spellchecker has already altered
your key.)
It's an interesting problem you had, though. I used to
send activation keys via email and it never occured to
me that they could become corrupted. But I don't use spellcheck.
And I've never designed a system where I use someone
else's email to send something to me. I'm surprised it doesn't
mess with your hex. "CBC231... Did you mean 'cabbage'?"
That's what I meant in saying email and HTML can handle
base64. They have a way to include it, but of course that
way has to lead the client to accurately interpret which part
is base64. It has to be systematic. It's actually becoming
more common in HTML. Email and HTML are both systematic
and both can accomodate base64 in various ways.
The HTML way is
such a handy idea that I wrote drag-drop VBScripts to
convert an image and put it on the Clipboard. I use it
to make webpages with images built in. For instance, recently
I was looking up a houseplant and wanted to save a picture with
info about the species. Inline base64 made that very easy,
putting it all into a single HTML file.
Here's an example:
<HTML><HEAD></HEAD><BODY>
This is a picture<BR>
<IMG WIDTH=40 HEIGHT=82
SRC="data:image/gif;base64,R0lGODlhKABSAPcAAAAAxggIxhAQxiEYxikpxjExzkI5zkpKzlJSzmNa1mtr1nNz1oR71oyM1pSU3qWc3q2l3rW13sa958bGxs7G587OztbW1tbW597e3ufe5+fn5+/n5+/v7/f39///7////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////ywAAAAAKABSAAAI/gABCBxIsKDBgwgTKlzIsKHDhxAjSpxIsaLDDR4yasy4oePGjR4/ckwosqTJkx5IisR4kqVJjCo5onRZkqZKmjQ94NSIcWfMmiA/7tS54ebMlzpFGl15lCnJnDmFHv0ZNGrSqzI1Lu2JNatVmwiZumT5teRSmVCPskxoFWXLtWGzAk079CzZoHKxhjyLlmNaqTqpIkXaE+7BrjvJRr0bOC5PvB8LOo07FrFfyY8bH9ZLVCQEg5MPVoYME/RKtnM3On78VK5HwwA+DzQpGGdRghEIMs7IlyaBgQM8SCDIcy/CkF1T6t6Qe/Zo1K41A9A4fLbZ1TmJs2wuMDNvykoH/mqQyR3AbuWidxNk8LF8Z5k3XRK0INJ91Jg9HyzP6j6p/LAu/ebcex70B9Jtm2FkAXGQ9VcZfgyaZCBRpSUYoYQX/ifadwAI0BFXWJV3HmoIVnRVaxZ1p5VjKU63YoLFtcUcgx/2xFZbGFp3YHyJFVdghCC29thoGol4HYxuFXmhatglV5mDkQEoFYjk0RjlhisV9lF1KvrFoWkEekcdkExuNiVkg32JGWmA5XUlmB+ymVqZBv2VZJvo1TlUS0C9CCaaYrol5JBi2ulnQa8dCBiOSVGlWKBJ4ndnXshJt2Z0dypWIWh/lcWoYEJVGmZQoHZGV3InOqalWF66meelHKj22Raoojr51aA11Qpoi7z26uuvwAYr7LDDBgQAOw=="
/>
</BODY></HTML>
If you save that as HTML you'll get a webpage with a small
picture of a "4". The only limitation is that IE was late in implementing
it. Older IE versions can only handle an image up to something
like 32 KB. Anything bigger and IE will clip it.