Server-Side Mail

What’s the best way to send the results of a form to an e-mail address… instead of usuing a standard "mailto:blah@blah.com" I’m looking for like a cgi script or something like that to use that will do it server side… any suggestions?

–Mike

i would use PHP. Do a search of the forum for “PHP E-mail form” and you will find your answer.

Some hosts disable php built-in “mail” function which is really simple to use to avoid spam,
some provide the sendmail cgi…
Check www.flash-db.com and their messageboard, you’ll find all the details you need…

I used both flash and php to do the job, if you are using flash then I can help. HTML, Java etc, no idea here.

Let us know.

in php it’s very easy to code a mailto command… the command used is mail(), and its prototype is:

bool mail ( string to, string subject, string message [, string additional_headers [, string additional_parameters]])

i guess you can figure out how to use it :wink: