Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #40914
| Path | csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Ian Collins <ian-news@hotmail.com> |
| Newsgroups | comp.lang.c++ |
| Subject | Re: send email and socket programming |
| Date | Mon, 15 Feb 2016 08:40:10 +1300 |
| Lines | 37 |
| Message-ID | <dic3gqFqc0vU5@mid.individual.net> (permalink) |
| References | <n9qbsn$of7$1@gioia.aioe.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-15; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net 3x7kBOf514HXQXgJ9R5b5QR74vpXBTaTbbXn7L3SZLBhsYlQRh |
| Cancel-Lock | sha1:hfMKZjl5oEIZZw+OrlCjacm5aXU= |
| User-Agent | Mozilla/5.0 (X11; SunOS i86pc; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
| In-Reply-To | <n9qbsn$of7$1@gioia.aioe.org> |
| Xref | csiph.com comp.lang.c++:40914 |
Show key headers only | View raw
alexo wrote: > Hello group, > > I've written for UNIX a little program [FLTK] that needs to send an > order through e-mail. > > I'm absolutely new to socket programming so you are my first attempt. > In a couple of tutorials I've built a pair of toy client/server programs > that showed me how to use sockets. It seems not so hard to program them, > but I need some help and infos. > > My program is intended to be a stand alone program with a send button. > When the user hits the send button I'd like it (the program) sends an > email to my email address with the order message in it. > > I know that SMTP port is 25, but I don't know how to configure the > aspects required. > > Could you please guide me through that, or could you link me to a clear > intro of the subject? Your issue isn't socket programming, it is how to use SMTP! You need a configured SMTP server to interact with and you need to know how to do this. > My program, as already said, is written for Linux, but I'll later > convert it to Windows where it is intended to run. > Conversion of the GUI part is not necessary since FLTK is a > cross-platform graphic library, but socket programming is dependent on > architecture. The functions to invoke are of course different, and I'll > appreciate it so much if you could explain how to send email from a > C/C++ program using TCP/IP o SMTP for both linux and windows. Using winsock on Windows is almost identical to using sockets on a POSIX system. -- Ian Collins
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
send email and socket programming alexo <alelvb@inwind.it> - 2016-02-14 18:01 +0100
Re: send email and socket programming JiiPee <no@notvalid.com> - 2016-02-14 17:07 +0000
Re: send email and socket programming JiiPee <no@notvalid.com> - 2016-02-14 17:12 +0000
Re: send email and socket programming alexo <alelvb@inwind.it> - 2016-02-14 19:44 +0100
Re: send email and socket programming Paavo Helde <myfirstname@osa.pri.ee> - 2016-02-14 19:18 +0200
Re: send email and socket programming Öö Tiib <ootiib@hot.ee> - 2016-02-14 09:39 -0800
Re: send email and socket programming alexo <alelvb@inwind.it> - 2016-02-14 20:23 +0100
Re: send email and socket programming woodbrian77@gmail.com - 2016-02-14 10:47 -0800
Re: send email and socket programming Paavo Helde <myfirstname@osa.pri.ee> - 2016-02-14 21:19 +0200
Re: send email and socket programming alexo <alelvb@inwind.it> - 2016-02-14 20:29 +0100
Re: send email and socket programming Paavo Helde <myfirstname@osa.pri.ee> - 2016-02-14 22:29 +0200
Re: send email and socket programming alexo <alelvb@inwind.it> - 2016-02-14 22:45 +0100
Re: send email and socket programming Paavo Helde <myfirstname@osa.pri.ee> - 2016-02-15 00:15 +0200
Re: send email and socket programming Paavo Helde <myfirstname@osa.pri.ee> - 2016-02-15 00:39 +0200
Re: send email and socket programming Chris Vine <chris@cvine--nospam--.freeserve.co.uk> - 2016-02-14 23:01 +0000
Re: send email and socket programming Geoff <geoff@invalid.invalid> - 2016-02-14 15:22 -0800
Re: send email and socket programming Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-14 18:41 -0500
Re: send email and socket programming Chris Vine <chris@cvine--nospam--.freeserve.co.uk> - 2016-02-14 23:43 +0000
Re: send email and socket programming Geoff <geoff@invalid.invalid> - 2016-02-14 17:33 -0800
Re: send email and socket programming Paavo Helde <myfirstname@osa.pri.ee> - 2016-02-15 09:37 +0200
Re: send email and socket programming Chris Vine <chris@cvine--nospam--.freeserve.co.uk> - 2016-02-15 10:04 +0000
Re: send email and socket programming Chris Vine <chris@cvine--nospam--.freeserve.co.uk> - 2016-02-15 10:14 +0000
Re: send email and socket programming Geoff <geoff@invalid.invalid> - 2016-02-15 10:11 -0800
Re: send email and socket programming Geoff <geoff@invalid.invalid> - 2016-02-14 15:16 -0800
Re: send email and socket programming Ian Collins <ian-news@hotmail.com> - 2016-02-15 08:40 +1300
Re: send email and socket programming "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-02-14 12:09 -0800
Re: send email and socket programming Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-14 16:04 -0500
Re: send email and socket programming jt@toerring.de (Jens Thoms Toerring) - 2016-02-14 21:20 +0000
Re: send email and socket programming alexo <alelvb@inwind.it> - 2016-02-14 22:40 +0100
Re: send email and socket programming Chris Vine <chris@cvine--nospam--.freeserve.co.uk> - 2016-02-14 22:20 +0000
Re: send email and socket programming Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-14 18:01 -0500
Re: send email and socket programming Ian Collins <ian-news@hotmail.com> - 2016-02-15 12:09 +1300
Re: send email and socket programming Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-14 18:37 -0500
Re: send email and socket programming Ian Collins <ian-news@hotmail.com> - 2016-02-15 13:06 +1300
Re: send email and socket programming Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-14 21:40 -0500
Re: send email and socket programming Chris Vine <chris@cvine--nospam--.freeserve.co.uk> - 2016-02-14 23:35 +0000
Re: send email and socket programming Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-14 21:43 -0500
Re: send email and socket programming Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-14 18:05 -0500
Re: send email and socket programming Christopher Pisz <nospam@notanaddress.com> - 2016-02-16 16:39 -0600
Re: send email and socket programming alexo <alelvb@inwind.it> - 2016-02-26 04:09 +0100
Re: send email and socket programming Paavo Helde <myfirstname@osa.pri.ee> - 2016-02-26 07:49 +0200
Re: send email and socket programming Paavo Helde <myfirstname@osa.pri.ee> - 2016-02-26 08:39 +0200
Re: send email and socket programming alexo <alelvb@inwind.it> - 2016-02-26 13:15 +0100
Re: send email and socket programming Paavo Helde <myfirstname@osa.pri.ee> - 2016-02-26 14:40 +0200
Re: send email and socket programming Christopher Pisz <nospam@notanaddress.com> - 2016-02-26 16:41 -0600
Re: send email and socket programming alexo <alelvb@inwind.it> - 2016-02-27 13:38 +0100
Re: send email and socket programming Öö Tiib <ootiib@hot.ee> - 2016-02-27 05:15 -0800
Re: send email and socket programming alexo <alelvb@inwind.it> - 2016-02-27 18:59 +0100
Re: send email and socket programming Öö Tiib <ootiib@hot.ee> - 2016-02-27 10:41 -0800
Re: send email and socket programming Paavo Helde <myfirstname@osa.pri.ee> - 2016-02-27 21:46 +0200
Re: send email and socket programming alexo <alelvb@inwind.it> - 2016-02-27 13:42 +0100
Re: send email and socket programming alexo <alelvb@inwind.it> - 2016-02-27 19:14 +0100
Re: send email and socket programming alexo <alelvb@inwind.it> - 2016-02-27 19:22 +0100
Re: send email and socket programming guinness.tony@gmail.com - 2016-02-28 14:19 -0800
Re: send email and socket programming alexo <alelvb@inwind.it> - 2016-02-27 18:44 +0100
Re: send email and socket programming Jorgen Grahn <grahn+nntp@snipabacken.se> - 2016-02-27 17:59 +0000
Re: send email and socket programming alexo <alelvb@inwind.it> - 2016-02-29 14:16 +0100
csiph-web