P
P
pixal2019-03-11 13:00:59
PHP
pixal, 2019-03-11 13:00:59

How to implement sending messages to mail via smtp using php?

Good afternoon! Please tell me How to implement sending messages to mail via smtp using php?
I also tried phpmailer, but there is some kind of error and Google mail and email do not work

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
hOtRush, 2019-03-11
@hOtRush

https://github.com/swiftmailer/swiftmailer
https://github.com/PHPMailer/PHPMailer
https://swiftmailer.symfony.com/docs/introduction.html
The error usually says what you are doing wrong

I
ipokos, 2019-03-11
@ipokos

First result on google for " sending messages to email via smtp using php "
where is the code?
which?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question