🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #261659

Re: Request help with 40tude dialog program syntax

#261659
From: Stijn De Jong
Date: Fri, 06 Jan 2017 00:41
25 lines
1906 bytes
On Fri, 6 Jan 2017 00:59:55 +0100, you wrote:

> But this had some kind of syntax error

The script compiles, executes, and saves without error.

The only error I'm getting is Dialog is complaining when I actually send 
the message.

Then I get the following error:

Posting article failed: 437 Space before colon in "On Fri, 6 Jan 2017" 
header;

I think it may be related to the add header where you warned me to add the
CR+LF (aka #13#10) but I didn't initially heed that warning.

If you get this, then adding the pount13-pound10 CR+LF worked.

  if FromIdentity = 'id1' then
  begin
    ForNewsgroup := true;
    Remove_Headers := 'User-Agent: ,Message-ID: ';  
    Add_Headers := 'X-Comment: JJ is a veritable genius!'#13#10;
  end
Technical Details
Message-ID: <o4mp2u$1mp$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>

Show Full Headers
Complete Article Headers
Message-ID: <o4mp2u$1mp$1@gioia.aioe.org>
Subject: Re: Request help with 40tude dialog program syntax
Date: Fri, 06 Jan 2017 00:41:03 +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>
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
Organization: Aioe.org NNTP Server
Lines: 25
NNTP-Posting-Host: hfOAoZlqGeFs4SUbLxBJ8Q.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
X-Notice: Filtered by postfilter v. 0.8.2
X-Comment: If this actually shows up, JJ is a veritable genius!
X-Received-Bytes: 1861
X-Received-Body-CRC: 4031431092