Click to See Complete Forum and Search --> : sending form data to an email address
Hi I've got a form on my website and I'm trying to get the data sent to my email address I've played around with the code a bit I've had it partially working (I needed to go through and email program like communicator or pmail which I don't want to do) anyway here's the chunk of code I'm using so far any tips would be appreciated
<form name=x action="mailto:kjnis@yahoo.co.nz" enctype="text/plain" onsubmit="return checkform()" method=post>
The code you posted will work for the users who do not have Web-based email, however you should use a server-side language to process form data and have it emailed to you. Common server-side languages that are used include: ASP, PHP, CGI/Perl and JSP.
[Jona]
chrismartz
06-26-2003, 10:35 PM
how would you do this in .asp coding?
Originally posted by sirhcchris3
how would you do this in .asp coding?
I don't know ASP. Ask in the ASP forum.
[Jona]
Originally posted by Jona
The code you posted will work for the users who do not have Web-based email, however you should use a server-side language to process form data and have it emailed to you. Common server-side languages that are used include: ASP, PHP, CGI/Perl and JSP.
[Jona]
I was after something that didn't rely on the users having an email address or if they were at a remote location ie a cyber cafe and didn't has access to a program like communicator or outlook express
I kinda have to do this in javascript its for a school project
If you aren't going to use server side programming, then you have to use a mailto: in the forms action.
Originally posted by pyro
If you aren't going to use server side programming, then you have to use a mailto: in the forms action.
Ta, I'm just starting out using javascript so I guess the questions will keep on coming