Author: tahmineh | Posted on: 6/19/2008 4:19:47 AM | Views : 379

 Hello
I have this code for sending simple email
 Imports System.Web.Mail
Partial Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click

        Dim strTo, strSubject As String
        Dim strFrom As String
        strTo = "test@hotmail.com"
        strFrom = "test@test.com"
        strSubject = "Test"
        Dim objMail
        objMail = Server.CreateObject("CDONTS.NewMail")

        objMail.From = "friend@somewhere.com"
 &nb ...

Go to the complete details ...