[twsocket] SMTP Server
Hello, I'd like to add to a desk application (C++Builder) running under W7 pro, the possibility for the user to send emails from this program. The TSmtpCli component is very convenient for that purpose, but the Smtp Server is not very easy to find, when it exists, in the register. Do you think it could be possible to implement such a Smtp Server using ICS Components? Thanks in advance. Gérard Colo g.c...@logicsystems.fr -Message d'origine- De : twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] De la part de twsocket-requ...@elists.org Envoyé : dimanche 23 octobre 2011 14:00 À : twsocket@elists.org Objet : TWSocket Digest, Vol 446, Issue 7 Send TWSocket mailing list submissions to twsocket@elists.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket or, via email, send a message with subject or body 'help' to twsocket-requ...@elists.org You can reach the person managing the list at twsocket-ow...@elists.org When replying, please edit your Subject line so it is more specific than Re: Contents of TWSocket digest... Today's Topics: 1. Re: HttpServer and Server-push? (Fastream Technologies) 2. Re: HttpServer and Server-push? (Angus Robertson - Magenta Systems Ltd) 3. Re: HttpServer and Server-push? (Fastream Technologies) 4. Re: HttpServer and Server-push? (Francois PIETTE) 5. Re: HttpServer and Server-push? (Fastream Technologies) -- Message: 1 Date: Sat, 22 Oct 2011 15:22:10 +0300 From: Fastream Technologies ga...@fastream.com Subject: Re: [twsocket] HttpServer and Server-push? To: ICS support mailing twsocket@elists.org Message-ID: cadmy-sf1mv0wx7zb9zxehloc6b-dw8ta204xqdtrgp+esvp...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 Unfortunately I do not have that much time. Why don't we collect some donation from members for some dedicated coder to implement this just as we did for ICS-SSL? Fastream can donate $600 to it for client and server. Best Regards, SubZero On Sat, Oct 22, 2011 at 14:51, Francois PIETTE francois.pie...@skynet.bewrote: I think we all need SPDY support: http://en.wikipedia.org/wiki/**SPDY http://en.wikipedia.org/wiki/SPDY Interesting. Why don't you start the development ? Using TSSLWSocket should be OK for that purpose. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-**bin/mailman/listinfo/twsockethttp://lists.eli sts.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- Message: 2 Date: Sat, 22 Oct 2011 14:23 +0100 (BST) From: Angus Robertson - Magenta Systems Ltd an...@magsys.co.uk Subject: Re: [twsocket] HttpServer and Server-push? To: twsocket@elists.org Message-ID: memo.20111022142344.99...@magsys.adsl.magsys.co.uk Content-Type: text/plain; charset=iso-8859-1 I think we all need SPDY support: http://en.wikipedia.org/wiki/SPDY Interesting. Why don't you start the development ? Except that it not supported by Internet Explorer or official Firefox releases. Angus -- Message: 3 Date: Sat, 22 Oct 2011 16:49:06 +0300 From: Fastream Technologies ga...@fastream.com Subject: Re: [twsocket] HttpServer and Server-push? To: ICS support mailing twsocket@elists.org Message-ID: CADmY-Sf5=axs++8+ioscmuo+gmttcidkxuofk9xmnwt_r-7...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 I hope they -especially MS- won't come up with an alternative standard! Best Regards, SZ On Sat, Oct 22, 2011 at 16:23, Angus Robertson - Magenta Systems Ltd an...@magsys.co.uk wrote: I think we all need SPDY support: http://en.wikipedia.org/wiki/SPDY Interesting. Why don't you start the development ? Except that it not supported by Internet Explorer or official Firefox releases. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- Message: 4 Date: Sat, 22 Oct 2011 16:02:44 +0200 From: Francois PIETTE francois.pie...@skynet.be Subject: Re: [twsocket] HttpServer and Server-push? To: ICS support mailing twsocket@elists.org Message-ID: 3F41EE7E68F140FBB5BCDC2C8059D0BB@Z600 Content-Type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original I think we all need SPDY support: http://en.wikipedia.org/wiki/SPDY Interesting. Why don't you start the development ? Using TSSLWSocket should be OK for that purpose. Unfortunately I do not have that much time. Why don't we collect some donation from members for some
Re: [twsocket] SMTP Server
You do not need to copy all the weekend messages to this list again when posting a simple request. Do you think it could be possible to implement such a Smtp Server using ICS Components? No, there are no ICS component to find the networking DNS servers. But you can do this with the Internet Protocol Helper Component from: http://www.magsys.co.uk/delphi/magiphlp.asp Use IpHlpNetworkParams to find the adaptor DNS servers, there may be several. You may also want to look at the Magenta Systems Mail Queue Component which has two main benefits over a simple TSslSmtpCli component: it supports extended retries over many hours or days, and supports multiple SMTP relay servers, while alleviating the need for the application to handle retries. http://www.magsys.co.uk/delphi/magics.asp Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] SMTP Server
I'd like to add to a desk application (C++Builder) running under W7 pro, the possibility for the user to send emails from this program. The TSmtpCli component is very convenient for that purpose, but the Smtp Server is not very easy to find, when it exists, in the register. You don't need to know the SMTP server of the company ! ICS SMTP client is able to send emails directly to the recipient SMTP server and you can use the ICS DNSQuery component to lookup for the SMTP server handling a given email address. You extract the domain from the address (what is after the at sign) and use it to query the MX Record using the ICS DNSQuery component which returns a list of SMTP servers for the domain (one or more). Please note that many SMTP server won't accept email comming from a dynamically allocated IP address. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] SMTP server adding personalized mail headers
Hello, I need to add in a special SMTP server some headers in special mails, so that users can easy classify them with rules in their email reader. I see that many programs add headers and all are prceided with X-, like: X-Text-Classification: normal X-POPFile-Link: http://mail:8080/jump_to_message?view=4479 Is this normal / best way to do ? If so I think to have domain name in it to be exclusive. Any advice is welcome of course. -- Rgds, Wilfried http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] SMTP server reply codes
On Aug 4, 2005, at 05:24, Wilfried Mestdagh wrote: Hello, Busy with TSmtpCli will used on a local network only. I'm looking at the reply codes the SMTP server can give. Im I right that: the 400 range can be interpreted as 'try again later' the 500 range as 'this is no good, dont do this again' Yes. 300+ - Warnings: The sender should decide if it wants to continue. (Should I continue?) 400+ - Transient error: The error condition is temporary. (Try again later.) 500+ - Terminal error: The error condition is permanent. (Go away!!) Here's the explanation of the first digit of the codes from the RFC-821 (APPENDIX E): There are five values for the first digit of the reply code: 1yz Positive Preliminary reply The command has been accepted, but the requested action is being held in abeyance, pending confirmation of the information in this reply. The sender-SMTP should send another command specifying whether to continue or abort the action. 2yz Positive Completion reply The requested action has been successfully completed. A new request may be initiated. 3yz Positive Intermediate reply The command has been accepted, but the requested action is being held in abeyance, pending receipt of further information. The sender-SMTP should send another command specifying this information. This reply is used in command sequence groups. 4yz Transient Negative Completion reply The command was not accepted and the requested action did not occur. However, the error condition is temporary and the action may be requested again. The sender should return to the beginning of the command sequence (if any). It is difficult to assign a meaning to transient when two different sites (receiver- and sender- SMTPs) must agree on the interpretation. Each reply in this category might have a different time value, but the sender-SMTP is encouraged to try again. A rule of thumb to determine if a reply fits into the 4yz or the 5yz category (see below) is that replies are 4yz if they can be repeated without any change in command form or in properties of the sender or receiver. (E.g., the command is repeated identically and the receiver does not put up a new implementation.) 5yz Permanent Negative Completion reply The command was not accepted and the requested action did not occur. The sender-SMTP is discouraged from repeating the exact request (in the same sequence). Even some permanent error conditions can be corrected, so the human user may want to direct the sender-SMTP to reinitiate the command sequence by direct action at some point in the future (e.g., after the spelling has been changed, or the user has altered the account status). -- Rgds, Wilfried http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be