PDA

View Full Version : Email web forms?



billdotson
February 18th, 2011, 01:18 PM
So, I've always wondered, couldn't you just send an email from any address through a web form? Many of the ones I've seen only require a name, the sender email and the recipient email. What stops someone from putting in some bogus name (or even the right name that goes with the email if they know it) and sending an email? I haven't done really any web programming so I am unsure.

Thanks.

Grenage
February 18th, 2011, 01:31 PM
Are you talking about the sort of forms that are used for customer feedback? Most of these forms are coded to send mail to a particular destination, and the sender address is really only used so that the recipient can reply to you.

billdotson
February 19th, 2011, 05:19 AM
I guess. What made me think of it is an add-on I have for Firefox that takes the main text on the page (just the article part of an article for instance) and formats it in an easier to read way. Then, there is an icon you can press to "Share". You put in your name, email address and the recipient email, along with an optional comment.

hakermania
February 19th, 2011, 11:35 AM
These mails are sent with PHP usually....

sneakyimp
February 19th, 2011, 10:16 PM
If it's an add-on for firefox, it's probably using your local machine to send the mail.

Most PHP forms should be engineered to avoid spam practices. If they're not, spammers quickly locate them and use them to send spam mail. The anti-spam hardening in practice is a pretty thoughtful exercise. You either have to limit the message content to something very specific or you have to limit the recipient using captcha or something.

billdotson
February 19th, 2011, 10:55 PM
So would a spam message from a poorly designed PHP form have a forged header (I don't know a lot about hacking, etc.)

I don't think the Firefox add on connects to Thunderbird or anything actually.