Article View: news.software.readers
Article #144156Re: [Dialog] How to set an "odd" header...
From: Gnoopy
Date: Wed, 25 Feb 2004 09:47
Date: Wed, 25 Feb 2004 09:47
51 lines
2960 bytes
2960 bytes
Op 24 Feb 2004 22:11:59 GMT schreef Tech Zero:
> It was posted 5 hours after I made reply post...
now, your reply post is even longer ago...
> Assign 'FUR' to cGroup wouldn't work, because it catches more groups
> then those that start with "FUR", just like 'news' catches more then
> just this group. It's not an adequate solution, but thanks anyways.
we don't give up this easily (at least, I don't)
let give this script a chance
const cNewsgroups = 'Newsgroups: ';
cGroup = 'news.';
nGroup = '.news.'; // we don't want this into the name of the newsgroup
cDistribution = 'Distribution: fur';
function OnBeforeSendingMessage(var Message: TStringlist; Servername:
string; IsEmail: boolean):boolean;
var i : integer;
begin
for i := 0 to message.count-1 do
begin
if copy(message.strings[i], 1, length(cNewsgroups)) = cNewsgroups
then
begin
if (pos(cGroup, message.strings[i]) > 0) and (pos(cGroup,
message.string[i]) = 0) then
begin
message.insert (1, cDistribution);
break;
end;
end;
end;
end;
begin
end.
(This script is tested in this message)
--
Greetz,
Gnoopy
¿para quen traballas? para o DEMO. (o demo quere entropía (H) e controla a
termodinámica); rm -rf /; make 100 pipe(r)s;
Technical Details
Message-ID:
<1fmx4zdt4qqp4.1vu3pnkqcwwrv$.dlg@40tude.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.20140922.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!easynews.net!newsfeed3.easynews.net!feed1.news.be.easynet.net!ossa.telenet-ops.be!hestia.telenet-ops.be.POSTED!not-for-mailReferences:
<Xns9492A8C773173ZeroOne@news.individual.net> <0Nydne7ZLslSaK_d4p2dnA@giganews.com> <pl4z8pkp67uw.1w1b60rml62f8$.dlg@40tude.net> <Xns949869CFD47D7ZeroOne@news.individual.net> <x4aobdjl9uer.1pmk07u31h857.dlg@40tude.net> <Xns94999ABE3B788ZeroOne@news.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <1fmx4zdt4qqp4.1vu3pnkqcwwrv$.dlg@40tude.net>
Subject: Re: [Dialog] How to set an "odd" header...
Date: Wed, 25 Feb 2004 09:47:07 GMT
From: Gnoopy <gnoopyVERWIJDEREN@yucom.be>
References: <Xns9492A8C773173ZeroOne@news.individual.net> <0Nydne7ZLslSaK_d4p2dnA@giganews.com> <pl4z8pkp67uw.1w1b60rml62f8$.dlg@40tude.net> <Xns949869CFD47D7ZeroOne@news.individual.net> <x4aobdjl9uer.1pmk07u31h857.dlg@40tude.net> <Xns94999ABE3B788ZeroOne@news.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.20140922.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!easynews.net!newsfeed3.easynews.net!feed1.news.be.easynet.net!ossa.telenet-ops.be!hestia.telenet-ops.be.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.10.1nl
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Face: %}BhvHUV<//er~>@_$KLO/M0:{nvCc$mw}yyN5$Zta5*1${m_Tg)WaWxT)C}!On=C/FB`%b
LCYjh9RTaxwv"$<.njJ#7,9gkT?-]IaIwDE._he>Cie}; =!/
Lines: 51
NNTP-Posting-Host: 213.119.69.163
X-Complaints-To: abuse@telenet.be
X-Trace: hestia.telenet-ops.be 1077702427 213.119.69.163 (Wed,
NNTP-Posting-Date: Wed, 25 Feb 2004 10:47:07 CET
Organization: Telenet Internet