I hope I can explain this.
My program updates a sql record and then it sends an email to a select person with an attachment.
When I step through the program every works.
However when I run with out the breaks it appears that the email portion does not work. The update takes place but no email.
So then I tried sending the email prior to the update...same thing...I step through the logic and it works; I run without breaks...no email.
The email portion needs to go out to another server to retrieve an attachment....Is it possible there maybe a delay which is causing the other actions to finish before the link to the attachment as taken place?
Again, if I step through this process everything works.
Is there something I can add to the code that will delay the next command until after the previous piece is complete?
I am coding in VB.Net and I am using SMTP for sending the e ...
Go to the complete details ...