Post Form Data From HTML Mail To Web Browser

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chunk1978
    New Member
    • Jan 2007
    • 224

    #1

    Post Form Data From HTML Mail To Web Browser

    hi... i've written a mail script that sends and HTML mail to myself... the HTML mail is made up of posted php data from a user, as well as a form for myself to fill out... but i'm having a problem with posting this PHP form data from the HTML Email in my email browser (Safari Mail) to the my internet browser...

    everything works great except for the fact that nothing get's posted to the webpage from my HTML email...

    i've tested the code from the HTML Mail in the webbrowser, and it works from Browser to Browser... but why isn't it working from HTML Email to Browser?

    any ideas?
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Originally posted by chunk1978
    everything works great except for the fact that nothing get's posted to the webpage from my HTML email...
    My guess is that this is a security feature built into email applications to discourage phishing.

    Imagine how naive Users are not to check the location bar before logging into a website they got to by clicking on a link in an email.

    How hard is it to believe that those same Users might just be unwitting enough to try to "login into their bank's website" from an anonymous email that looks official?

    My recommendation would be to create a UUID for that User's account and put it in a link in the email.

    Originally posted by Your Mailer Script
    <p>Welcome to the site! To get started, activate your account by going to the following URL:</p>

    <p>http:// mysite.com/activate.php?uu id=da63fb69aeb0 3c776bd23e91e2c 1cb3df30135d3</p>
    In this case, activate.php would contain the form, custom-tailored to that User's account.

    Comment

    • chunk1978
      New Member
      • Jan 2007
      • 224

      #3
      Originally posted by pbmods
      My guess is that this is a security feature built into email applications to discourage phishing.

      Imagine how naive Users are not to check the location bar before logging into a website they got to by clicking on a link in an email.

      How hard is it to believe that those same Users might just be unwitting enough to try to "login into their bank's website" from an anonymous email that looks official?

      My recommendation would be to create a UUID for that User's account and put it in a link in the email.



      In this case, activate.php would contain the form, custom-tailored to that User's account.
      hey pbmods... thanks for the reply... i suppose your right about it being a security issue... it works when using webmail systems like Gmail, as it will prompt an alert stating "you are about to send information over the internet, do you want to continue?"... it's just unfortunate (i guess) that Apple Mail will not display this alert, and just ignores any PHP post data all together...

      it's not really a huge deal for me... i just had to design a small form for myself to fill out manually instead... it would have been nice to have a fully integrated automation system, but a small form isn't so bad... and i suppose it's all for the best to keep emails more secure...

      Comment

      • pbmods
        Recognized Expert Expert
        • Apr 2007
        • 5821

        #4
        Originally posted by chunk1978
        it's just unfortunate (i guess) that Apple Mail will not display this alert, and just ignores any PHP post data all together...
        Hm. Actually, before giving up on this entirely.... What if you changed the method to GET?

        Comment

        • chunk1978
          New Member
          • Jan 2007
          • 224

          #5
          Originally posted by pbmods
          Hm. Actually, before giving up on this entirely.... What if you changed the method to GET?
          yeah i tried that... i changed every possible option of a form submission... Apple Mail just will not post anything...

          i've also discovered that Apple Mail will not use javascript in HTML email also... strange by true...

          Comment

          Working...