MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Mail from mud Update :)
Stephen Zepp wrote:
>
> Vadim Tkachenko wrote:
> >
> > Stephen,
> >
> [snip my request for suggestions]
> > 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.
> >
> > > Zoran
> >
> > --
> > Still alive and smile stays on,
> > Vadim Tkachenko <VadimT#4CS,Com>
> > --
> > UNIX _is_ user friendly, he's just very picky about who his friends are
>
> I went ahead and tried what KaVir suggested, and it worked pretty smoothly. the
> C system( "sendmail -s <subject>
> <address> <mail.file" ); worked, however, some lag is apparent since system waits
> for completion. I'll just have to
> research fork and do it that way.
>
> Thanks everyone for the help!
I'm catching up on xmas mail, so sorry if someone has mentioned this already...
try a & on the end of the command within system. I use a similar thing to
delete player-recognition files - system("rm -f -r ../known/*/Kavir &"); or
whatever. I really need to find some effective way to pack info about everyone
you know into a single file, yet have a decent way of removing all knowledge of
you from everyone elses file when you die...
KaVir.
- Thread context:
- Re: [MUD-Dev] Commercial value of RP, (continued)
- my bio (was Re: [MUD-Dev] Mud-Dev FAQ),
Mike Sellers mike#online-alchemy,com, Mon 05 Jan 1998, 06:11 GMT
- Who's bugging who? : was- Wild West,
Jon A. Lambert jlsysinc#ix,netcom.com, Sun 04 Jan 1998, 20:44 GMT
- Re: [MUD-Dev] Circumstances & Situations,
Richard Woolcock KaVir#dial,pipex.com, Sun 04 Jan 1998, 01:15 GMT
- Re: [MUD-Dev] Mail from mud Update :),
Richard Woolcock KaVir#dial,pipex.com, Sun 04 Jan 1998, 01:10 GMT
- Mud-Dev FAQ,
Ling K.L.Lo-94#student,lboro.ac.uk, Sat 03 Jan 1998, 16:44 GMT
[ Other Periods
| Other mailing lists
| Search
]