N
N
nikita_chiru2017-02-22 15:46:39
JavaScript
nikita_chiru, 2017-02-22 15:46:39

How to send an email using JS?

Tell me the simplest command to send a letter to the mail. Thanks in advance

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vitaly, 2017-02-22
@rim89

You can even use pure HTML ;)
<a href="mailto:[email protected]">Mailto</a>

D
Dmitry Ivanov, 2017-02-22
@Hopkins777

You can do whatever you want with js. Validation, ajax, etc. But the sending process itself should do, for example, a php script))

S
Sergey Semenko, 2017-02-22
@abler98

Since JavaScript is executed on the client side (in the browser), it is not possible to send anything to the mail directly. It is necessary to organize a server, which will be engaged in sending.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question