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

Sending mail using javascript

P: n/a
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.

Feb 5 '07 #1
Share this Question
Share on Google+
6 Replies

P: n/a
pr*********@gmail.com wrote:
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.

--
Ian Collins.
Feb 5 '07 #2

P: n/a
Ian Collins wrote on 05 feb 2007 in comp.lang.javascript:
pr*********@gmail.com wrote:
>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 .
cancel?
>>
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.
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.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Feb 5 '07 #3

P: n/a
On Feb 5, 1:44 pm, "Evertjan." <exjxw.hannivo...@interxnl.netwrote:
Ian Collins wrote on 05 feb 2007 in comp.lang.javascript:
prash.ma...@gmail.com wrote:
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 .

cancel?
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.

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.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
hey thanks for your reply, i am using php now for fixing the thing &
it works absolutly fine

Feb 5 '07 #4

P: n/a
"pr*********@gmail.com" <pr*********@gmail.comwrote in
news:11*********************@h3g2000cwc.googlegrou ps.com:
On Feb 5, 1:44 pm, "Evertjan." <exjxw.hannivo...@interxnl.netwrote:
>Ian Collins wrote on 05 feb 2007 in comp.lang.javascript:
prash.ma...@gmail.com wrote:
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 .
>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.

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

I nominate this topic for <FAQENTRYinclusion in the JS FAQ.
Feb 5 '07 #5

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

<snip>
I nominate this topic for <F**ENTRYinclusion in the JS FAQ.
Does that mean I can nominate you to write the initial draft proposal
for the entry?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Feb 5 '07 #6

P: n/a
Jim Land wrote:
"pr*********@gmail.com" <pr*********@gmail.comwrote in
news:11*********************@h3g2000cwc.googlegrou ps.com:
>On Feb 5, 1:44 pm, "Evertjan." <exjxw.hannivo...@interxnl.netwrote:
>>Ian Collins wrote on 05 feb 2007 in comp.lang.javascript:

prash.ma...@gmail.com wrote:
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 .
>>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.
hey thanks for your reply, i am using php now for fixing the thing &
it works absolutly fine

I nominate this topic for <FAQENTRYinclusion 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).
************************************************** *******************
Feb 5 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.