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

Mail through Javascript

P: n/a
Hello All,

I need to ask one thing Please help me out form this.....

I need to send a mail through Javascript. This mail includes the
details of the User .

I search with light and lamp but did n't get the sucess. Please
sugggest me the code for that.

I also would like to Know whether this kind of mailing is reliable or
not ....

with regards
Tarun Sinha

Oct 4 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a

Roop wrote:
Hello All,

I need to ask one thing Please help me out form this.....

I need to send a mail through Javascript. This mail includes the
details of the User .
I search with light and lamp but did n't get the sucess. Please
sugggest me the code for that.

I also would like to Know whether this kind of mailing is reliable or
not ....

with regards
Tarun Sinha
To be able to perform that kind of action would mean that the client
needs to have a SMTP service running. Even if this was the case, if
this were meant to be executed through the browser, the browser
security settings needs to be changed for each individual. Finally, it
is possible to automate Outlook, however this would be an IE only
method.

This kind of emailing is not reliable.

What is your true purpose? If we knew, perhaps we could provide an
alternate solution. If you're just looking to send emails, this should
be done on the server.

Oct 4 '06 #2

P: n/a
web.dev wrote on 04 okt 2006 in comp.lang.javascript:
>
Roop wrote:
>Hello All,

I need to ask one thing Please help me out form this.....

I need to send a mail through Javascript. This mail includes the
details of the User .
>I search with light and lamp but did n't get the sucess. Please
sugggest me the code for that.

I also would like to Know whether this kind of mailing is reliable or
not ....

with regards
Tarun Sinha

To be able to perform that kind of action would mean that the client
needs to have a SMTP service running. Even if this was the case, if
this were meant to be executed through the browser, the browser
security settings needs to be changed for each individual. Finally, it
is possible to automate Outlook, however this would be an IE only
method.

This kind of emailing is not reliable.
True, assuming that the OP ment clientside javascript.

Serverside javascript with a com, like CDO or Jmail is quite possible.
>
What is your true purpose? If we knew, perhaps we could provide an
alternate solution. If you're just looking to send emails, this should
be done on the server.
Yes.

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

P: n/a
Roop wrote:
Hello All,

I need to ask one thing Please help me out form this.....

I need to send a mail through Javascript. This mail includes the
details of the User .

I search with light and lamp but did n't get the sucess. Please
sugggest me the code for that.

I also would like to Know whether this kind of mailing is reliable or
not ....

with regards
Tarun Sinha
You have to specify the environment you want to send mail via JavaScript
from, e.g. :

Web browser - possible only with server support. Current browsers cannot
send emails AFAIK.

WSH, HTA, ASP - using CDO or other 3rd party ActiveX object or
commandline utility.

--
Roman Ziak, DIPmicro Electronics
Selection of PIC and AVR micros and other electronic parts.
www.dipmicro.com
Oct 8 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.