1997Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Mail from mud -->
<!--X-From-R13: Hnqvz Fxnpuraxb <inqvzgN4pf.pbz> -->
<!--X-Date: Tue, 23 Dec 1997 17:12:05 +0000 -->
<!--X-Message-Id: 349FF0CC.CA5F5222#4cs,com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 349CCD09.2533256C#enid,com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  Mail from mud</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:vadimt#4cs,com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00938.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00940.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00919.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00940.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00939">Author</A>
&nbsp;|&nbsp;<A HREF="#00939">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00939">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  Mail from mud</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev]  Mail from mud</LI>
<LI><em>From</em>: Vadim Tkachenko &lt;<A HREF="mailto:vadimt#4cs,com">vadimt#4cs,com</A>&gt;</LI>
<LI><em>Date</em>: Tue, 23 Dec 1997 11:11:40 -0600</LI>
<LI><em>Sender</em>: <A HREF="mailto:vt#vadimt,4cs.com">vt#vadimt,4cs.com</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Stephen,

&gt; Heyas...gonna ask for a little technical info here.  I would like to have my code be able to send a mail message to the
&gt; player, using a stored email address, but I'm not too sure how to go about constructing a valid message/header, etc.
&gt; Anyone done this, or something similar?  I was thinking of somehow writing a file, then sending a command to the shell
&gt; from the mud queueing the mail for delivery, but I really am not sure how to do that..

As for me, the most straightforward way of sending mail is to use
sendmail. If you're operating in UNIX, that's peanuts, especially perl - 

open( SENDMAIL,"|`which sendmail`" );
print SENDMAIL ... # Don't forget your headers, as in RFC822
close SENDMAIL; # This commits the delivery, otherwise it will wait
until your process terminates, which is probably not what you want :-)

Syntax is approximate, you WANT to check it :-)

In other cases/operating systems, it would be probably better to talk to
sendmail too - you just telnet (open socket connection) to the nearby
UNIX' port 25 and go ahead as RFC822 says.

Draft Java implementation is available on request.

&gt; Zoran

-- 
Still alive and smile stays on,
Vadim Tkachenko &lt;VadimT#4CS,Com&gt;
--
UNIX _is_ user friendly, he's just very picky about who his friends are

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00940" HREF="msg00940.html">Re: [MUD-Dev]  Mail from mud Update :)</A></strong>
<ul compact><li><em>From:</em> Stephen Zepp &lt;zoran#enid,com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00899" HREF="msg00899.html">Mail from mud</A></STRONG>
<UL><LI><EM>From:</EM> Stephen Zepp &lt;zoran#enid,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00938.html">Re: [MUD-Dev]  Re: (no subject)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00940.html">Re: [MUD-Dev]  Mail from mud Update :)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00919.html">Re: [MUD-Dev]  Mail from mud</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00940.html">Re: [MUD-Dev]  Mail from mud Update :)</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00939"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00939"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><strong><A NAME="00899" HREF="msg00899.html">Mail from mud</A></strong>, 
Stephen Zepp <a href="mailto:zoran#enid,com">zoran#enid,com</a>, Sun 21 Dec 1997, 08:02 GMT
<UL>
<LI><strong><A NAME="00911" HREF="msg00911.html">Re: [MUD-Dev]  Mail from mud</A></strong>, 
Richard Woolcock <a href="mailto:KaVir#dial,pipex.com">KaVir#dial,pipex.com</a>, Mon 22 Dec 1997, 12:25 GMT
</LI>
<LI><strong><A NAME="00913" HREF="msg00913.html">Re: [MUD-Dev]  Mail from mud</A></strong>, 
Miroslav Silovic <a href="mailto:silovic#zesoi,fer.hr">silovic#zesoi,fer.hr</a>, Mon 22 Dec 1997, 15:07 GMT
<UL>
<LI><strong><A NAME="00919" HREF="msg00919.html">Re: [MUD-Dev]  Mail from mud</A></strong>, 
Brandon Gillespie <a href="mailto:brandon#roguetrader,com">brandon#roguetrader,com</a>, Mon 22 Dec 1997, 17:17 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00939" HREF="msg00939.html">Re: [MUD-Dev]  Mail from mud</A></strong>, 
Vadim Tkachenko <a href="mailto:vadimt#4cs,com">vadimt#4cs,com</a>, Tue 23 Dec 1997, 17:12 GMT
<UL>
<LI><strong><A NAME="00940" HREF="msg00940.html">Re: [MUD-Dev]  Mail from mud Update :)</A></strong>, 
Stephen Zepp <a href="mailto:zoran#enid,com">zoran#enid,com</a>, Tue 23 Dec 1997, 19:51 GMT
<UL>
<LI><strong><A NAME="00941" HREF="msg00941.html">Re: [MUD-Dev]  Mail from mud Update :)</A></strong>, 
Vadim Tkachenko <a href="mailto:vadimt#4cs,com">vadimt#4cs,com</a>, Tue 23 Dec 1997, 20:40 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00892" HREF="msg00892.html">META: nospam in email addresses</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Sat 20 Dec 1997, 21:48 GMT
<LI><strong><A NAME="00891" HREF="msg00891.html">OT: My Web Page</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Sat 20 Dec 1997, 19:23 GMT
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>