Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Mail from mud Update :)
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!
Z
- Thread context:
- Re: [MUD-Dev] Mail from mud, (continued)
- Re: [MUD-Dev] Mail from mud,
Richard Woolcock KaVir#dial,pipex.com, Mon 22 Dec 1997, 12:25 GMT
- Re: [MUD-Dev] Mail from mud,
Miroslav Silovic silovic#zesoi,fer.hr, Mon 22 Dec 1997, 15:07 GMT
- Re: [MUD-Dev] Mail from mud,
Vadim Tkachenko vadimt#4cs,com, Tue 23 Dec 1997, 17:12 GMT
- META: nospam in email addresses,
coder coder#ibm,net, Sat 20 Dec 1997, 21:48 GMT
- OT: My Web Page,
Jon A. Lambert jlsysinc#ix,netcom.com, Sat 20 Dec 1997, 19:23 GMT
- LIST: Now back on the air,
coder coder#ibm,net, Thu 18 Dec 1997, 06:21 GMT
[ Other Periods
| Other mailing lists
| Search
]