now i am doing an email form...(aspx in vb.net)

the coding looks something like this,,,

Imports System.Web.Mail

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

Dim mail As New MailMessage

mail.To = "blablabla@hotmail.com"

mail.From = "blablabalbla@yahoo.com"

mail.Subject = "permission to site"

mail.BodyFormat = MailFormat.Html

mail.Body = "<input type=button value=gotohere> <area href==http://www.google.com)> "

SmtpMail.SmtpServer = "localhost"

SmtpMail.Send(mail)


End Sub

so from the mail body there... i got add one button inside... and when i got the email...~it shows the button... but when i click at it... nothing happens.. so how am i going to add the link to make the button function(meaning when i click at the button.. it will redirect me to http://www.google.com ?) when i click the button frm the email?

can anyone plz help me??/
i may be contacted at jasonlimwk@gmail.com
thanks.....

Well with what you have there nothing will happen...

You need..

<form method="POST" action"something.xxx">
stuff to pass here

</form>

Example:

<form method="post" action="my_browser_redirect.php">
<input type=button value=gotohere> <area href==http://www.google.com)>
</form>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.