By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,254 Members | 2,365 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,254 IT Pros & Developers. It's quick & easy.

Post Form Data From HTML Mail To Web Browser

chunk1978
100+
P: 224
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?
May 18 '07 #1
Share this Question
Share on Google+
4 Replies


pbmods
Expert 5K+
P: 5,821
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.

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

<p>http:// mysite.com/activate.php?uuid=da63fb69aeb03c776bd23e91e2c1cb3d f30135d3</p>
In this case, activate.php would contain the form, custom-tailored to that User's account.
May 18 '07 #2

chunk1978
100+
P: 224
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...
May 19 '07 #3

pbmods
Expert 5K+
P: 5,821
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?
May 19 '07 #4

chunk1978
100+
P: 224
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...
May 19 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.