Date: Thu, 31 May 2001 15:51:29 -0400 (EDT) From: Jim Freeze <jim@freeze.org> To: Eric Boucher <eric_boucher60@yahoo.com> Cc: FreeBSD <freebsd-questions@FreeBSD.ORG> Subject: Re: send e-mail in a plain unix-shell Message-ID: <Pine.BSF.4.32.0105311549460.50482-100000@www.stelesys.com> In-Reply-To: <Pine.BSF.4.32.0105311545210.50482-100000@www.stelesys.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 31 May 2001, Jim Freeze wrote: > On Thu, 31 May 2001, Eric Boucher wrote: > > > Hi everyone, > > > > Is it possible to send e-mail in a plain unix shell > > with the command line (so without X-server) to the > > internet? Is the command line "mail username" can do > > the trick? If it's possible, how can I do it (with > > which command)? > You can try mail or sendmail. > > sendmail usr@domain.com > Subject: <put subject here> > Type text here. > End with . on first column. Oops, got caught with that . in the first column and my message was prematurely terminated. Also, try sendmail usr@domain.com < file where file is --begin file-- Subject: <subject> From: <optional from> To: <optional to> Message --end file-- HTH Jim ========================================================= Jim Freeze jim@freeze.org --------------------------------------------------------- No comment at this time. http://www.freeze.org ========================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.32.0105311549460.50482-100000>