[Xitami] how add a mail server to xitami

Francis Turner xitami@lists.xitami.org
Mon, 23 Jul 2001 22:25:28 -0400


--------------070102060805050509070104
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Umm - if  you are creating more than 25 line mail messages I think 
you'll have a stalled program waiting for someone to press enter if you 
do something like you propose.

Not quite sure what the solution is unless you have perl. If you have 
perl then a bat file that invokes perl and then does a file append would 
work for sure.

Francis

Paul Reid wrote:

>>   a program I can run on my win2k machine without being connected to the internet and for testing of certain e-mail functions in my websites which I am testing ...  
> 
> 
> OH!
> 
> You don't need email? You need something to catch what a script sends to
> sendmail? 
> 
> Create a plain text file, named SENDMAIL.BAT , and put this line in it:
> 
>  more >> C:\sentmail.txt
> 
> Save SENDMAIL.BAT "someplace". Where? Since most perl scripts using
> sendmail assume it is some place like /usr/bin , you could try making a
> folder of that name on the same drive as Xitami, and put it there. OR,
> put it some place you like and edit your perl scripts to point to it.
> Whichever is easier. 
> 
> For initial testing, find or make a small text file and copy it to the
> same folder as SENDMAIL.BAT. Let's say the text file is called TEST.TXT. 
> Open a DOS window and CD to that folder. The command 
> 
>   SENDMAIL < TEST.TXT
> 
> should run without complaint. Now look for the file C:\sentmail.txt and
> open it. Should contain the words in TEST.TXT. Each time you run
> SENDMAIL, the text sent through it will be appended to the end of
> C:\SENTMAIL.TXT


-- 
"Education is when you read the fine print; 
 experience is what you get when you don't." Pete Seeger


--------------070102060805050509070104
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html><head></head><body>Umm - if&nbsp; you are creating more than 25 line mail
messages I think you'll have a stalled program waiting for someone to press
enter if you do something like you propose.<br>
<br>
Not quite sure what the solution is unless you have perl. If you have perl
then a bat file that invokes perl and then does a file append would work
for sure.<br>
<br>
Francis<br>
<br>
Paul Reid wrote:<br>
<blockquote type="cite" cite="mid:3B5C81D7.2EC525D6@rci.rutgers.edu">
  <blockquote type="cite"><pre wrap="">  a program I can run on my win2k machine without being connected to the internet and for testing of certain e-mail functions in my websites which I am testing ...  <br></pre></blockquote>
    <pre wrap=""><!----><br>OH!<br><br>You don't need email? You need something to catch what a script sends to<br>sendmail? <br><br>Create a plain text file, named SENDMAIL.BAT , and put this line in it:<br><br> more &gt;&gt; C:\sentmail.txt<br><br>Save SENDMAIL.BAT "someplace". Where? Since most perl scripts using<br>sendmail assume it is some place like /usr/bin , you could try making a<br>folder of that name on the same drive as Xitami, and put it there. OR,<br>put it some place you like and edit your perl scripts to point to it.<br>Whichever is easier. <br><br>For initial testing, find or make a small text file and copy it to the<br>same folder as SENDMAIL.BAT. Let's say the text file is called TEST.TXT. <br>Open a DOS window and CD to that folder. The command <br><br>  SENDMAIL &lt; TEST.TXT<br><br>should run without complaint. Now look for the file C:\sentmail.txt and<br>open it. Should contain the words in TEST.TXT. Each time you run<br>SENDMAIL, the text sent through it will
 be appended to the end of<br>C:\SENTMAIL.TXT<br></pre>
    </blockquote>
    <br>
    <pre class="moz-signature">-- 
"Education is when you read the fine print; 
 experience is what you get when you don't." Pete Seeger
</pre>
    <br>
</body></html>
--------------070102060805050509070104--