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 |
Is javascript a programming language?
What is "this"?
What is the use of math object in javascript?
What is unescape() function?
Difference between '=', '==' and '===' operators?
What is the most widely used programming language?
What is unshift method in JavaScript?
What is the Difference between HTML and DHTML
What are JavaScript types?
How do I enable javascript on google?
Why is javascript not oop?
What creates scope in javascript?