View previous topic :: View next topic |
Author |
Message |
jason_limwk
Joined: 02 Aug 2005 Posts: 1
|
Posted: Tue Aug 02, 2005 11:47 pm Post subject: email button? |
|
|
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??/
or may email me at jasonlimwk@gmail.com
thanks..... |
|
Back to top |
|
|
administrator Site Admin
Joined: 01 Oct 2004 Posts: 183
|
Posted: Wed Aug 03, 2005 7:26 am Post subject: |
|
|
Something like this should do the trick:
Code: |
mail.Body = "<form action=""http://www.google.com""><input type=""Submit"" value=""gotohere""></form>"
|
_________________ Peter
ASP & ASP.NET Articles and Tutorials |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|