Author |
|
p0iz0ner Newbie
Joined: 05 June 2012 Location: United Kingdom
Online Status: Offline Posts: 4
|
Posted: 05 June 2012 at 1:24pm | IP Logged
|
|
|
Hi,
I am setting up timeout of SmtpServer but it always timeout on 20 sec. I need to set it to 5 sec. But
this.Timeout = 5000;
is not working.
Can you tell me y. Can u post a working example so i can be helped.
Thanks
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 06 June 2012 at 3:44am | IP Logged
|
|
|
Which code are you using? Are you sure .Timeout is set BEFORE connecting to the mail server?
Also, please show MailBee log file to let us see where exactly the timeout is not applied. For instance, MailBee sets timeout to 40 seconds when awaiting the server's reply to the completion of DATA command (this is required for MS Exchange compatibility).
Regards,
Alex
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 06 June 2012 at 3:48am | IP Logged
|
|
|
BTW, you can submit this info via HelpDesk but make sure you've a valid license for the component.
Regards,
Alex
|
Back to Top |
|
|
p0iz0ner Newbie
Joined: 05 June 2012 Location: United Kingdom
Online Status: Offline Posts: 4
|
Posted: 06 June 2012 at 4:02am | IP Logged
|
|
|
SmtpServer server = new SmtpServer();
server.AccountName = "user";
server.Password = "pass";
server.Name = "smtp.live.com";
server.Port = 587;
server.SmtpOptions = ExtendedSmtpOptions.NoChunking;
//here I am setting connect() timeout = 5 sec
server.Timeout = 5000;
Smtp smtp = new Smtp();
smtp.DnsServers.Clear();
smtp.SmtpServers.Clear();
server.Proxy.Name = _server;
server.Proxy.Port = _port;
server.Proxy.Protocol = _protocol;
smtp.SmtpServers.Add(server);
//Send connect command (Here it wait 20 sec timeout)
smtp.Connect();
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 06 June 2012 at 4:08am | IP Logged
|
|
|
And what about your license information?
Regards,
Alex
|
Back to Top |
|
|
p0iz0ner Newbie
Joined: 05 June 2012 Location: United Kingdom
Online Status: Offline Posts: 4
|
Posted: 06 June 2012 at 4:20am | IP Logged
|
|
|
MN700-****************************-****
removed by forum administrator for privacy reasons
This is the license key.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 06 June 2012 at 4:27am | IP Logged
|
|
|
As I said above, please submit this via HelpDesk. Forum is a public resource!
Regards,
Alex
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 06 June 2012 at 4:28am | IP Logged
|
|
|
Anyway, we've checked that key and found that the license for this key has been canceled due to the chargeback issued by the credit card holder. Your usage of the product is illegal and violates the law.
Regards,
Alex
|
Back to Top |
|
|
p0iz0ner Newbie
Joined: 05 June 2012 Location: United Kingdom
Online Status: Offline Posts: 4
|
Posted: 06 June 2012 at 6:49am | IP Logged
|
|
|
But I haven't purchased it..I found it somewhere on the forums. My trial key is that
MN700-****************************-****
removed by forum administrator for privacy reasons
Now please help me out.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 06 June 2012 at 7:00am | IP Logged
|
|
|
We know that you purchased the product and then the chargeback was issued for that purchase because you used stolen credit card (from Sweden). We won't provide any assistance for criminals.
Regards,
Alex
|
Back to Top |
|
|