🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #261883

Re: Dialog HTML question

#261883
From: Whiskers
Date: Tue, 21 Mar 2017 19:03
74 lines
5049 bytes
On 2017-03-21, VanguardLH <V@nguard.LH> wrote:
> Whiskers <catwheezel@operamail.com> wrote:
>
>> On 2017-03-21, VanguardLH <V@nguard.LH> wrote:
>>> tlvp <mPiOsUcB.EtLlLvEp@att.net> wrote:
>>>
>>>> VanguardLH wrote:
>>>> 
>>>>> While Dialog will render HTML posts that others submitted, it was not
>>>>> designed to be an HTML *editor* (for new e-mails or newsgroup posts).
>>>>> ... [etc.] ...
>>>> 
>>>> Thanks for confirming what I had feared. Have you any constructive
>>>> suggestions how I may then forward *as HTML*, to an email address of mine,
>>>> for archiving purposes, the occasional HTML posting to a binary group?
>>>> Dialog seems not to allow that ... or? 
>>>
>>> I looked at the Identity settings in Dialog to check on the SMTP
>>> setting.  There is no option in there to "forward as attachment" which
>>> would send the raw source (headers and body) as an attachment that an
>>> e-mail client could open to render the HTML.  There is no forwarding
>>> option.
>>>
>>> You can look at the raw source of a message and copy that - HTML tags
>>> and all.  Then paste the HTML code into a new e-mail that you send to
>>> yourself.  If the e-mail gets sent by your client as "Content:
>>> text/plain" format (you end up seeing the HTML coding in the received
>>> copy) then try copying the rendered version from Dialog and paste that
>>> into your e-mail client to send it to yourself.  Maybe that will send as
>>> "Content: text/html" format (so the client will honor the HTML tags).
>>>
>>> You don't need to send via e-mail to keep an archived copy.  You can
>>> just copy the raw source of a post (with HTML coding) into an .htm[l]
>>> file.  Open Notepad, copy in the HTML source of the message, and tell
>>> Notepad to save to an .htm file (without adding the .txt extension).
>>> When you later double-click on it, it will load in your web browser and
>>> render the HTML code.
>> 
>> Don't most newsreaders have a 'save message to a file' option?  Once
>> you've got the file saved you can attach it to an email being sent using
>> a proper email user agent.
>
> In Dialog, that saves the message in an .mbx file.  That's just text.
> With HTML coding, that's just text, too, so you would be attaching a
> file with HTML coding presented the same as all the rest of the text.
> That is, when you attach the .mbx file to an e-mail, it would be a
> text/plain MIME part.  The recipient would open the attachment and see
> all the HTML code instead of their client rendering those HTML tags.
> Probably depends on how the recipient's client handles attachments that
> are all text (which includes the HTML tags) and whether it attempts to
> render the code or just display as text all the HTML tags.

As long as Dialog leaves the headers intact and doesn't do anything
non-standard to the mbox file, it should be possible for any mbox-aware
email program to read or import the file as a normal email message
(RFC822) with 'text/plain' and 'text/html' parts, &/or 'attachments' as
described in the headers.  Sadly however, there is a lot less
standardisation than you'd expect in email files.

Some email programs (eg Claws Mail) allow the HTML part of a multipart
message to be saved as ... - if the file is saved as .htm then a web
browser that can open local files should be able to display it.  Lynx
can, and so can Opera 43.0 on my Linux system (try a URL along the lines
of <file:///home/Whiskers/Documents/test.htm>).  Sending a .htm file as an
attachment by email should work for any recipient whose email system is
set up to handle web pages as attachments.

This page might help
<http://kb.mozillazine.org/Importing_and_exporting_your_mail#Mbox_files>

-- 
-- ^^^^^^^^^^
--  Whiskers
-- ~~~~~~~~~~
Technical Details
Message-ID: <slrnod2u7i.fb9.catwheezel@ID-107770.user.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <10kpqaefpbdun.txaqb22p71ad.dlg@40tude.net> <ej9i13Ff90iU1@mid.individual.net> <vhksxlkwcqcf.15bs4fl6mibin.dlg@40tude.net> <ejbpdnFt305U1@mid.individual.net> <slrnod26uh.1lj.catwheezel@ID-107770.user.individual.net> <ejco2nF4dk0U1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnod2u7i.fb9.catwheezel@ID-107770.user.individual.net>
Subject: Re: Dialog HTML question
Date: Tue, 21 Mar 2017 19:03:14 +0000
From: Whiskers <catwheezel@operamail.com>
References: <10kpqaefpbdun.txaqb22p71ad.dlg@40tude.net> <ej9i13Ff90iU1@mid.individual.net> <vhksxlkwcqcf.15bs4fl6mibin.dlg@40tude.net> <ejbpdnFt305U1@mid.individual.net> <slrnod26uh.1lj.catwheezel@ID-107770.user.individual.net> <ejco2nF4dk0U1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 74
X-Trace: individual.net DPd1nsedCCQwypMTdYrVwApIN9dDE6V4/rdaWqYjxCoTuMW1O7
Cancel-Lock: sha1:AQS/GcG/X1UnquxYyX8tFTSyIrA=
X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_
 "Pmt)1xC~QW%bU/xrlDuux";aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00
 xYer];5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@
 p&  g^8<z5>HA
User-Agent: slrn/1.0.3 (Linux)
X-Received-Body-CRC: 2426264948
X-Received-Bytes: 4947