Hi,
I've been definitely told by my IT office that as my SQLServer database is in a shared SQL Server they can't run any executables via the server scheduling task service . The executable would query my database on a daily basis, update data in it and send an email. First, is this true? And secondly, do I have an alternative using .net timer classes, for example? I would appreciate your advice. Many thanks.
UPDATE: This is the code I use to send emails. If I have it in a page of my site, it works. If I run it in a executable I get an error "Failure sending email" which I assume is because they don't let me?
Dim message As MailMessage = New MailMessage()
message.From = New MailAddress("[email protected]")
message.To.Add(New MailAddress("[email protected]"))
message.Subject = "My subject"
message.Body = "My content"
Dim smtp As SmtpClient = New SmtpClient("myserver")
smtp.Send(message)