From owner-freebsd-questions Fri Jun 4 5:35: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from boy.rpd.univ.kiev.ua (boy.rpd.univ.kiev.ua [193.125.78.117]) by hub.freebsd.org (Postfix) with ESMTP id 8910C15188 for ; Fri, 4 Jun 1999 05:34:59 -0700 (PDT) (envelope-from gonzo@boy.rpd.univ.kiev.ua) Received: from localhost (gonzo@localhost) by boy.rpd.univ.kiev.ua (8.9.2/8.9.3) with ESMTP id PAA43105; Fri, 4 Jun 1999 15:34:36 +0300 (EEST) Date: Fri, 4 Jun 1999 15:34:36 +0300 (EEST) From: GonZo To: Alexey Ryndin Cc: questions@FreeBSD.ORG Subject: Re: mail In-Reply-To: <3757FD22.9BA9183F@cityline.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On perl : open(MAIL,"|/usr/bin/mail gonzo\@foo.bar"); print MAIL "Testing mail..."; close(MAIL); On C : fd = open("file",O_RDWR); write(fd,message,sizeof(message)); close(fd); system("/usr/local/bin/fastmail file gonzo@foo.bar"); --------------- Or something like that WBR GonZo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message