| Author |  | 
      
        | p0iz0ner Newbie
 
  
 
 Joined: 05 June 2012
 Location: United Kingdom
 Online Status: Offline
 Posts: 4
 | 
          Hi,
           | Posted: 05 June 2012 at 1:24pm | IP Logged |   |  
           | 
 |  
 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: 2207
 | 
          Which code are you using? Are you sure .Timeout is set BEFORE connecting to the mail server?
           | Posted: 06 June 2012 at 3:44am | IP Logged |   |  
           | 
 |  
 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: 2207
 | 
          BTW, you can submit this info via HelpDesk but make sure you've a valid license for the component.
           | Posted: 06 June 2012 at 3:48am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | p0iz0ner Newbie
 
  
 
 Joined: 05 June 2012
 Location: United Kingdom
 Online Status: Offline
 Posts: 4
 | 
          SmtpServer server = new SmtpServer();
           | Posted: 06 June 2012 at 4:02am | IP Logged |   |  
           | 
 |  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: 2207
 | 
          And what about your license information?
           | Posted: 06 June 2012 at 4:08am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | p0iz0ner Newbie
 
  
 
 Joined: 05 June 2012
 Location: United Kingdom
 Online Status: Offline
 Posts: 4
 | 
          MN700-****************************-****
           | Posted: 06 June 2012 at 4:20am | IP Logged |   |  
           | 
 |  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: 2207
 | 
          As I said above, please submit this via HelpDesk. Forum is a public resource!
           | Posted: 06 June 2012 at 4:27am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          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.
           | Posted: 06 June 2012 at 4:28am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | p0iz0ner Newbie
 
  
 
 Joined: 05 June 2012
 Location: United Kingdom
 Online Status: Offline
 Posts: 4
 | 
          But I haven't purchased it..I found it somewhere on the forums. My trial key is that
           | Posted: 06 June 2012 at 6:49am | IP Logged |   |  
           | 
 |  
 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: 2207
 | 
          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.
           | Posted: 06 June 2012 at 7:00am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  |