0

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.....

2
Contributors
1
Reply
3
Views
12 Years
Discussion Span
Last Post by techniner
0

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>
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.