View Single Post
  #4 (permalink)  
Old 12-02-2008, 11:56 AM
ecaf ecaf is offline
VB.NET Forum Newbie
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Dec 2008
Posts: 20
Reputation: 18
ecaf is on a distinguished programming path ahead
Default

Hi, maybe you could help me a little further?
So far I have managed to send an email from my app using System.Net.Mail.MailMessage
And I can send the email, but I wanted to add buttons to this message, like Approve / Decline - which would send a message back to the database and store which option was selected.

Now I have been searching on the web this morning on HTML forms in vb.net and things like this but I cannot get the information I have been looking for.
I used PHP before (for college) and I tried using this, which did work in that it put the buttons into the email being sent, but of course it didn't do anything else because I wasn't sure how to use the postback, and I don't really want to go down this route unless it is the only way to do it.

So is there a way to send a System.Net.Mail.MailMessage email with buttons in it, and can you direct me to a tutorial or something for this?
Can I get it to put the value of the button selected into the database?

Sorry this might seem like silly questions, but when your just learning it's difficult to find where to start.
Thanks for answers so far.
Reply With Quote