views:

72

answers:

2

How can I simple send an email without Outlook or something with JavaScript?

+4  A: 

You need to write a server-side script to send the email, then call it using AJAX.

Beware of spammers, though.

SLaks
+1  A: 

Unfortunately, you can't send an email using only JavaScript. Your JavaScript will need to send the email data (subject, replyto, message, etc.) to a server script (PHP, Python, etc.) which can then send your message from the mailserver.

Here's how using PHP: http://email.about.com/od/emailprogrammingtips/qt/How_to_Send_Email_from_a_PHP_Script.htm

Rob