How to send notification from php?

0 like 0 dislike
98 views
How to send mail through mail() or an external smtp(google)?

Notifications be quite a lot. Probably every minute or more often.
by | 98 views

7 Answers

0 like 0 dislike
mail(). The function will kick sendmail, which just put a message in a queue for later processing by the daemon (sendmail, qmail, postfix, you name it) and quickly return control to the application. While installing an SMTP connection with a remote host of type of Yandex and Google — quite brake operation, as practice shows.
by
0 like 0 dislike
Fold in the log, and then for the crown to send
by
0 like 0 dislike
Using external well but you may run into ogranicene for output per unit of time (in particular Google). It is better to use your mail server (if any). However, in this situation can get into the spam list, with such frequency.
by
0 like 0 dislike
Make pool notifications, and a separate script which sorts and sends messages from the pool. So just do not lost and the ping will not)
by
0 like 0 dislike
the host also suggested that it is better to use mail(). if there really is such a great place, I will make a pool
by
0 like 0 dislike
not to spoil relations with spamlists better to use XMPP to send messages to your jabber) Jabber server can log certain messages.
by
0 like 0 dislike
How about MailChimp companions?
by

Related questions

0 like 0 dislike
1 answer
asked Jun 1, 2019 by DensDens
0 like 0 dislike
2 answers
0 like 0 dislike
3 answers
asked Apr 9, 2019 by igramnet
110,608 questions
257,186 answers
0 comments
28,851 users