@
@
@Richswitch2017-07-19 13:20:36
linux
@Richswitch, 2017-07-19 13:20:36

How to make local mail on linux to test PHP requests?

Hey!
Need to test php function mail( ), started googling towards "ubuntu local mail setup".
I tried to install postfix according to some tutorials, but the result is not clear yet.
The question is how to make local mail on Ubuntu to test the mail ( ) function?
PS I'm trying to implement a mailbox check via email, i.e. I need to get the mail, and then follow the link on it

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
cssman, 2017-07-19
@cssman

postfix+dovecot

S
Sergey, 2017-07-19
@gangstarcj

https://habrahabr.ru/post/49665/
I set it up like this, it worked quickly and immediately

Y
Yuri Chudnovsky, 2017-07-19
@Frankenstine

sudo apt-get install exim4
When asked, answer "local installation". However, it seemed to me the same for postfix, it is not clear why you have such a question.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question