Sending mail from javascript

后端 未结 5 864
自闭症患者
自闭症患者 2020-12-21 14:36

I am developing a static website where in i want to send an email when HTML \"Send Button\" is clicked. IF it is possible it would be nice if u can share the code

Th

5条回答
  •  囚心锁ツ
    2020-12-21 15:32

    short answer: No!

    Long answer: No, you can't send emails from static pages even using javascript. What you can do is to use ajax to send email from your html form.

提交回复
热议问题