Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Mail through Javascript

Reply
Thread Tools

Mail through Javascript

 
 
Roop
Guest
Posts: n/a
 
      10-04-2006
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

 
Reply With Quote
 
 
 
 
web.dev
Guest
Posts: n/a
 
      10-04-2006

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.

 
Reply With Quote
 
 
 
 
Evertjan.
Guest
Posts: n/a
 
      10-04-2006
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)
 
Reply With Quote
 
Roman
Guest
Posts: n/a
 
      10-08-2006
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
imap not reading mail which are already read through a mail client Tom Mac Ruby 1 05-03-2011 10:28 PM
Sending mail through Mail::Outlook paddyxmurphy@googlemail.com Perl Misc 2 05-25-2006 04:53 PM
Adding items to listbox through java script then accessing through asp.net Brian Henry ASP .Net 5 08-03-2004 02:10 AM
RE: Sending Through ^] Through telnetlib Mahrt, Dallas Python 0 01-23-2004 07:04 PM
Sending Through ^] Through telnetlib John Abel Python 2 01-23-2004 05:47 PM



Advertisments