Posted on: 2/20/2014 3:39:58 AM | Views : 644

I have an ASP.NET Website 4.5, (Visual Studio 2012) having a database and using Microsoft membership for user management. I already have the code (VB) to send mail to users depending on their role. If I visit a page called Load.aspx the emails are sent. I would like to add a Windows Installer (that I can also install) to this project so it can automatically visit the page Load.aspx (which will send emails)

Here's the Load.aspx.vb
Imports System.Net.Mail Imports System.Net Imports System.IO Partial Class _Default Inherits System.Web.UI.Page Protected Sub CustomValidator1_ServerValidate(ByVal source As Object, ByVal args As System.Web.UI.WebControls.ServerValidateEventArgs) Handles CustomValidator1.ServerValidate If txtComments.Text.Length > 300 Then args.IsValid = False Else ...

Go to the complete details ...