Click to See Complete Forum and Search --> : Sending Email


alex222
02-17-2003, 02:02 PM
I need to make a button which when pressed sends an email immediately, meaning it doesn't open up outlook express or some other program for sending e-mails. Is there anyway to do that?

Nevermore
02-17-2003, 02:36 PM
You need to use a server-side script, not JavaScript. Examples of languages you could use are:

ASP (I think)
PHP
Perl CGI
Server-Side Javascript.
Java
Flash (Somehow, I can't remember how though)

Which of these does your server support?

alex222
02-17-2003, 02:47 PM
I'm actually trying to find a way to do it with a free server, like www.geocities.com or www.freeservers.com and I don't think they allow any server-side scripts. Is there anyway to send information to an e-mail account using javascript without having the viewer open a e-mail writing program and manually type in everything?

Nevermore
02-17-2003, 02:54 PM
You can insert all of the text in the browser window, but it will still have to use the mail client. There are free hosts out there that support server-side scripting - go to http://www.clickherefree.com and search for one.

Padrill
07-15-2003, 07:02 AM
Client side email sending:

<FORM action="mailto:valid email address" method="post">
<INPUT type="submit" value="Send Email" name="button"></FORM>


Make sure submit button has a name otherwise doesn't work.

-------------

:cool: You're welcome!