U
U
Urukhayy2014-10-21 16:01:10
PHP
Urukhayy, 2014-10-21 16:01:10

How does SMTP mail sending work compared to mail()?

How does SMTP mail sending work compared to mail()?
Describe the principle of operation, and what password should be specified and the SMTP host?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Kalinkin, 2014-10-21
@Urukhayy

mail() - sent from a local server, does not need an
smtp mail server - can be sent from both local and remote, a mail server is required. You can use GMAIL and others (you need to check, I don’t remember). For example host: smtp.gmail.com, login [email protected] (your mailbox) and password from it, port and so on.
the standard mail() function is enough for you, you just need to check your IP in spam databases and set up an SPF record for the domain (so that there are no problems with delivery)

A
AlexP11223, 2014-10-21
@AlexP11223

And mail through pigeon mail sends or what?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question