on 04/29/2008 11:42 PM Peter said the following:
smtp_host is a class variable that you can set to whatever SMTP server
domain you want.
PHP professionals looking for PHP jobs
PHP Classes - Free ready to use OOP components written in PHP
on 04/30/2008 02:50 AM Peter said the following:
> But why do I have to set it in StartSendingMessage()? Why doesn't
> StartSendingMessage() retain the the same class variable value as
> Send() does?
You should not use the StartSendingMessage because it is private and so
it is not documented. You need to use the Send function to send the message.
on 04/30/2008 03:54 AM Peter said the following:
> I use the Send function. Send() calls StartSendingMessage(). In the
> Send() function $this->host_name is 'mail.aapt.net.au'. As soon as
> StartSendingMessage() is called by the Send() function, $this-
>> host_name resolves to 'localhost'.
The right variable to set is smtp_host. There is no host_name variable.
That is of the SMTP object, which is private and you should not be
on 04/30/2008 05:22 AM Peter said the following:
If you read the documentation, you do not need to wonder reading the
source. Only the smpt_host variable is documented and is the one to
use. The host_name variable is not even of this package, it is of the