[twsocket] Smtp connect via Http proxy

2012-03-10 Thread Max Terentiev
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 implemented in TSmtpCli/TWSocket ? Or I

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 implemented

[twsocket] SMTP Server

2011-10-24 Thread GĂ©rard Colo
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

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

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

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 some

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 information

Re: [twsocket] SMTP mail queue component?

2010-10-04 Thread Arno Garrels
- Original Message - From: Angus Robertson - Magenta Systems Ltd an...@magsys.co.uk To: twsocket@elists.org 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 available

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

Re: [twsocket] SMTP mail queue component?

2010-10-03 Thread Fastream Technologies
On Sun, Oct 3, 2010 at 1:10 PM, Arno Garrels arno.garr...@gmx.de 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

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

[twsocket] SMTP mail queue component?

2010-10-01 Thread Angus Robertson - Magenta Systems Ltd
Has anyone built a component to queue email until an SMTP relay server is available? Some of my applications send email reports and alerts, currently using the ICS SMTP component directly to a relay SMTP server. There are simple retry attempts if the SMTP server can not be contacted or if it

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 mailing

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 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

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

Re: [twsocket] SMTP error translation

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

Re: [twsocket] SMTP error translation

2009-07-14 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

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] SMTP error translation x x wrote

[twsocket] SMTP error translation

2009-07-13 Thread x x
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? span id=m2wTlpfont face=Arial, Helvetica, sans-serif size=2

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 Files

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 - 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

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

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 from

[twsocket] SMTP Client and Streams

2008-02-19 Thread Veit Zimmermann
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 couldn't find anything at first glance. Thanks Veit -- To unsubscribe or change your settings for TWSocket mailing list please goto

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? You have

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 some

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 use

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 yet and can help

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 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 with a timer

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

Re: [twsocket] SMTP Component not ready

2008-01-07 Thread Hoby Smith
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 message. Question...i don't think I need a twsocket

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? Keep in

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. Alternatively

[twsocket] Smtp component not ready

2008-01-06 Thread Wilfried Mestdagh
Hello Jonathan, I don't understeand the first part of your mail, but the 'smtp component not ready' is because it is probably already busy with a request. All functions are async and return immediatly while the component will to the job in background. So while it is busy yuu cannot do another

[twsocket] smtp

2008-01-05 Thread Jonathan M. Freedman
Dear List: I am trying to set up an smtp client embedded within a c++builder program I am writing. I am not sure what to fill in several properties Username: the full name with domain or just the name, i.e. [EMAIL PROTECTED] or just jon Send mode: not sure what mode to use Share

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 Hi Are there providers which limit the number

[twsocket] SMTP connection limit

2007-03-08 Thread Veit Zimmermann
Hi 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). TIA Veit -- To

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 user

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 the

Re: [twsocket] SMTP connection limit

2007-03-08 Thread [EMAIL PROTECTED]
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 there providers which limit the number

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

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
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 CRLF is 1000 characters (but not counting the leading dot duplicated for transparency). But looking at the code I found also that if a line

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

2006-11-11 Thread Francois PIETTE
PROTECTED] To: twsocket@elists.org Sent: Friday, November 10, 2006 9:14 PM Subject: [twsocket] SMTP Control: Email header appears in body of email Greetings, I'm an engineer from the Milwaukee, Wisconsin (USA) area and was looking at using the ICS SMTP control for an email

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

2006-11-11 Thread Francois PIETTE
@elists.org 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: The maximum total length of a text line including the CRLF is 1000

[twsocket] SMTP Auth before POP3?

2006-09-05 Thread Arno Garrels
Hello, Has somebody heard of POP3 accounts which require an SMTP authentication at the SMTP server first? Thanks --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto

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? Thanks

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.

[twsocket] SMTP and NTLM authentication

2006-06-23 Thread Gies,Brad
Does the SmtpCli and SyncSmtpCli support NTLM authentication, and if so, what setting needs to be enabled to use it? Sincerely, Brad Gies - NLM Software Southfield, MI, USA - Do everything in moderation including

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 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 the

Re: [twsocket] SMTP demo and RichText

2006-05-16 Thread Jeff Cook
-- 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 support mailing Subject: Re: [twsocket] SMTP demo

Re: [twsocket] Smtp error 452

2006-05-15 Thread Francois PIETTE
Message - From: Tim [EMAIL PROTECTED] To: twsocket@elists.org Sent: Monday, May 15, 2006 6:50 PM Subject: [twsocket] Smtp error 452 I have an email application using SmtpCli which has a test utility that tries to send a test email to the user. This utility uses very similar code

[twsocket] SMTP demo and RichText

2006-05-15 Thread Jeff Cook
Hi I'm trying out the MailSnd demo - trying to adapt it to send mail as Rich Text. I've changed the MsgMemo to a TJvRichEdit and have tested by pasting in some rich text - e.g. my sig below is in Comic Sans MS and I can paste this into the message area and retain the font size etc. But

[twsocket] SMTP Client in IntraWeb application

2006-05-02 Thread George
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? Thanks -- To unsubscribe or change your settings for TWSocket mailing list please goto

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 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 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

[twsocket] SMTP server adding personalized mail headers

2005-09-28 Thread Wilfried Mestdagh
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:

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 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, dont

[twsocket] SMTP FromName

2005-07-17 Thread Wilfried Mestdagh
Hello, 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 have a list with valid

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, 19:05,

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 much

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