send mail using JavaScript

Ads
 

send mail using JavaScript

How can we send mail using JavaScript?

View Answers

December 27, 2010 at 6:14 PM

Hi friends, You can not send email directly using JavaScript.

But you can use JavaScript to execute a client side email program send the email using the "mailto" code. Here is an example:

<html>
<head>
<title></title>

<script type="text/javascript">
function myfunction(form)
{
tdata=document.form1.text1.value;
location="mailto:[email protected]?subject=...";
return true;
}
</script>
</head>
<body>

<form action="#" name="form1">
<input type="text" name="text1">
<input type="submit" onClick="myfunction(this)">
</form>
</body>
</html>

Thanks...

Ads









Related Tutorials/Questions & Answers:
send mail using JavaScript
send mail using JavaScript  How can we send mail using JavaScript?   Hi friends, You can not send email directly using JavaScript. But you can use JavaScript to execute a client side email program send the email using
how to send smtp mail to entered user mail id after user registered using javascript?
how to send smtp mail to entered user mail id after user registered using javascript?  how to send smtp mail to entered user mail id after user registered using javascript
Advertisements
how to send smtp mail to entered user mail id after user registered using javascript?
how to send smtp mail to entered user mail id after user registered using javascript?  how to send smtp mail to entered user mail id after user registered using javascript
send mail using smtp in java
send mail using smtp in java  How to send mail using smtp in java?   Sending mail in JSP - SMTP
java mail send using setText()
java mail send using setText()  Hai , Am newly mail send portion...); Here am using set Text() method to send mail content in html format. if i use... format is right. I want to use set Text() method to send mail in html format . any
Unable to send mail using php script
Unable to send mail using php script  Hello i am trying to send mail using mail function.But the message is never sent. I have installed a free smtp... settings are [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25
Send multipart mail using java mail
Send multipart mail using java mail       This Example shows you how to send multipart mail using java mail. Multipart is like a container that holds one or more body
How i can send testing mail on my id using java?
How i can send testing mail on my id using java?  Which packages i should use to implementing java mail service??? Thanks
how to send mail to many recipients using jsp,apache
how to send mail to many recipients using jsp,apache  hello i am... to send this jsp page content (web page content which consists of this excel... but not as attachment.can we do this .....the list of mail recipients are in a table
Send Mail using James Server
Send Mail using James Server       This application illustrates how to send mail on the mail... a send mail class which is used to send the mail in the mail box of James mail
How do i validate form using javascript and send data to database?
How do i validate form using javascript and send data to database?  I need a "JOIN US" form that can validate using javascript and be able to connect with and post data into a database. The details to be validated and posted
send mail in PHP
send mail in PHP  what are configurations needed to send mail in php.ini file by localhost ,please give me complete details about this,and code in datail
How to set attachment from browse button to send mails using java mail api
How to set attachment from browse button to send mails using java mail api   Hello Sir, I am making Email Sending app using java mail api in jsp and servlet in that i have to make attachment option available using
send the mail with attachment - Struts
send the mail with attachment   Hi Freinds, i am sending the mail without attachment file now. But i need to send the mail with attachment in struts. when i added the attachemt logic in struts,i am not able to send
Compose mail by clicking on send mail button
Compose mail by clicking on send mail button  How i get microsof out look page opend for composing mail by just clicking on send mail button and when outlook page open then in to:my email id is written on my jsp page
send the mail with attachment problem - Struts
send the mail with attachment problem  Hi friends, i am using... mail server properties.setProperty("mail.smtp.host", host... message.setContent(multipart); // Send the message
how to send mail with multiple attachments in jsp
how to send mail with multiple attachments in jsp  how to send mail with multiple attachments in java script
How to send and recieve email by using java mailserver
How to send and recieve email by using java mailserver  How to send and receive email by using java mail server?   Hi Friend, Please visit the following link: Java Mail Thanks
ModuleNotFoundError: No module named 'flask-send-mail-util'
ModuleNotFoundError: No module named 'flask-send-mail-util'  Hi...: No module named 'flask-send-mail-util' How to remove the ModuleNotFoundError: No module named 'flask-send-mail-util' error? Thanks   Hi
mail
mail  how to send mail using jsp   Please visit the following links: JSP Send Mail Java Mail Tutorials
sending mail using jsp
sending mail using jsp  please give me the detailed procedure and code for sending mail through jsp program   Please visit the following links: http://www.roseindia.net/ejb/introduction/j2eedemo.shtml http
using for loop in javascript
using for loop in javascript  How to use for loop in JavaScript
Send HTML Mail with images
Send HTML Mail with images       This Example shows you how to send a html message using javamail api. A client create new message by using Message subclass. It sets
xls to js using javascript
xls to js using javascript  ![how can we convert a xls file in js file using javascript][1
timer using javascript
timer using javascript  How to display timer on HTML page using JavaScript
ModuleNotFoundError: No module named 'odoo11-addon-project-task-send-by-mail'
ModuleNotFoundError: No module named 'odoo11-addon-project-task-send-by-mail...: ModuleNotFoundError: No module named 'odoo11-addon-project-task-send-by-mail' How...-send-by-mail' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'odoo11-addon-stock-picking-send-by-mail'
ModuleNotFoundError: No module named 'odoo11-addon-stock-picking-send-by-mail...: ModuleNotFoundError: No module named 'odoo11-addon-stock-picking-send-by-mail' How...-send-by-mail' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'odoo11-addon-stock-picking-send-by-mail'
ModuleNotFoundError: No module named 'odoo11-addon-stock-picking-send-by-mail...: ModuleNotFoundError: No module named 'odoo11-addon-stock-picking-send-by-mail' How...-send-by-mail' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'odoo12-addon-pos-invoice-send-mail'
ModuleNotFoundError: No module named 'odoo12-addon-pos-invoice-send-mail' ...: ModuleNotFoundError: No module named 'odoo12-addon-pos-invoice-send-mail' How to remove the ModuleNotFoundError: No module named 'odoo12-addon-pos-invoice-send-mail
ModuleNotFoundError: No module named 'odoo12-addon-project-task-send-by-mail'
ModuleNotFoundError: No module named 'odoo12-addon-project-task-send-by-mail...: ModuleNotFoundError: No module named 'odoo12-addon-project-task-send-by-mail' How...-send-by-mail' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'odoo12-addon-stock-picking-send-by-mail'
ModuleNotFoundError: No module named 'odoo12-addon-stock-picking-send-by-mail...: ModuleNotFoundError: No module named 'odoo12-addon-stock-picking-send-by-mail' How...-send-by-mail' error? Thanks   Hi, In your python

Ads