469,649 Members | 1,228 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,649 developers. It's quick & easy.

Post Form Data From HTML Mail To Web Browser

chunk1978
224 100+
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
4 1774
pbmods
5,821 Expert 4TB
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
224 100+
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
5,821 Expert 4TB
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
224 100+
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.

Similar topics

15 posts views Thread by Thomas Scheiderich | last post: by
6 posts views Thread by guoqi zheng | last post: by
24 posts views Thread by moriman | last post: by
15 posts views Thread by tmax | last post: by
56 posts views Thread by UKuser | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.