Answer the question
In order to leave comments, you need to log in
How to send an email with a file?
Let's say we have a blog, each article has its own "additional materials" that are sent to the mail upon request. Question: Is it possible to implement this on statics? Are there any special services? The site is now on Jekyll, I really don’t want to redo everything because of one button :(
Answer the question
In order to leave comments, you need to log in
You can use mail api, for example:
mailgun.com
https://mailchimp.com
But here is a security issue. You will have to highlight all the accesses in the code.
So theoretically it is possible, but in practice you need to have a layer, for example, in the form of a php file that will be sent by curl to the mail api, with non-cross-domain ajax from your statics.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question