Re: [twsocket] Smtp connect via Http proxy

2012-03-10 Thread Arno Garrels
Max Terentiev wrote: > Hi, > > It's possible to send mail with TSmtpCli using Http(s) proxy ? > > Often users of my app go to internet via lan http proxy without > Socks protocol support. So, I must add this feature... > > I read something about http proxy tunneling. This feature already > imple

Re: [twsocket] SMTP Server

2011-10-24 Thread Francois PIETTE
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 kn

Re: [twsocket] SMTP Server

2011-10-24 Thread Angus Robertson - Magenta Systems Ltd
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 Intern

Re: [twsocket] SMTP mail queue component?

2010-10-04 Thread Arno Garrels
- Original Message - From: "Angus Robertson - Magenta Systems Ltd" To: Sent: Monday, October 04, 2010 11:11 AM Subject: Re: [twsocket] SMTP mail queue component? >> > Has anyone built a component to queue email until an SMTP relay >> > server is availab

Re: [twsocket] SMTP mail queue component?

2010-10-04 Thread Angus Robertson - Magenta Systems Ltd
> > Has anyone built a component to queue email until an SMTP relay > > server is available? > > Not yet, but it's probably no big deal to write one. > It could be a simple two files per item approach. Simple is what I like, so I want to keep to one file per item, with all queue or status informa

Re: [twsocket] SMTP mail queue component?

2010-10-04 Thread Angus Robertson - Magenta Systems Ltd
> A few years ago I built a Mail Queue Service (I called SMailQ). > This wasn't a queuing component, but an entire queueing service for > SMTP clients to connect and drop messages for sending to an SMTP > server. > This fully featured system may not be what you are looking for, > but I can share

Re: [twsocket] SMTP mail queue component?

2010-10-03 Thread Fastream Technologies
On Sun, Oct 3, 2010 at 1:10 PM, Arno Garrels wrote: > Angus Robertson - Magenta Systems Ltd wrote: > > Has anyone built a component to queue email until an SMTP relay > > server is available? > > Not yet, but it's probably no big deal to write one. > It could be a simple two files per item approa

Re: [twsocket] SMTP mail queue component?

2010-10-03 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: > Has anyone built a component to queue email until an SMTP relay > server is available? Not yet, but it's probably no big deal to write one. It could be a simple two files per item approach. One email file written to the queue directory with method Sen

Re: [twsocket] SMTP mail queue component?

2010-10-02 Thread DZ-Jay
On Oct 01, 2010, at 11:41, Angus Robertson - Magenta Systems Ltd wrote: > Has anyone built a component to queue email until an SMTP relay server is > available? Angus, A few years ago I built a Mail Queue Service (I called SMailQ). This wasn't a queuing component, but an entire queue

Re: [twsocket] smtp error 10061 sending mail on one pc

2010-07-01 Thread Xavier Mor-Mur
Thanks dZ I'll do more exhaustive check on that pc. Last test I do was include one button with all actions on it's click event and worked fine on two pc's but not on third. If you or someone have any idea where or what to check on that pc where welcome. Thanks again for all Xavi Al 01/07/2

Re: [twsocket] smtp error 10061 sending mail on one pc

2010-07-01 Thread Xavier Mor-Mur
Thanks Angus for your tip As I can I'll include this. Xavi Al 01/07/2010 08:59, En/na Angus Robertson - Magenta Systems Ltd ha escrit: One pc get "Error 10061 on connect" when sending any mail, You should use the function GetWinsockErr () or WSocketErrorDesc () (and GetWindowsErr() for files)

Re: [twsocket] smtp error 10061 sending mail on one pc

2010-07-01 Thread Angus Robertson - Magenta Systems Ltd
> One pc get "Error 10061 on connect" when sending any mail, You should use the function GetWinsockErr () or WSocketErrorDesc () (and GetWindowsErr() for files) in OverbyteIcsWSocket, so your application returns textual errors. Angus -- To unsubscribe or change your settings for TWSocket mailin

Re: [twsocket] smtp error 10061 sending mail on one pc

2010-06-30 Thread DZ-Jay
On Jun 30, 2010, at 19:25, Xavier Mor-Mur wrote: > > I would appreciate any help about error 10061. > One pc get "Error 10061 on connect" when sending any mail, other 2 pc have no > problems. > Program, utility and smtp configuration it's the same for all 3 terminals > (windows vista) and all p

Re: [twsocket] SMTP error translation

2009-07-14 Thread Arno Garrels
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.

Re: [twsocket] SMTP error translation

