|
Posted by w43l on 10/31/07 10:35
On Oct 24, 5:43 pm, hmbscully <wdec...@gmail.com> wrote:
> What I don't understand at all are the
> $text = $email->addSubPart($body, $params);
> and
> $attach =& $email->addSubPart($contents, $params);
the variables might be there just to hold the return of the function
> lines in that I don't understand why there are the $text and $attach
> variables, because they never seem to be used again.
> I also don't know how to actually send the message.
> $email =& Mail::factory('mail');
about this line i guess this is Perl not PHP you are trying to add
if you want to call a function from a class you should do it like this
$object-name->function_name('param');
Navigation:
[Reply to this message]
|