T
T
thesirvlad2020-12-09 22:36:42
PHP
thesirvlad, 2020-12-09 22:36:42

Why is no message sent to email open server?

Hello, I have a problem with mail.

mail($_SESSION['user']['email'], 'Подтверждение почты', 'Для подтверждения, перейдите по ссылке: X.XXX.XXXXX/');

Prior to this, letters were stored in a text document.
smtp smtp.mail.ru
port 465
username *mail*.mail
password well password )
email *email*
auto encryption

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Newto, 2020-12-09
@Newto

The mail function does not know how to send mail from the local host. To do this, look aside, for example, the PHPmailer libraries.

S
Sanes, 2020-12-10
@Sanes

OpenServer is for development. And it has a letter interceptor.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question