473,385 Members | 1,531 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Sending mail using javascript

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
6 2606
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
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
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
"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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Obscurr | last post by:
hi I'm would like my app to send a preformatted email(with subject and body) everytime a user pushed a button, like : onclick " mailto:this@that.com" , without the user seeing anything, i.e. not...
2
by: Mr. x | last post by:
Hello, I am sending emails with Hebrew contents. When receiving emails - I cannot see the Hebrew characters (it is not outlook express configuration, because when receiving emails from friends -...
9
by: B-Dog | last post by:
I've built a small app that sends mail through our ISP's SMTP server but when I try to send through my local exchange server I get CDO error. Does webmail use SMTP or does it strictly rely on...
1
by: Eric Sheu | last post by:
Greetings, I have been searching the web like mad for a solution to my SMTP problem. I am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a web site I have created to...
4
by: k.visube | last post by:
In my ASP application,i need to send a formatted text mail (i.e with newline characters). here in my application i used a function in javascript which construts the mail body sample snippet ...
3
by: mfleet1973 | last post by:
Hello Again. I have a program that sends e-mails as follows: Try Dim mail As New MailMessage mail.To = "me@comp.com" mail.From = "me@comp.com mail.Subject = "Test" mail.Body = "Testing123"
2
by: Oltmans | last post by:
Hi All, I'm trying to send an HTML email from my asp.net 2.0 application. I want to show an "alert" message when user opens up my email message using JavaScript. Though I've been able to send...
3
by: shybe | last post by:
I have a send mail script on my site that. The emails are recieved by gmail, and yahoo, but not to mail clients like Outlook, Mail, etc...) Is this a problem with the script, or is it...
2
ThatThatGuy
by: ThatThatGuy | last post by:
Hello reader,, This might be a very simple question, but what to just say about it, i'm facing it Actually i'm developing a web App and i want email feature in that.... I'm sending mail from my...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.