2 Replies - 1410 Views - Last Post: 28 July 2013 - 06:04 AM Rate Topic: -----

#1 jimzcoder  Icon User is offline

  • D.I.C Regular

Reputation: 54
  • View blog
  • Posts: 331
  • Joined: 14-November 12

Sending an Email Via GMail

Posted 10 July 2013 - 09:46 PM

what would be the best value to applied as SMTPConnectionTimeOut when sending email using gmail smtp server.
im using vb6.
and the current value that im using is 30.
this question might be broad. but im just hoping somebody could help me figure this out.
i will be sending emails to minimum of 20 users. with an attachment size with the minimum size of 20KB.

This post has been edited by macosxnerd101: 10 July 2013 - 10:04 PM
Reason for edit:: Please use a descriptive title

Is This A Good Question/Topic? 0
  • +

Replies To: Sending an Email Via GMail

#2 Michael26  Icon User is offline

  • DIC-head, major DIC-head
  • member icon

Reputation: 355
  • View blog
  • Posts: 1,524
  • Joined: 08-April 09

Re: Sending an Email Via GMail

Posted 11 July 2013 - 12:36 PM

If you're connecting over a slow link, you'll want a high timeout, but over the high speed internet, a few seconds should be enough.
Do some several trial runs to determine your best timeout value.
And if i'm not wrong the timeout applies only until the valid connection is established, if the connection is not established in under defined time then Timeout event will occur, i think this occur mostly on slow connections.
Was This Post Helpful? 0
  • +
  • -

#3 roxs.zj  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 28-July 13

Re: Sending an Email Via GMail

Posted 28 July 2013 - 06:04 AM

View PostMichael26, on 11 July 2013 - 12:36 PM, said:

If you're connecting over a slow link, you'll want a high timeout, but over the high speed internet, a few seconds should be enough.
Do some several trial runs to determine your best timeout value.
And if i'm not wrong the timeout applies only until the valid connection is established, if the connection is not established in under defined time then Timeout event will occur, i think this occur mostly on slow connections.

Agreed with michael126
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1