How can i send emails without a server ? Only front-end Javascript with sendgrid or

前端 未结 6 1830
粉色の甜心
粉色の甜心 2021-02-05 12:05

i was wondering lately how i could send emails with only a front-end language like Javascript through Email as a Service apps like sendgrid or mandrill or so.

Sendgrid a

相关标签:
6条回答
  • 2021-02-05 12:43

    An alternative is to let each user use his or her own outgoing mail server, by using a mailto: link, which allows you to specify the header information and also a quasi-header named “body”, which puts the content you want into the message body.

    0 讨论(0)
  • 2021-02-05 12:58

    Several suugestions

    • dropbox forms via jotbox includes encryption and a paid SSL option
    • sendgrid using parse cloud instructions
    • third party service, eg 123contactform
    • use a not-so-secure php form with extra javascript to mask the email address, see responses on this thread including Dave Jarvis' php code
    0 讨论(0)
  • 2021-02-05 13:00

    You could use a serverless architecture with AWS Lambda functions written in JavaScript.

    0 讨论(0)
  • 2021-02-05 13:05

    You can use FormSpree. Just provide the url in form action.

    https://formspree.io/

    0 讨论(0)
  • 2021-02-05 13:05

    You can use Smtp.js or emailjs for frontend.

    0 讨论(0)
  • 2021-02-05 13:06

    If you'd like to keep the key secure you can use something like Aerobatic's HTTP Proxy to specify the key and proxy through the server environment.

    0 讨论(0)
提交回复
热议问题