🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #70504

Decoding messages with attachments

#70504
From: Princess Morgiah
Date: Tue, 28 Dec 2004 20:09
25 lines
1852 bytes
Hi everyone,

I'm trying to write my own newsreader/downloader and have stumbled upon a
slight problem.

When I download a message from usenet, how do I find out:
- whether or not the message has attachments?
- whether or not those messages are mime attachments?
- whether or not those messages are yenc attachments?

After looking at the messages, I can figure out the type of encoding from
the first part of the message (default yenc/mime headers), but I'm not sure
if that is the way to go.

For example: I can see some headers on both type of messages, but I also see
a lot of mime messages starting with just "begin 644 ". What if I start a
simple email message with this header?

Any kind of information is welcome!

Thanks in advance,

Princess Morgiah

Technical Details
Message-ID: <54jAd.12755$op.747589@phobos.telenet-ops.be>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder1.cambrium.nl!feed.tweaknews.nl!skynet.be!skynet.be!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <54jAd.12755$op.747589@phobos.telenet-ops.be>
Subject: Decoding messages with attachments
Date: Tue, 28 Dec 2004 20:09:37 GMT
From: "Princess Morgiah" <princess_morgiah_nospamplease@yahoo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder1.cambrium.nl!feed.tweaknews.nl!skynet.be!skynet.be!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mail
Newsgroups: news.software.nntp
Lines: 25
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
NNTP-Posting-Host: 213.119.58.240
X-Complaints-To: abuse@telenet.be
X-Trace: phobos.telenet-ops.be 1104264577 213.119.58.240 (Tue,
NNTP-Posting-Date: Tue, 28 Dec 2004 21:09:37 MET
Organization: Telenet Internet