It's not a secret anymore!
The moose likes HTML, CSS and JavaScript and the fly likes JAvascript to sendemail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JAvascript to sendemail" Watch "JAvascript to sendemail" New topic

JAvascript to sendemail

Roisin Dunne

Joined: Feb 19, 2004
Posts: 12
i sit possibel for javascript to send an email!
with the contents of the email already defined?
Balaji Loganathan
author and deputy

Joined: Jul 13, 2001
Posts: 3150
if you are using Windows & IE then yes, by using activeobject,
The code will not work for all clients, I guess the minimum you need on client side is Windows2000 or office 2000 with an SMTP server (?)

use this as a tip and search futher in google, post your question here for new doubts if any.

Spritle Software Blogs
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
ActiveX only is for IE....
Server Side is the only way to go unless you use Mailto tag which uses the clients email.
Yuriy Fuksenko
Ranch Hand

Joined: Feb 02, 2001
Posts: 413
Look at this one:
It is kind of old (Saturday 25th April 1998) but should be still valid
I agree. Here's the link:
subject: JAvascript to sendemail
It's not a secret anymore!