Re: [twsocket] Ftp freezing
New Era wrote: I am using tftpcli in passive mode to upload files, while uploading a file, for some reason if a connection problem occurs in the middle of the transfer, the program freezes , That should not happen! ICS will never actually freeze your application, though with very fast transfers it happens that the GUI freezes since Windows puts WM_PAINT messages into the message queue only when the queue is empty. So it's IMO a good idea to use a worker thread to keep your GUI responsive. In order to detect timeouts you do not need a worker thread, just use a TTimer to check whether something was received or sent in intervals. In OnProgress event you could simply set a flag which is reset in OnTimer event. -- Arno Garrels to overcome this problem I thought that I can, - Create a thread to make the ftp transfer - Assign OnProgress event, and in this event handler PostMessage to the main application window, - In main thread if message from thread does not come for long time, kill the thread and restart the uploading by creating another thread instance. Is this approach is a proper solution or what would you suggest? Best Regards, -- 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 error translation
x x wrote: Thank you for the reply. I get the error SMTP component not ready when I try to use WSocketErrorDesc(Error)? SMTP component not ready is an exception message, it's neither a winsock nor a SMTP error. It happens when you do not use the asynchronous component correctly. Read this: http://wiki.overbyte.be/wiki/index.php/Asynchronous_Paradigm -- Arno Garrels -Original Message- From: Arno Garrels [arno.garr...@gmx.de] Sent: 7/14/2009 1:03:54 AM To: twsocket@elists.org Subject: Re: [twsocket] SMTP error translation x x wrote: In 'OnRequestDone' for the SMTP Client, I would like to translate the meaning of any error, instead of just having the error integer. How can this be done? uses (OverbyteIcs)WSocket; if (Error 0) and (Error 1) then Display(SmtpClient.ErrorMessage) else Display(WSocketErrorDesc(Error)); -- Arno Garrels -- 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 . span id=m2wTlpfont face=Arial, Helvetica, sans-serif size=2 style=font-size:13.5px___BRGet the Free email that has everyone talking at a href=http://www.mail2world.com target=newhttp://www.mail2world.com/abr font color=#99Unlimited Email Storage #150; POP3 #150; Calendar #150; SMS #150; Translator #150; Much More!/font/font/span -- 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] Simple SMTP text emails rejected for virus or spam
It's possible that their filter recognize the X-Mailer header, try to remove or overwrite it in OnHeaderLine event. Also if the mail used multiple parts the MIME boundaries could be recognized as well. Many spammers use ICS. Regarding the hard coded boundary strings I suggest to make them (or parts) component properties. -- Arno Garrels Hoby Smith wrote: Hello, everyone... Any input on this would be really appreciated. I have a processing service that generates very simple SMTP notifications to customers. Basically, these are system alerts about item due dates, etc. I am using ICS TSyncSMTPCli v2.5 to send the messages with. I simply set the envelope parameters and message, then deliver it to the SMTP server. VERY SIMPLE. I have used this same pattern in numerous apps for years and never had a problem. A recent client signed up for the service who is with GoDaddy. For some very ANNOYING reason, GoDaddy doesn't like something about the emails I am sending him. It rejects them with 554 The message was rejected because it contains prohibited virus or spam content. This is of course absurd, since they are text format emails with one or two sentences of text. I have tried several different content changes, including just sending, this is a test. All bounce back with this error. I just got off the phone with a tech there who is rather clueless. My IP / host is not blocked and they can't tell me why it is rejecting the emails. So, currently, my best guess is that something in the way I am creating the envelope is flagging their spam/virus filter. I have not had this problem with any other SMTP servers, but that doesn't necessarily mean anything. I am open to the possibility that I am doing something they don't like, but I have no clue what that could be. My header is so simple, I am at a loss as to what they might not like. Has anyone ever encountered this issue? Any thoughts? I am stumped. I have been doing this for years without problem. :( Here is a snippet of code from where I set the email content parameters. Maybe I am doing something odd? Maybe they don't like the ReplyTo not being the sender or something? FYI, smtpMain is the TSyncSMTPCli component. * Code snippet * smtpMain.FromName := fFromAddr; smtpMain.HdrReplyTo := fReplyTo; smtpMain.HdrFrom:= fFromName; smtpMain.HdrTo := aEmail; smtpMain.HdrCc := ''; smtpMain.HdrSubject := aSubject; smtpMain.HdrSender := fFromAddr; smtpMain.RcptName.Clear; smtpMain.RcptNameAdd(smtpMain.HdrTo,'',''); with smtpMain.MailMessage do begin Clear; if not fNoPrelim then begin Add('Per your request, we are notifying you of the following'); Add('event:'); Add(''); Add(''); Add('Account name: ' + qryNotifyHistory.FieldByName('acct_ref').AsString); Add( qryNotifyHistory.FieldByName('proj_label').AsString + ': ' + qryNotifyHistory.FieldByName('proj_title').AsString); Add(''); end; Add(aMessageText); if not fNoFooter then begin Add(''); Add(''); Add('***'); Add('Note: This is an automatically generated email. Replies'); Add('to this email will not be read.'); Add('***'); end; end; SetTask('Delivering SMTP message...'); SetTaskProgress(33); if not smtpMain.MailSync then begin Result := False; LogText(0, 'Err: ' + smtpMain.ErrorMessage, 'Failed'); exit; end; * End Code snippet * -- 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] Ftp freezing
I am using tftpcli in passive mode to upload files, while uploading a file, for some reason if a connection problem occurs in the middle of the transfer, the program freezes , There is no reason inside ICS which could freeze the program since it uses async operation. Please try the same upload using FtpTst sample application delivered with ICS to see if it comes from your own coding. If it occurs with FtpTst, then do some more testing: 1) Try on several other computers 2) Check your security products such as firewall, anti malware and similar. Some are bugged and make async winsock operation blocking ! to overcome this problem I thought that I can, - Create a thread to make the ftp transfer - Assign OnProgress event, and in this event handler PostMessage to the main application window, - In main thread if message from thread does not come for long time, kill the thread and restart the uploading by creating another thread instance. Is this approach is a proper solution or what would you suggest? This would be just a work around. You should be find the root cause and suppress it. -- francois.pie...@overbyte.be Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) 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
Re: [twsocket] Simple SMTP text emails rejected for virus or spam
It is likely that - despite what they say - your IP or hostname is blacklisted. You should try to send the email, with the exact same program, from another computer (or even several computers) using another ISP. If the problem happend from anywhere, then it is a problem of the mail itself. For example, each eamil sent by ICS contains a header line X-Mailer: ICS SMTP Component V7.26. Maybe their anti spam check that line for some strange reason. You can easily change that lin by going into the source code. -- francois.pie...@overbyte.be Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message - From: Hoby Smith h...@romans618.org To: twsocket@elists.org Sent: Wednesday, July 15, 2009 6:28 AM Subject: [twsocket] Simple SMTP text emails rejected for virus or spam Hello, everyone... Any input on this would be really appreciated. I have a processing service that generates very simple SMTP notifications to customers. Basically, these are system alerts about item due dates, etc. I am using ICS TSyncSMTPCli v2.5 to send the messages with. I simply set the envelope parameters and message, then deliver it to the SMTP server. VERY SIMPLE. I have used this same pattern in numerous apps for years and never had a problem. A recent client signed up for the service who is with GoDaddy. For some very ANNOYING reason, GoDaddy doesn't like something about the emails I am sending him. It rejects them with 554 The message was rejected because it contains prohibited virus or spam content. This is of course absurd, since they are text format emails with one or two sentences of text. I have tried several different content changes, including just sending, this is a test. All bounce back with this error. I just got off the phone with a tech there who is rather clueless. My IP / host is not blocked and they can't tell me why it is rejecting the emails. So, currently, my best guess is that something in the way I am creating the envelope is flagging their spam/virus filter. I have not had this problem with any other SMTP servers, but that doesn't necessarily mean anything. I am open to the possibility that I am doing something they don't like, but I have no clue what that could be. My header is so simple, I am at a loss as to what they might not like. Has anyone ever encountered this issue? Any thoughts? I am stumped. I have been doing this for years without problem. :( Here is a snippet of code from where I set the email content parameters. Maybe I am doing something odd? Maybe they don't like the ReplyTo not being the sender or something? FYI, smtpMain is the TSyncSMTPCli component. * Code snippet * smtpMain.FromName := fFromAddr; smtpMain.HdrReplyTo := fReplyTo; smtpMain.HdrFrom:= fFromName; smtpMain.HdrTo := aEmail; smtpMain.HdrCc := ''; smtpMain.HdrSubject := aSubject; smtpMain.HdrSender := fFromAddr; smtpMain.RcptName.Clear; smtpMain.RcptNameAdd(smtpMain.HdrTo,'',''); with smtpMain.MailMessage do begin Clear; if not fNoPrelim then begin Add('Per your request, we are notifying you of the following'); Add('event:'); Add(''); Add(''); Add('Account name: ' + qryNotifyHistory.FieldByName('acct_ref').AsString); Add( qryNotifyHistory.FieldByName('proj_label').AsString + ': ' + qryNotifyHistory.FieldByName('proj_title').AsString); Add(''); end; Add(aMessageText); if not fNoFooter then begin Add(''); Add(''); Add('***'); Add('Note: This is an automatically generated email. Replies'); Add('to this email will not be read.'); Add('***'); end; end; SetTask('Delivering SMTP message...'); SetTaskProgress(33); if not smtpMain.MailSync then begin Result := False; LogText(0, 'Err: ' + smtpMain.ErrorMessage, 'Failed'); exit; end; * End Code snippet * -- 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 -- 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] Simple SMTP text emails rejected for virus or spam
Regarding the hard coded boundary strings I suggest to make them (or parts) component properties. Would be a good idea to create a property XMailer with that string. The default value would be the current value. Some trick should be used so that the correct component version is used even if the property is serialized because the component has been dropped on a form. I think of a kind of placer holder such as %VER% within the string. -- francois.pie...@overbyte.be Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) 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
Re: [twsocket] Async in 1GBit LAN, high CPU?
Francois PIETTE wrote: That makes me think we need a throttle at the root (TWSocket). Would be interesting. Will think about it. Just switched the roles, installed the mail server on a slow(er) box and ran the TSmtpCli application on the fast(er) one. CPU use of the TSmtpCli application was max 35% whereas the other way around 60%. Try setting the network speed to 10 Mbps (you should be able to set the speed in the hardware config). I changed it from Autodetect to 10 MBit/s full duplex. There's now just 0-1% CPU use and the connection became incredible slow, much too slow, that must have messed up something. -- Arno Garrels I guess you'll see a dramatic drop in CPU usage because your app will be really network bound. If this is really the case, the reverse, that is using 1Gbps, will makes your app CPU bound and this would confirm my analysis. -- 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
Re: [twsocket] Async in 1GBit LAN, high CPU?
Hello Arno, 1GB networks are very difficult to tune as many hardware behind the network cards can't handle such high speed, for example hard drives on client machines usually can't handle full 1Gb speed reception and will stay at average 80-100Mb only this making different bottlenecks on the machine that could go 100% CPU when it should not. Also an other thing, if you force 10Mb or 100Mb on one side you may encouter some problem if other side is set to auto-negotiate as the other side will always try to re-negotiate to higher speed (and them produce a lot of garbage due to negotiation). regards. AG Francois PIETTE wrote: That makes me think we need a throttle at the root (TWSocket). Would be interesting. AG Will think about it. Just switched the roles, installed the mail server on a slow(er) box and ran the TSmtpCli application on the fast(er) one. CPU use of the TSmtpCli application was max 35% whereas the other way around 60%. Try setting the network speed to 10 Mbps (you should be able to set the speed in the hardware config). AG I changed it from Autodetect to 10 MBit/s full duplex. There's now AG just 0-1% CPU use and the connection became incredible slow, much too AG slow, that must have messed up something. AG -- AG Arno Garrels I guess you'll see a dramatic drop in CPU usage because your app will be really network bound. If this is really the case, the reverse, that is using 1Gbps, will makes your app CPU bound and this would confirm my analysis. -- 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 AG -- AG To unsubscribe or change your settings for TWSocket mailing list AG please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket AG Visit our website at 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
Re: [twsocket] Async in 1GBit LAN, high CPU?
Try setting the network speed to 10 Mbps (you should be able to set the speed in the hardware config). I changed it from Autodetect to 10 MBit/s full duplex. There's now just 0-1% CPU use So cleary now your are in a network bound situation. With 100 Mbps your are still in network boudn situation. With 1Gbps your are clearly in a CPU bound application. All that looks normal for me. This doesn't mean that it is what you intend. and the connection became incredible slow, much too slow, that must have messed up something. Check that the other side agree with 10 Mbps and do not spend a lot of time trying to negociate another speed. -- francois.pie...@overbyte.be Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) 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
Re: [twsocket] Ipv6
Are there any plans for the near future ? Paul - Original Message - From: Francois Piette francois.pie...@skynet.be To: ICS support mailing twsocket@elists.org Sent: Tuesday, July 14, 2009 11:53 AM Subject: Re: [twsocket] Ipv6 Any plans yet ? Not yet. btw: Does OpenSSL support IPv6 ? -- francois.pie...@overbyte.be Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) 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 -- 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] Ipv6
Paul wrote: Are there any plans for the near future ? If ICS shall not die very soon it has to be implemented anyway! I haven't yet got complains, however I agree that it should be put on top of the todo list. IMO, it cannot be done without breaking existing user code. -- Arno Garrels Paul - Original Message - From: Francois Piette francois.pie...@skynet.be To: ICS support mailing twsocket@elists.org Sent: Tuesday, July 14, 2009 11:53 AM Subject: Re: [twsocket] Ipv6 Any plans yet ? Not yet. btw: Does OpenSSL support IPv6 ? -- francois.pie...@overbyte.be Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) 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 -- 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] Simple SMTP text emails rejected for virus or spam
Francois Piette wrote: Regarding the hard coded boundary strings I suggest to make them (or parts) component properties. Would be a good idea to create a property XMailer with that string. The default value would be the current value. Some trick should be used so that the correct component version is used even if the property is serialized because the component has been dropped on a form. I think of a kind of placer holder such as %VER% within the string. That's a good idea, will add this when I have some minutes. -- Arno Garrels -- 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] Async in 1GBit LAN, high CPU?
Dod wrote: Hello Arno, 1GB networks are very difficult to tune as many hardware behind the network cards can't handle such high speed, for example hard drives on client machines usually can't handle full 1Gb speed reception and will stay at average 80-100Mb only this making different bottlenecks on the machine that could go 100% CPU when it should not. Also an other thing, if you force 10Mb or 100Mb on one side you may encouter some problem if other side is set to auto-negotiate as the other side will always try to re-negotiate to higher speed (and them produce a lot of garbage due to negotiation). That's probably what I saw today. However all interfaces were set to 10 MBit/s mode, may be caused by the switch? Anyway I tested a simple, thumb throttle on the application level which waits after x number of lines have been sent as short as possible which works very well. -- Arno Garrels regards. Francois PIETTE wrote: That makes me think we need a throttle at the root (TWSocket). Would be interesting. Will think about it. Just switched the roles, installed the mail server on a slow(er) box and ran the TSmtpCli application on the fast(er) one. CPU use of the TSmtpCli application was max 35% whereas the other way around 60%. Try setting the network speed to 10 Mbps (you should be able to set the speed in the hardware config). I changed it from Autodetect to 10 MBit/s full duplex. There's now just 0-1% CPU use and the connection became incredible slow, much too slow, that must have messed up something. -- Arno Garrels I guess you'll see a dramatic drop in CPU usage because your app will be really network bound. If this is really the case, the reverse, that is using 1Gbps, will makes your app CPU bound and this would confirm my analysis. -- 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 -- 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] Ipv6
Hi , i'm using the MultipartHttpDownloader component in my application ,But i want to know how to be able to download multiple Files -- Many thanks - Yours Randy -- 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] Simple SMTP text emails rejected for virus or spam
Francois said... 1- You should try to send the email, with the exact same program, from another computer (or even several computers) using another ISP 2- It is likely that - despite what they say - your IP or hostname is blacklisted. Thanks for the input Francois. I have indeed tested by sending through an alternate gateway and other methods. Same problem. Also, when I attempt to reroute through a gate SMTP, my gateway SMTP logs show that the IP blockage has been removed and that the target SMTP server responds with the virus/spam error instead of host rejection. So, I think they are correct that there is no IP blockage anymore. So, my ultimate conclusion is that, like you said, it is the email itself that they don't like. -- 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] Ipv6
Arno said... If ICS shall not die very soon it has to be implemented anyway! Wow! Scared of that statement! What do you mean by that? Is ICS in danger of going away? -- 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] Ipv6
Hi , i'm using the MultipartHttpDownloader component in my application ,But i want to know how to be able to download multiple Files As with regular HTTP client: use one component per file. -- 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
Re: [twsocket] Async in 1GBit LAN, high CPU?
That's probably what I saw today. However all interfaces were set to 10 MBit/s mode, may be caused by the switch? Yes, the switch has also to be forced to 10 Mbps. -- 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
Re: [twsocket] Ipv6
If ICS shall not die very soon it has to be implemented anyway! Wow! Scared of that statement! What do you mean by that? Is ICS in danger of going away? Not at all. -- 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
Re: [twsocket] Ipv6
Hoby Smith wrote: Arno said... If ICS shall not die very soon it has to be implemented anyway! Wow! Scared of that statement! What do you mean by that? Is ICS in danger of going away? No, not as long as there are people using and supporting it actively. However users will move to another component suite when they need basic features not included in ICS. IMO IPv6 will become such a basic feature rather soon. Competitors of ICS already support IPv6. -- Arno Garrels -- 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] (no subject)
Здравствуйте, Twsocket. -- С уважением, Actionmanager mailto:actionmana...@gmail.com -- 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] Ipv6
I don't think it's very urgent, but the complaint I got from a US customer says that it's use is on the way. Paul - Original Message - From: Arno Garrels arno.garr...@gmx.de No, not as long as there are people using and supporting it actively. However users will move to another component suite when they need basic features not included in ICS. IMO IPv6 will become such a basic feature rather soon. Competitors of ICS already support IPv6. -- 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] Ipv6
Hello! No, not as long as there are people using and supporting it actively. However users will move to another component suite when they need basic features not included in ICS. IMO IPv6 will become such a basic feature rather soon. Competitors of ICS already support IPv6. And IMAP4 : -- Piotr Dałek enigmati...@interia.pl -- Bezpłatne konto? Otwórz tutaj! http://link.interia.pl/f225a -- 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] Ipv6
Piotr Dałek wrote: Hello! No, not as long as there are people using and supporting it actively. However users will move to another component suite when they need basic features not included in ICS. IMO IPv6 will become such a basic feature rather soon. Competitors of ICS already support IPv6. And IMAP4 : I won't call IMAP a basic feature but nice to have anyway :-) -- Arno Garrels -- 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] Simple SMTP text emails rejected for virus or spam
Well, I finally resolved this issue. What a pain. In the end, the problem was just character data that GoDaddy didn't like. It would have been nice if their SMTP response had said something like, Invalid character data detected, instead of, Rejected due to spam or virus content. But, maybe I am asking too much? ;) Specifically, the problem was that GoDaddy doesn't like parenthesis [( and )] in the from field. I was using parenthesis to designate the email address content from the friendly name, like, Some User (u...@domain.com). I use that format so that users will see a more readable name in their mail client (Outlook, etc). Changing to brackets, like Some User u...@domain.com, fixed the problem. Go figure. Historically, I have used both and never had a problem. In this case, the SMTP profile was stored in an encrypted XML file for my service, so the was giving my problems in the beginning with the XML tags. Hence, I used parenthesis instead. Odd that GoDaddy didn't like it. I have never had a problem with that format in the from field. Oh well, like I said, a more relevant message would have saved two days of my time, as well as their tech's time. BTW, I thought this was rather indicative of GoDaddy's persona. Most servers I have had to log, respond to the SMTP data request with something like, 354 Start mail input; end with CRLF.CRLF, or something informative like that. However, GoDaddy's response is, 354 go ahead punk, make my day. Really. Kind of tells ya something, huh? :) Thanks for the input. Hoby -- 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] Conflicts between multiple instances
Is there a problem having multiple instances of ICS socket objects on the same thread? I have a Delphi app (single threaded) with different ICS-based objects in various units. I saw today what looked like crossover functionality between some of them. I'm getting TTimer access violation errors that only occur if I am simultaneously running a TTnCnx client in one unit and a TWSocketServer server in the other ... AND ... the errors only occur after I have made and closed a connection to the server. If the TTnCnx client is not active, I can make and break connections to the sever indefintely without any TTimer issues. If the server is not running, TTnCnx works fine indefinitely. But, if both are active and I make and break a single server connection, after a predictable amount of time (~3min) I will get repetitive TTimer access violations. Does ICS use any singletons in a thread (globals) or anything that might tie these two uses together somehow? -- 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