Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #40936
| From | Chris Vine <chris@cvine--nospam--.freeserve.co.uk> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: send email and socket programming |
| Date | 2016-02-14 23:35 +0000 |
| Organization | Datemas.de http://www.news.datemas.de |
| Message-ID | <20160214233500.731dfbeb@bother.homenet> (permalink) |
| References | <n9qbsn$of7$1@gioia.aioe.org> <dic9d3FjoceU1@mid.uni-berlin.de> <n9qs8l$1kcv$1@gioia.aioe.org> <20160214222003.53e88ad6@bother.homenet> <n9r0rk$ohh$1@jstuckle.eternal-september.org> |
On Sun, 14 Feb 2016 18:01:54 -0500 Jerry Stuckle <jstucklex@attglobal.net> wrote: > On 2/14/2016 5:20 PM, Chris Vine wrote: > > On Sun, 14 Feb 2016 22:40:37 +0100 > > alexo <alelvb@inwind.it> wrote: > > [snip] > >> Oh! > >> Really send a message to port 25 is so difficult? > >> So it seems my only chance is to build the server that listens to > >> my client program. But who assure me that the firewall doesn't > >> stop that incoming transmission? > > > > You are missing the point. Sending a message to port 25 is not > > difficult. There are also many implementations of SMTP servers out > > there and it would be ridiculous to code your own: if you need one I > > recommend postfix. > > > > However, your putative user probably does not have a mail server > > running on port 25 on localhost available to them for outgoing mail. > > Most consumer users set up their mail client to forward mail > > directly to their ISP's SMTP mail relay, and in such cases you > > would have to provide some means of allowing your users to do the > > same (that is, enter particulars of their mail relay), and then > > your program can call it up on port 25 in the ordinary way. > > > > If your user does have a mail server running on port 25 on > > localhost, with any unix-like system you can get your program to > > fire up the user's mailx program (this is the POSIX mail utility). > > > > Chris > > > > You are missing another point. Even if I do have an smtp server > running on my machine, I can't send email from it. Outbound > connections to port 25 are blocked by my ISP. That is true for many > ISPs - at least in the U.S. Having just discussed it with myself, I can detect no signs of having missed that. But the point is not that ISPs stop port 25 traffic leaking out of their system (I have not come across that), but that the spam blocker of the next ISP in the link will do so. > I use port 587 to connect to *my* MTA, which is in a data center and > has a static IP address. It also requires authentication and an > encrypted connection. That is great, but irrelevant to the OP's issue. I do encrypted tunnelling from my house in the country (when I am there) to my house in town, to dispatch my mail remotely. I think you need to resist the temptation to show you are clever. Chris
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