How can I simple send an email without Outlook or something with JavaScript?
-
3Just curious, why would you want to do that?ggfan– ggfan2010-04-27 00:49:48 +00:00Commented Apr 27, 2010 at 0:49
-
2Shame the nick is "shady" because I can't believe a person would really want to do this nefariously. Also, server-side script is invariably the correct answer.jcolebrand– jcolebrand2010-04-27 00:55:23 +00:00Commented Apr 27, 2010 at 0:55
-
I want to add an auto-invite in my blog, and really dont know howBruno 'Shady'– Bruno 'Shady'2010-04-27 01:17:38 +00:00Commented Apr 27, 2010 at 1:17
-
Shay-dee! This is totally shady! It's beyond shadyMatthew Lock– Matthew Lock2010-04-27 03:45:44 +00:00Commented Apr 27, 2010 at 3:45
Add a comment
|
2 Answers
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