delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/21/07:30:09

From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
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: <ahdopn$s1rvd$1 AT ID-79865 DOT news DOT dfncis DOT de>
NNTP-Posting-Host: modem-95.barium.dialup.pol.co.uk
Mime-Version: 1.0
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/ ]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019