M
M
Mark2017-05-22 05:56:20
PHP
Mark, 2017-05-22 05:56:20

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

2 answer(s)
E
Eugene, 2017-05-22
@deworkers

1. get an email from the form ( $subscribeEmail = $_POST['email'];)
2. send an email with an attached presentation like this

S
Stalker_RED, 2017-05-22
@Stalker_RED

PHPMailer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question