From owner-freebsd-questions Wed Mar 31 16:15:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from house.key.net.au (house.key.net.au [203.35.4.2]) by hub.freebsd.org (Postfix) with ESMTP id 6761D15194 for ; Wed, 31 Mar 1999 16:15:15 -0800 (PST) (envelope-from keith56@apcs.com.au) Received: from localhost (keith56@localhost) by house.key.net.au (8.8.8/8.8.8) with SMTP id KAA08443; Thu, 1 Apr 1999 10:14:46 +1000 (EST) (envelope-from keith56@apcs.com.au) Date: Thu, 1 Apr 1999 10:14:46 +1000 (EST) From: "Keith Anderson " X-Sender: keith56@localhost To: Ronald Petty Cc: freebsd-questions@FreeBSD.ORG Subject: Re: email In-Reply-To: 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 Hi ronald A quick way is to use the system system("cat email.txt |sendmail repett0@sac.uky.edu"); Keith On Wed, 31 Mar 1999, Ronald Petty wrote: > > how do you send mail from a c++ program. I have data stored in variables, > and this data needs to be send to only one address. I don't know how to > make it send the value of the variable and not the name of it. > > Ron > > ======================================================================== > Ron Petty 252-7173, repett0@sac.uky.edu, Aprt 108 217 Virginia Avenue > ======================================================================== > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message