2009-07-14 Thread x x
Thank you for the reply. I get the error "SMTP component not ready" when I try to use WSocketErrorDesc(Error)? <-Original Message-> >From: Arno Garrels [arno.garr...@gmx.de] >Sent: 7/14/2009 1:03:54 AM >To: twsocket@elists.org >Subject: Re: [twsocket] S

Re: [twsocket] SMTP error translation

2009-07-13 Thread Arno Garrels
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 Dis

Re: [twsocket] SMTP Client - Delete Temp files -

2008-05-08 Thread wayne forrest
Ok that worked by I hit a "BRICK WALL" :-( ; This is not related to ICS but the way that the Mail-Module Works. Here is my Problem I am having. (1'st Email) (Trigger to Send Email)-->Class Fucntion to Send Email. Event Mail Sent -->Delete Temp Fil

Re: [twsocket] SMTP Client - Delete Temp files -

2008-05-07 Thread Arno Garrels
wayne forrest wrote: > How do I know if the mail was sent OK; When OnRequestDone triggers with request smtpData and no error the mail has been sent to server sucessfully. Kind regards, Arno Garrels - DuoData Software Arno Garrels Lib

Re: [twsocket] SMTP Client - Delete Temp files -

2008-05-07 Thread DZ-Jay
wayne forrest wrote: > Hello, > > After I have successfully sent the Email I need to delete the temp Files ( > attachments ); > > How do I know if the mail was sent OK; After sending the message and issuing the QUIT command, the OnRequestDone is fired with no error with the Request = smtpQuit.

Re: [twsocket] SMTP Client and Streams

2008-02-20 Thread Veit Zimmermann
Wilfried Mestdagh wrote: > Hello Veit, > > You have to override TriggerGetData method. FEmailfiles is a TStringList > holding the filenames to attach. I think the most easy way is to use the > Objects of this stringlist to add TStreams instead of filenames. In > TriggerGetData Stream is opened fro

Re: [twsocket] SMTP Client and Streams

2008-02-20 Thread Wilfried Mestdagh
Hello Veit, You have to override TriggerGetData method. FEmailfiles is a TStringList holding the filenames to attach. I think the most easy way is to use the Objects of this stringlist to add TStreams instead of filenames. In TriggerGetData Stream is opened from filename, so you can just use the s

Re: [twsocket] SMTP Client and Streams

2008-02-19 Thread Veit Zimmermann
Wilfried Mestdagh wrote: > Hello Arno, > Is there a possibility to use a stream as an attachment of an email? Besides of programming it all by myself, of course. >>> I don't think so, I recall that Wilfried asked the same questing last >>> year, possibly he has implemented that feature y

Re: [twsocket] SMTP Client and Streams

2008-02-19 Thread Arno Garrels
Hello, I think that would be a nice feature to put on top of the (virtual) todo list. I don't need that currently, but it makes much sence to me. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Wilfried Mestdagh wrote: > Hello Arno, > Is there a possibility to

Re: [twsocket] SMTP Client and Streams

2008-02-19 Thread Wilfried Mestdagh
Hello Arno, >>> Is there a possibility to use a stream as an attachment of an email? >>> Besides of programming it all by myself, of course. >> I don't think so, I recall that Wilfried asked the same questing last >> year, possibly he has implemented that feature yet and can help with >> some tips

Re: [twsocket] SMTP Client and Streams

2008-02-19 Thread Arno Garrels
Veit Zimmermann wrote: > Hi > > Is there a possibility to use a stream as an attachment of an email? > Besides of programming it all by myself, of course. I don't think so, I recall that Wilfried asked the same questing last year, possibly he has implemented that feature yet and can help with so

Re: [twsocket] SMTP Component not ready

2008-01-07 Thread DZ-Jay
On Jan 7, 2008, at 20:06, Jonathan M. Freedman wrote: > smtpCaribou->Host = "[EMAIL PROTECTED]" ; > smtpCaribou->Port = 25 ; > smtpCaribou->Connect() ; > > and get a smtp component not ready error message. Are you sure you get the error on the Connect() call, or on a subsequent method call? Ke

Re: [twsocket] SMTP Component not ready

2008-01-07 Thread Hoby Smith
: Monday, January 07, 2008 7:06 PM To: twsocket@elists.org Subject: Re: [twsocket] SMTP Component not ready Dear List: I write this code: smtpCaribou->Host = "[EMAIL PROTECTED]" ; smtpCaribou->Port = 25 ; smtpCaribou->Connect() ; and get a smtp component not ready error mess

Re: [twsocket] SMTP Component not ready

2008-01-07 Thread Jonathan M. Freedman
Dear List: I write this code: smtpCaribou->Host = "[EMAIL PROTECTED]" ; smtpCaribou->Port = 25 ; smtpCaribou->Connect() ; and get a smtp component not ready error message. Question...i don't think I need a twsocket connection first or do i? The server is a timewarner company server. I am a su

Re: [twsocket] smtp component not connected/ready

2008-01-07 Thread DZ-Jay
On Jan 7, 2008, at 06:56, Wilfried Mestdagh wrote: > You call RSet if you have an error. If you have an error just call > Abort > and try later again. Also check on any error, not only between those > values: > > if Error <> 0 then begin >FSmtp.Abort; >SetSomeRetryMechanism; // retry wit

Re: [twsocket] smtp component not connected/ready

2008-01-07 Thread Wilfried Mestdagh
Hello retnyg, You call RSet if you have an error. If you have an error just call Abort and try later again. Also check on any error, not only between those values: if Error <> 0 then begin FSmtp.Abort; SetSomeRetryMechanism; // retry with a timer or by posting a message Exit; end; --- R

Re: [twsocket] smtp component not connected/ready

2008-01-07 Thread retnyg
hi, i changed the code as follows: procedure TMailer.SmtpClientRequestDone; function isError : boolean; begin result := false; if ((Error > 399) and (Error < 600)) or (error >= 1) then result := true; if result then if assigned(FOnError) then FOnError(FSmtp.ErrorMessage);

Re: [twsocket] smtp

2008-01-06 Thread Arno Garrels
Jonathan M. Freedman wrote: > Username: the full name with domain or just the name, i.e. > [EMAIL PROTECTED] or just jon That's the username of your mail account you received from your provider. > Send mode: not sure what mode to use Default value smtpToSocket will send the email. Alternative

Re: [twsocket] smtp component not connected/ready

2007-12-22 Thread Arno Garrels
[EMAIL PROTECTED] wrote: > hi there, > > is there also such a known bug in smtpprot.pas ? No known issues. Please check your code. An error is anything > 0! This can be a winsock error code > 1 or an SMTP error code. The action to be taken depends on both current request type and error code,

Re: [twsocket] SMTP connection limit

2007-03-09 Thread Veit Zimmermann
[EMAIL PROTECTED] wrote: > Hello: >> --- Original Message --- >>From: Veit > Zimmermann[mailto:[EMAIL PROTECTED] >> Sent: 3/8/2007 6:42:03 AM >> To : twsocket@elists.org >> Cc : >> Subject : RE: [twsocket] SMTP connection limit

Re: [twsocket] SMTP connection limit

2007-03-08 Thread [EMAIL PROTECTED]
ldn't matter that much to the user. -dZ. >--- Original Message --- >From: Veit Zimmermann[mailto:[EMAIL PROTECTED] >Sent: 3/8/2007 6:42:03 AM >To : twsocket@elists.org >Cc : >Subject : RE: [twsocket] SMTP connection limit > >Hi Are ther

Re: [twsocket] SMTP connection limit

2007-03-08 Thread Francois PIETTE
> Are there providers which limit the number of concurrent SMTP > connections? In other words: Do I have to make the maximum number > of connections for asynchronous operation flexible and what would > be a good practice approach (besides making it user configurable). There is no limit imposed by

Re: [twsocket] SMTP connection limit

2007-03-08 Thread Arno Garrels
Veit Zimmermann wrote: > Hi > > Are there providers which limit the number of concurrent SMTP > connections? Most likely. > In other words: Do I have to make the maximum number > of connections for asynchronous operation flexible and what would > be a good practice approach (besides making it u

Re: [twsocket] SMTP Control: Email header appears in body of email

2006-11-15 Thread [EMAIL PROTECTED]
> To clarify what I meant: my company uses Outlook for all its email. Viewing one of said problematic letters in the > Preview/View pane should just show the body of the email. Instead, all the header lines were displayed, too. Like I mentioned, this is probably Outlook choking on large hea

Re: [twsocket] SMTP Control: Email header appears in body of email

2006-11-14 Thread Jody Bowman
DZ-Jay <[EMAIL PROTECTED]> wrote:On Nov 10, 2006, at 15:14, Jody Bowman wrote: > If I include more than 1018 characters worth of email addresses in the > To: line (which can happen in my app), the letter is sent successfully > to all recipients but the email header information appears in the

Re: [twsocket] SMTP Control: Email header appears in body of email

2006-11-11 Thread Arno Garrels
.be/eng/ssl.html -- > [EMAIL PROTECTED] > http://www.overbyte.be > > > > - Original Message - > From: "Arno Garrels" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Friday, November 10, 2006 11:18 PM > Subject: Re: [twsocket

Re: [twsocket] SMTP Control: Email header appears in body of email

2006-11-11 Thread DZ-Jay
On Nov 10, 2006, at 15:14, Jody Bowman wrote: > If I include more than 1018 characters worth of email addresses in the > To: line (which can happen in my app), the letter is sent successfully > to all recipients but the email header information appears in the body > of the email. I checked the

Re: [twsocket] SMTP Control: Email header appears in body of email

2006-11-11 Thread Francois PIETTE
ROTECTED]> To: "ICS support mailing" Sent: Friday, November 10, 2006 11:18 PM Subject: Re: [twsocket] SMTP Control: Email header appears in body of email > There's indeed a maximum line length specified in the SMTP protocol. > > Quoted from RFC 821 Page 42: > &

Re: [twsocket] SMTP Control: Email header appears in body of email

2006-11-11 Thread Francois PIETTE
There is no limitation I'm aware of in the component. I suspect the SERVER doesn't like the "to:" header line which is way too long. Are you able to send such an email using Outlook Express ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Jody Bowman" <[EMAIL

Re: [twsocket] SMTP Control: Email header appears in body of email

2006-11-11 Thread Arno Garrels
There's indeed a maximum line length specified in the SMTP protocol. Quoted from RFC 821 Page 42: " The maximum total length of a text line including the is 1000 characters (but not counting the leading dot duplicated for transparency)." But looking at the code I found also that if a line exeeds

Re: [twsocket] SMTP Auth before POP3?

2006-09-05 Thread Francois Piette
> Has somebody heard of POP3 accounts which require an SMTP > authentication at the SMTP server first? Usually it is just the reverse: a SMTP account which require a POP3 authentication first. This is because POP3 always had authentication while SMTP had no authentication at the first place. Cont

Re: [twsocket] SMTP Auth before POP3?

2006-09-05 Thread Mohit Sindhwani
I've heard of it being the other way round - POP3 authentication before using the SMTP server. But, SMTP before POP3 I have never heard. Cheers Mohit. Arno Garrels wrote: > Hello, > > Has somebody heard of POP3 accounts which require an SMTP > authentication at the SMTP server first? > > Thank

Re: [twsocket] SMTP and NTLM authentication

2006-06-23 Thread Arno Garrels
Gies,Brad wrote: > Does the SmtpCli and SyncSmtpCli support NTLM authentication, and if > so, what setting needs to be enabled to use it? It's not yet implemented. The THttpCli already uses NTLM authentication, so it should not be very difficult to make the TSmtpCli NTLM-capable as well. --- Arno

Re: [twsocket] SMTP demo and RichText

2006-05-16 Thread Jeff Cook
version to see your MailHTML sample -- Jeff Cook Aspect Systems Ltd Phone: +64-9-424 5388 Skype: jeffcooknz www.aspect.co.nz > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels > Sent: Tuesday, 16 May 2006 7:22 p.m. > To: ICS s

Re: [twsocket] SMTP demo and RichText

2006-05-16 Thread Arno Garrels
Francois Piette wrote: > btw: RTF message is not a very good idea. Many email client doesn't > support it. You'd better use HTML messages which are demoed in MailHtml > sample provided with ICS. If you are looking for a free html editor you may try Kurt Senfer's ActiveX component, available in th

Re: [twsocket] SMTP demo and RichText

2006-05-15 Thread Francois Piette
CTED]> To: "'ICS support mailing'" Sent: Tuesday, May 16, 2006 2:06 AM Subject: Re: [twsocket] SMTP demo and RichText > Hi > > Progress of sorts:- > > In the FormCreate I added:- > > sl := TStringList.Create; > > In the Fo

Re: [twsocket] SMTP demo and RichText

2006-05-15 Thread Jeff Cook
Hi Progress of sorts:- In the FormCreate I added:- sl := TStringList.Create; In the FormClose I added:- sl.Free; In each of the two buttons for sending, I added:- MsgMemo.Lines.SaveToFile('c:\temp\lines.txt'); sl.LoadFromFile('c:\temp\lines.txt'); And I changed the TSmtpTestForm.SmtpCli

Re: [twsocket] Smtp error 452

2006-05-15 Thread Francois PIETTE
Outlook (non "Express" version) doesn't use SMTP, it use a MS proprietary protocol. Try with Outlook Express to be in a similar situation as ICS-SMTP component. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Mes

Re: [twsocket] SMTP Client in IntraWeb application

2006-05-02 Thread Francois PIETTE
> No Message pumb? > All other components work correctly, also CleverComponents' clSMTP > component works but I want to use ICS. Does the other component are real event driven components using Windows messages ? I guess not. ICS make use of messages (winsock messages and others). So it doesn't

Re: [twsocket] SMTP Client in IntraWeb application

2006-05-02 Thread Wilfried Mestdagh
Hello George, I dont know those other components. But ICS needs a working message pump. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Tuesday, May 2, 2006, 14:10, George wrote: > No Message pumb? > All other components work correctly, also

Re: [twsocket] SMTP Client in IntraWeb application

2006-05-02 Thread George
No Message pumb? All other components work correctly, also CleverComponents' clSMTP component works but I want to use ICS. Dont you have IntraWeb installed? Its by default installed in the Delphi IDE. Can you please make a test by yourself? Thanks > If no event fire, then probably there is no

Re: [twsocket] SMTP Client in IntraWeb application

2006-05-02 Thread Francois Piette
> Why I cant send email using SMTPCli inside IntraWeb app? > The code works fine in a normal Win32 app but inside a > IntraWeb app the OnRequestDone never fires. > > Whats wrong? If no event fire, then probably there is no message pump. btw: What is a "normal Win32 app" for you ? I guess it is a G

Re: [twsocket] SMTP server adding personalized mail headers

2005-09-28 Thread DZ-Jay
Hello: Yes, by convention, any custom header is prefixed with "X-". Usually you want to make a header name that describes what it is going to be used for. Some examples of custom headers I've seen are: X-Spam-Flag X-Loop X-Sender X-Mailer X-AOL-IP X-Priority X-MimeOLE X-Originating-IP

Re: [twsocket] SMTP server adding personalized mail headers

2005-09-28 Thread Arno Garrels
It's OK, X-Headers are custom headers. Wilfried Mestdagh wrote: > 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

Re: [twsocket] smtp / pop3 server demos?

2005-08-25 Thread Wilfried Mestdagh
Hello David, > slap me if this question has been answered 100 times already :) No only 95 times so no problem :) BTW the program from Alex as per reply of Darin runs very fine. I never checked the code, but use it for lots of tests and developments :) --- Rgds, Wilfried http://www.mestdagh.biz

