Can you tell me how to send email using javascript?
Answers were Sorted based on User's Feedback
Answer / pankajbisane
Simple MailTo
<a href="mailto:astark1@unl.edu">
MailTo with Multiple Recipients
<a href="mailto:astark1@unl.edu,ASTARK1@UNL.EDU">
MailTo with Subject
<a href="mailto:astark1@unl.edu?subject=Comments from
MailTo Syntax Page">
MailTo with a Copy
<a href="mailto:astark1@unl.edu?cc=ASTARK1@UNL.EDU">
MailTo with a Blind Copy
<a href="mailto:astark1@unl.edu?bcc=ASTARK1@UNL.EDU">
MailTo with message already started in Body
<a href="mailto:astark1@unl.edu?body=I am having trouble
finding information on ">
MailTo with multiline message in Body
<a href="mailto:astark1@unl.edu?body=The message's first
paragraph.%0A%0aSecond paragraph.%0A%0AThird Paragraph.">
NOTE: Use "%0A" for a new line, use "%0A%0A" for a new
line preceded by a blank line.
Features may be used in combination
MailTo with Subject, a Recipient, a Copy and a Blind Copy
<a href="mailto:astark1@unl.edu?subject=MailTo
Comments&cc=ASTARK1@UNL.EDU&bcc=id@internet.node">
| Is This Answer Correct ? | 10 Yes | 3 No |
No we can't send mail using javascript. java script is a
client side scripting.
To send a mail we need a server side scripting like PHP.
| Is This Answer Correct ? | 6 Yes | 2 No |
How to create an object in javascript?
Can you assign a anonymous function to a variable?
What are undeclared and undefined variables?
can any one tell me the syllebus for java certification
What are different types of inheritence? Which inheritance is followed in javascript.
Explain the process of document loading.
you will be creating 2 files, a .html page and a separate JavaScript function file with the .js extension. For submission, you must zip the 2 files into 1 file and upload the zipped file to my website. This assignmen t is meant to get you comfortable with utilizing functions located in a separate function file (as demonstrated in class on Tuesday May 7 th ) Javascript Function file This file will simply contain 2 functions. One called findAvg() which takes in 2 values and returns the average. Another called findMax() which takes in 2 values and returns the maximum. HTML page Create a form for the user to enter 2 integers and a pull down menu wit h the following options listed ... Find Averag e Find Maximum And a button. See my sample output for ass istance on the layout. Once the button is clicked, have your ‘ main ’ javas cript function obtain the i nput including the option chosen in the pull down menu (remember, you mjust set a value for each me nu option so JavaScript can determine which function to use) . If the user selects ‘ Find Averag e ’ , call the findAvg() function from the external file. And so on for the other menu options. Output the result to a <DIV> tag on the webpage. Please note that you must use an external file to hold your functions
How to access an external javascript file that is stored externally and not embedded?
What is the difference between registerclientscriptblock and registerstartupscript?
How do I unblock javascript in chrome?
Explain window.onload and ondocumentready?
Why is javascript dangerous?