Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 1999 10:14:46 +1000 (EST)
From:      "Keith Anderson <keith@apcs.com.au>" <keith56@apcs.com.au>
To:        Ronald Petty <repett0@sac.uky.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: email
Message-ID:  <Pine.BSF.3.96.990401101201.7732C-100000@localhost>
In-Reply-To: <Pine.HPP.3.92.990331132730.2773C-100000@sac.uky.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990401101201.7732C-100000>