form in mail

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

form in mail

Post by ol4pr0 »

Oke here is what i am trying to accomplish.

I have a bunch of registered users, and instead of asking them a few questions on the website, i would like to send the question form by email have them click the submit button and ofcourse receiving the posted data on the site itself.

Now i dont have troubles putting a form in the mail, however it seems that for example hotmail ( havent checked yahoo ) disables de submit button.

Does anybody have previous experiance in sending a Form by Mail.

I am using xHTML to send out these mails but i dont think its the problem.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Sending these types of things by email is often blocked in the interest of security.

JS is disabled very often too.

Why not just send a link to the form on your website? Or have a link just incase the form is disabled? :wink:
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

Yea i was thinking of the same,

However i think i wont get as many as results as i would when i make it easyer for them.

And @ the current moment i have almost 300 users registered. So as you can see i would like to have the maximum number of results as possible.

These questions are related to the site itself, as in What they think, Is it Easy ect...

Might look like dumb questions and for many of us they are, however there isnt alot of internet experiance here in this country so thats why its very importent for me to get the maximum number of results.

But I asume you have tried something simular and was not able to solve it ?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

I have tried it before yes, my manager wanted me to script something similar (for staff to use). I just scrapped it in the end and used a web page.

If however you say that it works with some email services then I'd just have something like:

Code: Select all

If the form below does not submit, please click <a href=&quote;http://www.yoursite.com/yourscript.html&quote;>here</a> to visit the website.
:)
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

Well i haven't checked yahoo. but i imagen they will do the same.

However i will give it a try with JS. ifnot i guess i will have to use the click on link.
Post Reply