Re: [twsocket] Reading e-mail
I run the form OnCreate event SyncPOP3Cli.Host: = host; SyncPOP3Cli.Port: = port; SyncPOP3Cli.UserName: = username; SyncPOP3Cli.Password: = password; try methodname: = 'OpenSync'; SyncPOP3Cli.OpenSync; methodname: = 'StatSync'; SyncPOP3Cli.MsgNum: = 0; SyncPOP3Cli.StatSync; methodname: = 'ListSync'; SyncPOP3Cli.MsgNum: = 0; SyncPOP3Cli.ListSync; methodname: = 'UidlSync'; SyncPOP3Cli.MsgNum: = 0; SyncPOP3Cli.UidlSync; Msgnum: = 1; IWEditMsgNum.Text: = '1 '; SyncPOP3Cli.MsgCount if> 0 then LeggiEMail; except on E: Exception do WebApplication.ShowMessage ('Error method:' + methodname); end; with TDettaglioEMailForm.LeggiEMail procedures; begin try methodname: = 'RetrSync'; SyncPOP3Cli.MsgNum: = StrToInt (IWEditMsgNum.Text); SyncPOP3Cli.RetrSync; except on E: Exception do WebApplication.ShowMessage ('Error method:' + methodname); end; end; reminder that many times and where IWEditMsgNum.Text is increased / decreased with the values of an array that contains all msgnum. I can only read the first message. Why? -- 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] Reading e-mail
Questa è la procedura che utilizzo per acquisire i messaggi: SyncPOP3Cli.Host := host; SyncPOP3Cli.Port := port; SyncPOP3Cli.UserName := username; SyncPOP3Cli.Password := password; try methodname := 'OpenSync'; SyncPOP3Cli.OpenSync; methodname := 'StatSync'; SyncPOP3Cli.MsgNum := MsgNum; SyncPOP3Cli.StatSync; methodname := 'ListSync'; SyncPOP3Cli.MsgNum := MsgNum; SyncPOP3Cli.ListSync; methodname := 'UidlSync'; SyncPOP3Cli.MsgNum := MsgNum; SyncPOP3Cli.UidlSync; if SyncPOP3Cli.MsgCount > 0 then begin methodname := 'RetrSync'; SyncPOP3Cli.MsgNum := MsgNum; SyncPOP3Cli.RetrSync; end; methodname := 'QuitSync'; SyncPOP3Cli.QuitSync; except on E: Exception do WebApplication.ShowMessage('Errore metodo: ' + methodname); Dov'è l'errore? -- 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] Dele
I would like to understand some things about the DELE command. 1) E 'to read the message (retr) before deleting it? 2) It 'simply connect (open) and delete the message (by presetting msgnum)? 3) I also tried deleting the applicazioneOverbyteIcsMailRcv but does not work. Why? -- 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] Attached file
I apologize if I insist, but a concrete example will help me to understand better. I get an email with the following three parts: Part 0 Content: multipart / mixed Size: 0 name: FileName: encoding: charset: ApplType: Content Id: Part 1 Content: text / plain Size: 61 name: FileName: Encoding: quoted-printable Charset: iso-8859-15 ApplType: Content Id: Part 2 Content: application / pdf Size: 629581 Name: DLVLNS56D04D390C.pdf FileName: DLVLNS56D04D390C.pdf Encoding: base64 charset: ApplType: pdf Content Id: How do I save the attached file DLVLNS56D04D390C.pdf indicated in Part 2? thanks -- 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] Attached file
I apologize, but a concrete example will help me to understand. I get the mail consisting of the following three parts: Part 0 Content: multipart / mixed Size: 0 name: FileName: encoding: charset: ApplType: Content Id: Part 1 Content: text / plain Size: 61 name: FileName: Encoding: quoted-printable Charset: iso-8859-15 ApplType: Content Id: Part 2 Content: application / pdf Size: 629581 Name: DLVLNS56D04D390C.pdf FileName: DLVLNS56D04D390C.pdf Encoding: base64 charset: ApplType: pdf Content Id: There is an instruction that allows me to save the pdf file of part 2 DLVLNS56D04D390C.pdf? thanks -- 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] Attached file
I apologize for my English because I'm not very experienced. In my application, thanks to the demo OverbyteIcsMimeDemo I was able to manage all information related to the email. I've identified the parties and taken measures to turn them from html to text (there is about a command that automatically does this conversion of shares html / text or text / plain?). My problem is to open the attached files and / or save them for later use. How it works? I do not understand and I would be grateful for a suggestion. thanks -- 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] POP3Client
Because with opensync commands, statsync, , retrsync works and open commands, , retr does not work, while not signal an error? I'm interested because POP3Cli id command with the commands are much faster. thanks -- 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] POP3Client
After setting the parameters needed to run the access 1) OpenSync 2) StatSync (to get the total number of posts) 3) RetrSync (to read the first post) 4) Displaying the information obtained. Up to this point, ok. How do I read the subsequent messages? It 'just set and only msgnum msgLines RetrSync and run, as I had imagined? I think it is or why I said 426 Timeout. What is the sequnza to read all the messages one at a time? thanks -- 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] POP3Client
Why after I logged in, you have read the total number of messages and found the first message I can not read the other messages (and RetrSync MsgNun msgnum = + 1) and is reported to me the error message: Timeout 426)? thanks -- 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] POP3Client
I is reported on connectsync RqType = 1 and error = 500. What does this mean?-- 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] TPOP3CLI o TSYNCPOP3CLI
Until now I always used the Indy Atozed. Some friends advised me to use Overbyte-ICS. I must confess that I have some difficulties. First of all, if you use the demo OverbyteIcsMailRcv works ok. If I use the same functions in my application developed with Dephi 2010 - Atozed Intraweb - TMS Software can not even connect (Connect). Even using the component TSyncPop3Cli things do not improve, indeed, it seems that everything is working because I can not signal an error. I discovered that the Connect (ConnectSync) does not produce any results. The only difference between your and my demo application consists in the fact that the setting data (host, port, username, etc..) Are taken from the DB rather than from a file. I am interested in your product for the chance to manage e-mail it certified with Indy is somewhat more complicated. Is there something I'm missing in the use of ICS? To better understand the use I run Connect (ConnectSync) by setting host, port, username, password. It seems that everything is ok even if events or OnSessionConnected OnRequestDone are not executed. What could be the problem? thanks -- 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] POP3Client
Sorry for my English. I've been using recently OVERBYTE ICS-2010 for Delphi - Intraweb Atozed - TMS Software. I connect with the problems of POP3CLIENT. After setting the host (= pop.191.biz), port (= 110), username and password, run POP3Client.Connect. Any command run later (POP3CLINET.User, POP3CLIENT.Pass ECTC.) Is reported to me the following error: POP3 Component not ready. Why? Thanks -- 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