smtphosts or php default which is best?

smtphosts or php default which is best?

by Colin Campbell -
Number of replies: 2
Is there any difference in performance using the php default - ie leaving smtphosts blank - or would I be better putting our smtp server in the box?

We have our own hosting specifically for our moodle installation and at the moment there are no email boxes set up, since our mail is processed from our regular site.
Average of ratings: -
In reply to Colin Campbell

Re: smtphosts or php default which is best?

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
I believe the difference is, in the case of "php default" mail is first delivered to the smtp-daemon of the localhost whereas if you specify a smtp-host the mail will be delivered there.

Coming down to performence, the latter method relieves your web-server from some work - so theoritically at least - better for its performance. Now how much that will be, I don't know.

In any case, if I maintain a dedicated mail-server in the same domain, I would definitely stop the smtp-daemon on my web-server!