Hello Andrea, > the smtp server is my provider smtp relay ( TELECOM ITALIA) .it's > public smtp relay for each adsl connection . > Im my Outlook client i use it from the same dvelop PC and all mail > with all attachment < 10 Mb will sent OK. > > so , i have put your code in your demo app ..and the result it's the > same.
Then my guess was obviously wrong :( > > only if i check progress the email will sent ( with large attach).. > it's like during the submission process, if I insert a small delay the > server can process the email ( with large attach).. > > in fact if i put a small loop in SmtpClientMessageDataSent procedure > or sleep(150) in myapp and it send email correctly .with all attach. > but i can't do it in my real app , because there are a lot > simultaneous thread ..e it impact a lot in GUI and in run time > process. Are you able to reproduce the problem with a different mail server? Also have you tried without pumping the large attachment through the memo (property OnDisplay not assigned)? Do you have any background AV scanner running or some internet security suite? I'm actually running out of ideas since I am not able to reproduce the issue at all, tested with D7 and D2010, maybe someone else can? However did not pump the attachment thru the memo. -- 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