[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trivial SMTP client
On Fri, Mar 29, 2002 at 08:16:23PM -0800, Dave Taira wrote:
> On Fri, 29 Mar 2002, David S. wrote:
>
> > (Re-inventing the wheel) You could do the 'telnet' trick with
> > 'expect'. But 'telnet' + 'expect' + 'tcl' + ... would not be
> > a "small" SMTP client.
>
> You could also use nc(1). As long as you generate the right
> text, it should work. Something like:
It's a nice idea, but it don't work. Try it and see. Neither does
telnet--SMTP really does want to have a dialog, not just a pair of
firehoses spewing at each other.
I'd still recommend Sendmail, but there's at least one port in the
tree that'll do the trick.
b&
--
Ben Goren
mailto:ben@trumpetpower.com
http://www.trumpetpower.com/
icbm:33o25'37"N_111o57'32"W
[demime 0.98d removed an attachment of type application/pgp-signature]