Sending mail using javascript

P

prash.marne

hi all ,

this is a very simple problem but i need some help,

My situation is :

i have a form which opens in a pop-up window , in which user will
insert his email-id & name ,
there are two buttons submit & cancle .

now i want that when the user clicks on submit button the email should
be sent on users email address ,
& i don't want to use ' mailto ' tags the email should be sent
directly .Can i do this using javascript .

any help , thanks in advance.
 
I

Ian Collins

hi all ,

this is a very simple problem but i need some help,

My situation is :

i have a form which opens in a pop-up window , in which user will
insert his email-id & name ,
there are two buttons submit & cancle .

now i want that when the user clicks on submit button the email should
be sent on users email address ,
& i don't want to use ' mailto ' tags the email should be sent
directly .Can i do this using javascript .

any help , thanks in advance.
You can't do this with JavaScript.
 
E

Evertjan.

Ian Collins wrote on 05 feb 2007 in comp.lang.javascript:
cancel?

You can't do this with JavaScript.

You can't do this with clientside javascript.

However you can do this by using serverside javascript on an ASP platform,
using a mailer like CDO or Jmail. I do this all the time.

Well, not really all the time, there are other nice things in cyberlife.
 
P

prash.marne

Ian Collins wrote on 05 feb 2007 in comp.lang.javascript:



You can't do this with clientside javascript.

However you can do this by using serverside javascript on an ASP platform,
using a mailer like CDO or Jmail. I do this all the time.

Well, not really all the time, there are other nice things in cyberlife.

hey thanks for your reply, i am using php now for fixing the thing &
it works absolutly fine
 
R

Randy Webb

Jim Land said the following on 2/5/2007 10:52 AM:

I nominate this topic for <F**ENTRY> inclusion in the JS FAQ.

Does that mean I can nominate you to write the initial draft proposal
for the entry?
 
N

Neo Geshel

Jim said:
I nominate this topic for <FAQENTRY> inclusion in the JS FAQ.

Seconded.

I have had people ask me this a number of times already (in offline
discussions), so I can only assume it’s asked a lot here as well.

...Geshel
--
*********************************************************************
My return e-mail address is an automatically monitored spam honeypot.
Do not send e-mail there unless you wish to be reported as a spammer.
Please send all e-mail to my first name at my last name dot org, with
a subject-line of “NEWSGROUP REPLY FOR NEO GESHEL†(all uppercase).
*********************************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,083
Messages
2,570,591
Members
47,212
Latest member
RobynWiley

Latest Threads

Top