Re: [twsocket] smtp / pop3 server demos?

2005-08-24 Thread Darin McGee
http://www.alixoft.com/software/hermes.htm This is a complete SMTP/POP3 server someone wrote with ICS. Source included. Darin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Hooper Sent: Wednesday, August 24, 2005 9:13 PM To: ICS support mailing S

Re: [twsocket] SMTP server reply codes

2005-08-05 Thread DZ-Jay
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

Re: [twsocket] SMTP FromName

2005-07-17 Thread Angus Robertson - Magenta Systems Ltd
> A server may reject a none local From address, but practically most > servers don't Several UK ISPs do validate the From address as being one of their domains, BT ADSL in particular, to stop false Froms being used. But this is very inconvenient for people using ADSL for connectivity only with

Re: [twsocket] SMTP FromName

2005-07-17 Thread DZ-Jay
On Jul 17, 2005, at 13:05, Arno Garrels wrote: > A server may reject a none local From address, but practically most > servers > don't, since anybody can send any address in the Mail From command. > However that address is used by the server to build the Return-Path, > that's > why we get so muc

Re: [twsocket] SMTP FromName

2005-07-17 Thread Arno Garrels
Wilfried Mestdagh wrote: > Hello Arno, > > So if I understeand it right, when the server is not possible to deliver > the mail, then it uses that address to return an 'undeliverable' mail ? Yes, correct. Arno Garrels > --- > Rgds, Wilfried > http://www.mestdagh.biz > > Sunday, July 17, 2005,

Re: [twsocket] SMTP FromName

2005-07-17 Thread Wilfried Mestdagh
Hello Arno, So if I understeand it right, when the server is not possible to deliver the mail, then it uses that address to return an 'undeliverable' mail ? --- Rgds, Wilfried http://www.mestdagh.biz Sunday, July 17, 2005, 19:05, Arno Garrels wrote: > Hello Wilfried, >> the MAIL FROM: ... or i

Re: [twsocket] SMTP FromName

2005-07-17 Thread Arno Garrels
Hello Wilfried, > the MAIL FROM: ... or in Smtp client FromName, what is original meaning > of it? I have tryed with several SMTP servers and I can fill in > whatever I want, it is always accepted, and for the mail reader only the > headers are used. > > Or could it be that some SMTP servers hav