It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

html to send mail

html to send mail

Postby kdw3 on Fri Oct 05, 2007 3:48 pm

Does some html code exist out there that can send an email directly from your webpage? Sort of like a contact us page...

Thank you.
kdw3
 
Posts: 8
Joined: Fri Oct 05, 2007 3:40 pm

Postby bobbyblades on Fri Oct 05, 2007 8:08 pm

html cannot send mail, you need an initial form page, than a separate page which handles the form's values depending on on how the form sent them (post, get, etc.) that second page can then send the email via a server side script like php which filters the form values and sends the email(as long as port 25 is not blocked)
User avatar
bobbyblades
50+ Club
 
Posts: 85
Joined: Fri Aug 24, 2007 8:38 pm
Location: hawaii or bust

Postby knifeinback on Sat Oct 06, 2007 1:53 am

yeah, you need to make a html form. And from there use something like PHP.

alternativly, you can make a link which would open a default mail client and have the adress specified come up when the link was clicked.

But this isn't a good idea as heaps of people don't use/have a mail client anyway.
User avatar
knifeinback
100+ Club
 
Posts: 136
Joined: Fri Jul 27, 2007 10:41 am
Location: 4170: Brisbane

Postby flabbyrabbit on Sat Oct 06, 2007 3:16 pm

Check out this: http://uk3.php.net/function.mail, should be able to help.

Flabby Rabibt
User avatar
flabbyrabbit
500+ Club
 
Posts: 706
Joined: Thu Jan 25, 2007 1:10 pm
Location: Midlands, England

Postby dafunkymunky on Sun Oct 07, 2007 1:54 pm

and giving ppl option to choose whom to mail is not a good ideq unless they have to select from a listbox.. you can mail in anybody's name if you give a text box, to anybody..
--------DAFUNKYMUNKY--------
::THE::NECESSARY::[D]EVIL::
....errr i mean munky....
User avatar
dafunkymunky
100+ Club
 
Posts: 183
Joined: Fri Apr 08, 2005 7:32 am
Location: India

Postby bobbyblades on Sun Oct 07, 2007 2:50 pm

not a good idea to have email address's in plain html either, unless those people want to be spammed to death, and if email address's are on a page in plain sight or in a select list a bot will eat them up.
User avatar
bobbyblades
50+ Club
 
Posts: 85
Joined: Fri Aug 24, 2007 8:38 pm
Location: hawaii or bust

Postby dafunkymunky on Sun Oct 14, 2007 4:07 pm

Haha.. Ya i agree with bobbyblade, There is a way to hide your id using javascript.
--------DAFUNKYMUNKY--------
::THE::NECESSARY::[D]EVIL::
....errr i mean munky....
User avatar
dafunkymunky
100+ Club
 
Posts: 183
Joined: Fri Apr 08, 2005 7:32 am
Location: India


Who is online

Users browsing this forum: No registered users and 6 guests