Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem Using vbSendMail.dll

Status
Not open for further replies.

Bloobird

Programmer
Oct 23, 2001
49
GB
Hi - I've got an App written in VB6 which automatically emails people when a user changes a record relating to them. A grid with the days of the week is held in a form, then clicking on one of these days bring up another form. If the details for the user change, an email is automatically sent via VBSendMail, and the form closes. However, if I make a change, save it (Closing 2nd form), then open the form again, make a change, save it, repeatedly, the email will fail. The SendFail message is (Timeout occurred: The SMTP Host did not respond to the request). It never happens on the first change, only after repeated subsequent changes - I am using
Set poSendMail = New clsSendMail
on the form load of the 2nd form, then
Set poSendMail = Nothing
on Form Unload - does anybody have any ideas ??? Could it be a setting in VBSendMail or with the SMTP Host ???

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top