<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Courier New, Courier, monospace">Hi Julien,<br>
<br>
I did successfully send text files to the newsgroup using inews , I
tried to force inn to use txt/html as Content-Type to send html
articles..<br>
using newspost works fine only if I enable Inline attachment in my news
client ( Thunderbird ) to be able to read the article and not open it
as attachment.<br>
<br>
in inn.conf I added the following entry I don't know if it's valid or
not : <br>
<br>
mimecontenttype: "multipart/alternative; charset=<span
class="attribute-value">iso-8859-1</span>"<br>
<br>
or <br>
mimecontenttype: "text/html; charset=<span
class="attribute-value">iso-8859-1</span>"<br>
</font>
<pre wrap=""><font face="Courier New, Courier, monospace">
</font></pre>
<p><font face="Courier New, Courier, monospace">when I use inews, it
comes all plain text and even if I force the client to use html it will
not convert it because no mimes have been sent.</font></p>
<pre wrap=""><font face="Courier New, Courier, monospace">
Thanks
Rabie K
</font>
</pre>
<br>
<br>
<br>
<br>
On 09/28/2009 01:24 PM, Julien ÉLIE wrote:
<blockquote cite="mid:CC14F50B3713469DAC49CC6B88BD5DFD@Iulius"
type="cite">
<meta http-equiv="Context-Type"
content="text/html; charset=iso-8859-1">
<title>Re: alternative to newspost</title>
<p> Hi Rabie,<br>
<br>
> The problem that I am having now with newspost is that the content
comes as attachment and not as inline.<br>
><br>
> newspost -i nntpserver -z 119 -f <a class="moz-txt-link-abbreviated" href="mailto:rabie@rabie.net">rabie@rabie.net</a> -F nntpproject -n
newsgroupbb -s "Subject 1" /dbfiles/report_2009-09-18.html<br>
><br>
> with inews I think the only way to post an article you have to
open up a vi and not reading from a file.<br>
><br>
> is there a better way that I can use ?<br>
<br>
You can read from a file with inews. Just pipe its contents to inews.<br>
<br>
cat file | inews<br>
<br>
<a moz-do-not-send="true"
href="http://www.eyrie.org/%7Eeagle/software/inn/docs/inews.html">http://www.eyrie.org/~eagle/software/inn/docs/inews.html</a><br>
<br>
inews reads a Usenet news article, perhaps with headers, from<br>
file or standard input if no file is given.<br>
<br>
--<br>
Julien ÉLIE<br>
<br>
« Être en vacances, c'est n'avoir rien à faire et avoir<br>
toute la journée pour le faire. » (Robert Orben)<br>
<br>
</p>
</blockquote>
<br>
<br>
</body>
</html>