Harsha Reddy

Harsha Reddy

  • NA
  • 2
  • 2.5k

C# Windows Application -- Automatic Email with an Attachmen

Mar 14 2013 6:45 AM
I have developed a window application which is used to store the login time and logout time of an employee.

My table(EmpGridView)contains EmpID,cur_Date,EmpNAME,Email_ID,InTime,OutTime,Est atus,TotalWorkingHoours as the columns.

Now i need to send an email(eg: to [email protected]) automatically for every 30 min. with an attachment.

The attachment consists of the details from the EmpGridView table where Estatus = 'in' (this mean i need to send the details who's ever status is 'in' and ignore all other).

Explain how to do this.