View Full Version : small HTML question

10-17-2001, 09:09 PM
using html, you can say:

<form action="mailto:bobs_email_address@bob.com">

but that opens up outlook express or some other program to send the data. how would you make it so it automatically sends the data to the email address without opening up the persons email application or something like that?

10-17-2001, 09:48 PM

<FORM METHOD="POST" ACTION="mailto:xxx@xxx.xxx">

Maybe that's right...

10-18-2001, 02:39 AM
Do you mean a web based email client?

You would need a program to format the email and send it on...there are loads of ways to do this depending on what you want to achieve......

I wrote a similar client for my website using a HTML form linked to a java servlet.....It works ok, but I still need to add the capability to send attachments with it...I know some MIME and Base64, and I have the idea in my mind of how to do it, but I'm too lazy to complete it at the moment....

10-18-2001, 02:43 AM
I use a common gateway interface with PERL. Actually, you can find many canned format form mail scripts. The best I have seen is at Matt's Script Archive. Do a search for that. You must have cgi access on your webserver and have a perl compiler on the server. I look for that when I find an Web Host Provider.

Hope that helps... Betazep

10-18-2001, 05:19 AM
if your webserver supports ASP, then i suggest you use that, take a look at codehound.com or planetsourcecode.com and search in the asp sections for an asp-mail example

10-18-2001, 06:42 AM
you can try the following as well they have some source code for sending email using CDO - i have just been doing this and would have posted my code but i have now changed the web page to logon to an exchange server first and interogate the public folders (until my IIS fell over!!!)