🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #261692

Re: Request help with 40tude dialog program syntax

#261692
From: Stijn De Jong
Date: Mon, 09 Jan 2017 01:32
22 lines
2336 bytes
On Sun, 8 Jan 2017 20:32:35 +0700, you wrote:

> Whoops. That line (at start of OnBeforeSendingMessage) should have been:
> 
>   GetIdentities(message, servername, true, FromIdentity,
>     NewsgroupIdentity, ServerIdentity);
> 
> i.e. the third parameter should be `true` instead of `isEmail`, so that the
> function works for both newsgroup and email message. Previously, it won't
> work if the message being sent is an email.
> 
> I hope that's the last of my goofs.
> 
> PS) Please post the script to PasteBin instead of newsgroup, because long
> lines got broken into separate lines. It can cause syntax error when
> compiled if the script was copy+pasted from the newsgroup message.

To give back to the ng, here is the update, with many new explanatory
comments also added.

// JJAddAndRemoveHeadersWhileCheckingNewsgroupsIdentitiesAndServers  
// version 1.01 January 9th 2017 "http://pastebin.com/A4Aq0T6T"
Technical Details
Message-ID: <o4up86$1brp$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <o491jh$7jr$1@gioia.aioe.org> <o4926s$933$1@gioia.aioe.org> <o492qg$a9k$1@gioia.aioe.org> <1ibo1gzmbqy5b.33119bupvh2q.dlg@40tude.net> <o4h57j$hhe$6@news.mixmin.net> <o4jr33$u80$1@news.mixmin.net> <7vpx5y09pu98.1sukl5d600sda$.dlg@40tude.net> <o4mllr$1tes$1@gioia.aioe.org> <o4mmls$1ufs$1@gioia.aioe.org> <o4mp2u$1mp$1@gioia.aioe.org> <o4mqdl$3dn$1@gioia.aioe.org> <18a15xlqpx8bu$.p7s6f5qnpimv$.dlg@40tude.net> <o4p63d$1jiv$1@gioia.aioe.org> <2nmhjmd7yn5z.7aee9qvl2s4h.dlg@40tude.net> <o4rrp6$1uh9$1@gioia.aioe.org> <o4s14o$80h$1@gioia.aioe.org> <raqqb2wh4vt$.1osst5ylm2z2k$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <o4up86$1brp$1@gioia.aioe.org>
Subject: Re: Request help with 40tude dialog program syntax
Date: Mon, 09 Jan 2017 01:32:55 +0000
From: Stijn De Jong <stijndekoning@nlnet.nl>
References: <o491jh$7jr$1@gioia.aioe.org> <o4926s$933$1@gioia.aioe.org> <o492qg$a9k$1@gioia.aioe.org> <1ibo1gzmbqy5b.33119bupvh2q.dlg@40tude.net> <o4h57j$hhe$6@news.mixmin.net> <o4jr33$u80$1@news.mixmin.net> <7vpx5y09pu98.1sukl5d600sda$.dlg@40tude.net> <o4mllr$1tes$1@gioia.aioe.org> <o4mmls$1ufs$1@gioia.aioe.org> <o4mp2u$1mp$1@gioia.aioe.org> <o4mqdl$3dn$1@gioia.aioe.org> <18a15xlqpx8bu$.p7s6f5qnpimv$.dlg@40tude.net> <o4p63d$1jiv$1@gioia.aioe.org> <2nmhjmd7yn5z.7aee9qvl2s4h.dlg@40tude.net> <o4rrp6$1uh9$1@gioia.aioe.org> <o4s14o$80h$1@gioia.aioe.org> <raqqb2wh4vt$.1osst5ylm2z2k$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers,alt.windows7.general,alt.os.linux
Organization: Aioe.org NNTP Server
Lines: 22
NNTP-Posting-Host: hfOAoZlqGeFs4SUbLxBJ8Q.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
X-Notice: Filtered by postfilter v. 0.8.2
X-Received-Body-CRC: 2155523306
X-Received-Bytes: 2255