•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 426,922 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,345 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 2584 | Replies: 1
![]() |
•
•
Join Date: Aug 2005
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 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.....
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.....
•
•
Join Date: May 2005
Posts: 494
Reputation:
Rep Power: 4
Solved Threads: 18
Well with what you have there nothing will happen...
You need..
<form method="POST" action"something.xxx">
stuff to pass here
</form>
Example:
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>
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
.net .net framework 3.0 access ajax asp browser code combo custom data development dom dropdownlist email encryption eudora feed firefox gmail google mail microsoft mobile module mozilla msdn net news open source opinion outlook phishing professional reader reuse security skin spam spammers spamming sql technology theme thunderbird weather web webmail windows workflow xml xoap
- Need Email validation source code (C#) (C#)
- Email send in ASP.NET with "Accept en Deny" link (ASP.NET)
- Email Web Page Content (ASP.NET)
- Interface to receive email from a POP3 mail account. Or an Interface like Yahoomail (ASP.NET)
- PHP e-mail SMTP error ??? (PHP)
- PHP E-mail setting ??? (PHP)
- Netscape incoming mail text (Windows Software)
- Using Shell Script how to send mail automatically (Shell Scripting)
Other Threads in the ASP.NET Forum
- Previous Thread: download and upload
- Next Thread: Event not fired on reselection Frameset


Linear Mode