Can you tell me how to send email using javascript?

Answers were Sorted based on User's Feedback



Can you tell me how to send email using javascript?..

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

Can you tell me how to send email using javascript?..

Answer / prasad konnur

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

Post New Answer

More JavaScript Interview Questions

Where do I write javascript code?

0 Answers  


how to validate the date(dd/mm/yyyy)using regular expression in javascript? It should also satisfy the leap year feb 29 problem. Please help me.

1 Answers  


What is the === in javascript?

0 Answers  


What are nodes in javascript?

0 Answers  


What is a function constructor?

0 Answers  


What is NaN in Javascript?

0 Answers  


What can javascript programs do?

1 Answers  


What is an asynchronous programming? Why is it important in javascript?

0 Answers  


Explain how to write class methods vs. Instance methods.

0 Answers  


How to encode and decode a url in javascript?

0 Answers  


How to make elements invisible?

0 Answers  


Why javascript is called as script for all browsers?

0 Answers  


Categories