Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Is it possible to click a button in an email and have that

Is it possible to click a button in an email and have that

Scheduled Pinned Locked Moved Visual Basic
databasecsharpquestionsql-server
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kenn_rosie
    wrote on last edited by
    #1

    I am using visual studio.net, vb.net sql server msde I am sending an email asking a question with a Y/N answer Is it possible to button click Y/N in an email and change a db field Is it possible to click a button in an email and have that change a field in a database? Example: I want to send an email to a customer and ask them if they are over the age of 30 Y/N? Can the Y/N value be returned in an email and automatically change the db field to Y or N?

    D 1 Reply Last reply
    0
    • K kenn_rosie

      I am using visual studio.net, vb.net sql server msde I am sending an email asking a question with a Y/N answer Is it possible to button click Y/N in an email and change a db field Is it possible to click a button in an email and have that change a field in a database? Example: I want to send an email to a customer and ask them if they are over the age of 30 Y/N? Can the Y/N value be returned in an email and automatically change the db field to Y or N?

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Yes. It'll work just like as Web Application. The body of the email contains an HTML page. Clicking a button on that page posts the response back to your web server, exactly like any WebForms app. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      V 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Yes. It'll work just like as Web Application. The body of the email contains an HTML page. Clicking a button on that page posts the response back to your web server, exactly like any WebForms app. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        V Offline
        V Offline
        Vasudevan Deepak Kumar
        wrote on last edited by
        #3

        Yes. But not always and not every (web) email client supports them nowadays for fear of Web-Bugs. The best bet would be send a plain text email with an hyperlink so that the user can visit the website and submit the data. There are advantages to this approach: (*) Avoiding phishing websites. (*) Avoiding or Minimizing WebBugs in emails. (*) Smaller Sized email messages. (*) More Secure Messages Vasudevan Deepak Kumar Personal Web: http://www.lavanyadeepak.tk/ I Blog At: http://www.dotnetjunkies.com/weblog/deepak/
        http://deepakvasudevan.blogspot.com/
        http://deepak.blogdrive.com/

        D 1 Reply Last reply
        0
        • V Vasudevan Deepak Kumar

          Yes. But not always and not every (web) email client supports them nowadays for fear of Web-Bugs. The best bet would be send a plain text email with an hyperlink so that the user can visit the website and submit the data. There are advantages to this approach: (*) Avoiding phishing websites. (*) Avoiding or Minimizing WebBugs in emails. (*) Smaller Sized email messages. (*) More Secure Messages Vasudevan Deepak Kumar Personal Web: http://www.lavanyadeepak.tk/ I Blog At: http://www.dotnetjunkies.com/weblog/deepak/
          http://deepakvasudevan.blogspot.com/
          http://deepak.blogdrive.com/

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          He asked if it was possible. Yep, it is! You're right, though. I didn't mention that it wasn't a good idea! :laugh: RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups