Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: SmtpServer Timeout not working Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
p0iz0ner
Newbie
Newbie


Joined: 05 June 2012
Location: United Kingdom
Online Status: Offline
Posts: 4
Posted: 05 June 2012 at 1:24pm | IP Logged Quote p0iz0ner

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 View p0iz0ner's Profile Search for other posts by p0iz0ner
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 06 June 2012 at 3:44am | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 06 June 2012 at 3:48am | IP Logged Quote Alex

BTW, you can submit this info via HelpDesk but make sure you've a valid license for the component.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
p0iz0ner
Newbie
Newbie


Joined: 05 June 2012
Location: United Kingdom
Online Status: Offline
Posts: 4
Posted: 06 June 2012 at 4:02am | IP Logged Quote p0iz0ner

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 View p0iz0ner's Profile Search for other posts by p0iz0ner
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 06 June 2012 at 4:08am | IP Logged Quote Alex

And what about your license information?

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
p0iz0ner
Newbie
Newbie


Joined: 05 June 2012
Location: United Kingdom
Online Status: Offline
Posts: 4
Posted: 06 June 2012 at 4:20am | IP Logged Quote p0iz0ner

MN700-****************************-****
removed by forum administrator for privacy reasons

This is the license key.
Back to Top View p0iz0ner's Profile Search for other posts by p0iz0ner
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 06 June 2012 at 4:27am | IP Logged Quote Alex

As I said above, please submit this via HelpDesk. Forum is a public resource!

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 06 June 2012 at 4:28am | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 
p0iz0ner
Newbie
Newbie


Joined: 05 June 2012
Location: United Kingdom
Online Status: Offline
Posts: 4
Posted: 06 June 2012 at 6:49am | IP Logged Quote p0iz0ner

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 View p0iz0ner's Profile Search for other posts by p0iz0ner
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 06 June 2012 at 7:00am | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide