Posted by Matthew Weier O'Phinney on 09/30/27 11:26
* Manuel Lemos <mlemos@acm.org> :
> on 09/12/2005 05:18 PM Matthew Weier O'Phinney said the following:
> > > > > Mails are then queued to an MTA -- in our case, Postfix.
> > > > This is the part I don't know how to do. Can you explain/show
> > > > some code?
> > > Just use the mail function and it will get queued in Postfix.
> >
> > Or mail via SMTP to running postfix/sendmail/whatever.
>
> If he is running postfix on the same machine that postfix is running,
> it does not make much sense to send the message via SMTP because it is
> a much slower way to do the same thing.
This was more in the instance that the server with the MTA is separate
from the web server (which it often will be). You're right though -- if
the MTA is on the same machine, just use the local executables.
--
Matthew Weier O'Phinney
Zend Certified Engineer
http://weierophinney.net/matthew/
[Back to original message]
|