By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,341 Members | 1,553 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,341 IT Pros & Developers. It's quick & easy.

Email

P: n/a
How i can send e-mail using JavaScript?
There is some skill to make it?

Mar 27 '06 #1
Share this Question
Share on Google+
11 Replies


P: n/a
blini said the following on 3/27/2006 12:41 AM:
How i can send e-mail using JavaScript?
There is some skill to make it?


Not in client-side Javascript.

I say client-side because if I answer no then someone will point out
that server side JScript or Javascript can send mail.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 27 '06 #2

P: n/a
Randy Webb wrote:
blini said the following on 3/27/2006 12:41 AM:
How i can send e-mail using JavaScript?
There is some skill to make it?


Not in client-side Javascript.

I say client-side because if I answer no then someone will point out
that server side JScript or Javascript can send mail.


Yes, which is very annoying. ;-)
I know a lot of developers, but 0 who use javascript serverside.

Anybody in here who uses JS serverside? Just curious.

Regards,
Erwin Moller
Mar 27 '06 #3

P: n/a
Erwin Moller wrote on 27 mrt 2006 in comp.lang.javascript:
Randy Webb wrote:
blini said the following on 3/27/2006 12:41 AM:
How i can send e-mail using JavaScript?
There is some skill to make it?


Not in client-side Javascript.

I say client-side because if I answer no then someone will point out
that server side JScript or Javascript can send mail.


Yes, which is very annoying. ;-)
I know a lot of developers, but 0 who use javascript serverside.

Anybody in here who uses JS serverside? Just curious.


Sure, under ASP jscript can be more handy making functions having regex
manipulation or UTC time. [VBscript cannot find the serverside UTC-offset]

I use it also porting ready made clientside JS functions to serverside, or
just for the fun of it.

======================

However, under cscript or wscript JS is also very neat.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Mar 27 '06 #4

P: n/a
Erwin Moller said the following on 3/27/2006 6:30 AM:
Randy Webb wrote:
blini said the following on 3/27/2006 12:41 AM:
How i can send e-mail using JavaScript?
There is some skill to make it? Not in client-side Javascript.

I say client-side because if I answer no then someone will point out
that server side JScript or Javascript can send mail.


Yes, which is very annoying. ;-)


Actually, I should correct myself and say a simple "No" and let them say
"Server side can" so I can reply back and say "No, server side
J(ava)Script cant, it tells the mail server to send mail" :)
I know a lot of developers, but 0 who use javascript serverside.

Anybody in here who uses JS serverside? Just curious.


Evertjan is the only one I know for sure but there are surely others
that use JScript. To me, Server Side Javascript is as good as dead. If
it wasn't before AOL bought it, it surely is now.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 27 '06 #5

P: n/a

Erwin Moller wrote:

[snip]
Anybody in here who uses JS serverside? Just curious.

[/snip]

I do for my personal site.

E-mail from server side under ASP will require a separate component; it
is not natively part of JavaScript. My ASP is Sun One which includes
an ex-Chilisoft Mail component accessible through Server.CreateObject.

Regards

Julian

Mar 27 '06 #6

P: n/a

Randy Webb wrote:

[snip]
Evertjan is the only one I know for sure but there are surely others
that use JScript. To me, Server Side Javascript is as good as dead. If
it wasn't before AOL bought it, it surely is now.

[/snip]

I sincerely hope it lingers on a bit in ASP for amateur programmers
such as myself.

I wonder whether it is used in earnest for professional use server
side? I guess rarely, given ASP.NET, PHP, JSP, etc. I am certainly
starting to consider teaching myself PHP.

Regards

Julian

Mar 27 '06 #7

P: n/a
Julian Turner wrote:

Randy Webb wrote:

[snip]
Evertjan is the only one I know for sure but there are surely others
that use JScript. To me, Server Side Javascript is as good as dead. If
it wasn't before AOL bought it, it surely is now. [/snip]

I sincerely hope it lingers on a bit in ASP for amateur programmers
such as myself.

I wonder whether it is used in earnest for professional use server
side? I guess rarely, given ASP.NET, PHP, JSP, etc. I am certainly
starting to consider teaching myself PHP.


Hi,

Please go PHP.
It is relatively easy to learn, but nonetheless very powerfull.
comp.lang.php is a great group if you need any help. :-)

Regards,
Erwin Moller

Regards

Julian


Mar 27 '06 #8

P: n/a

Erwin Moller wrote:
Hi,

Please go PHP.
It is relatively easy to learn, but nonetheless very powerfull.
comp.lang.php is a great group if you need any help. :-)

Regards,
Erwin Moller


Thanks. That is the way I am likely to go, as that is automatically
available with my hosting company. Will check out the newsgroup.

Regards

Julian Turner

Mar 27 '06 #9

P: n/a
Julian Turner said the following on 3/27/2006 9:03 AM:
Randy Webb wrote:

[snip]
Evertjan is the only one I know for sure but there are surely others
that use JScript. To me, Server Side Javascript is as good as dead. If
it wasn't before AOL bought it, it surely is now. [/snip]

I sincerely hope it lingers on a bit in ASP for amateur programmers
such as myself.


ASP will have Server Side JScript.
Server Side Javascript was in the Netscape Server package.

They are two different animals. With MS and it's legacy trend, don't
look for JScript to disappear anytime soon.
I wonder whether it is used in earnest for professional use server
side? I guess rarely, given ASP.NET, PHP, JSP, etc. I am certainly
starting to consider teaching myself PHP.


PHP is the best way, especially since you said in another post that your
hosting company has it by default.

With PHP and Apache, you can setup a localhost server to test on without
having to upload everything.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 27 '06 #10

P: n/a
> Please go PHP.

I went PHP until I went Ruby On Rails. I wish I'd gone straight to
Rails but the PHP probably helped me pick up the Rails stuff faster.
But Rails is a lot nicer.

www.rubyonrails.com

Peter

Mar 27 '06 #11

P: n/a

Julian Turner wrote:
I wonder whether it is used in earnest for professional use server
side? I guess rarely, given ASP.NET, PHP, JSP, etc. I am certainly
starting to consider teaching myself PHP.


JScript is one of the three MS supported languages for ASP.NET. It is
quite painful compared to C# but handy for moving former client-side
code, server-side.

PHP is much nicer and richer than than JScript server-side or ASP
(vbscript) or, IMHO, ASP.NET. I haven't tried Ruby On Rails yet though
it's Python heritage is enough to make me distrustful. I'm in a
minority on this one though.

bg

Mar 28 '06 #12

This discussion thread is closed

Replies have been disabled for this discussion.