Answer the question
In order to leave comments, you need to log in
How to send email using php?
Hello everyone, the idea is this:
1) The user enters his mail
2) Immediately he receives a pdf presentation.
The user's mail should be sent to the administrator's mail (specified in the code).
* In principle, it turned out to make the mail go to the admin's mail, but how to send the pdf file to the user's mail automatically?
Answer the question
In order to leave comments, you need to log in
1. get an email from the form ( $subscribeEmail = $_POST['email'];)
2. send an email with an attached presentation like this
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question