Settings

Theme

EmailJS – Send emails directly from JavaScript

emailjs.com

3 points by jozan 11 years ago · 4 comments

Reader

mattkrea 11 years ago

What value does this provide on top postageapp's api? I have to imagine most companies would (read:should) standardize on one provider.

  • sashagim 11 years ago

    Hey Matt, I'm one of the founders. All existing APIs require using a secret key, which you obviously wouldn't want to share in your front-end code. We overcome this by allowing sending only predefined templates, so for a "Share with a friend" feature you'd create a template called "share", and your call would look like -

      EmailJS.send("share",{"to": "friend@gmail.com","message":"You have to check this out!"})
    
    This should prevent using our service for spamming, and we'll also offer some tools like CAPTCHA image, or rate limiting, to deal with spam/abuse.

    Let me know if you have any further questions!

  • jozanOP 11 years ago

    I'm not the author of EmailJS but it doesn't require any backend where as PostageApp does.

    • mattkrea 11 years ago

      Backend on top of the existing API? I must be missing something but I still don't understand how this is easier than just hitting the PostageApp or [insert competitor here] API directly.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection