Monday, 19 March 2012

Email Notification in Asp.net

i have a problem that i have to send the notification to my user on every event which occur in my system which is help desk. can you please guide my about it?

2 comments:

  1. You could use a ajax timer control if in ASP.net to do this or alternatively create a Windows service to do the same.

    ReplyDelete
    Replies
    1. this code is more helpfull to send email notification in Asp.net.
      '(1) Create the MailMessage instance
      Dim mm As New MailMessage(fromAddress, toAddress)

      '(2) Assign the MailMessage's properties
      mm.Subject = subject
      mm.Body = body

      '(3) Add the read receipt request SMTP header (Disposition-Notification-To)
      mm.Headers.Add("Disposition-Notification-To", sendReadReceiptToAddress)

      Delete