From: Richard Dawe Newsgroups: comp.os.msdos.djgpp Subject: Re: Sending email from C++ program in gcc/gpp Date: Sun, 21 Jul 2002 10:19:42 +0100 Lines: 22 Message-ID: <3D3A7CAE.16817841@phekda.freeserve.co.uk> References: NNTP-Posting-Host: modem-95.barium.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newsg4.svr.pol.co.uk 1027250697 29668 62.136.47.95 (21 Jul 2002 11:24:57 GMT) NNTP-Posting-Date: 21 Jul 2002 11:24:57 GMT X-Complaints-To: abuse AT theplanet DOT net X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586) X-Accept-Language: de,fr To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello. Alex Vinokur wrote: > Is it possible to send email from C/C++ program in gcc/gpp ? > For instance, using system() ? Yes. Use google to search for a program called Blat. As an example: You can set up the DJGPP port of Emacs to use Blat to send e-mail and it works nicely. Eli Zaretskii has some Emacs scripts to do this, which I've been using for a while. The problem with using external programs is that you need to have a version of the program per platform, i.e.: one for DOS, one for Windows. If you don't care about DOS, then things get easier. 8) In pakke, a package manager for DJGPP, we use GNU wget to download packages automatically from the Internet. That seems to work quite well. HTH, regards, -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]