Success with components?
| From: | Ben Heuer | Date: | Sun, 30 Jul 2000 05:16:48 +0000 |
| Subject: | Success with components? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-9021@lists.php.net to get a copy of this message | ||
Has anyone had any success with components?
I am trying the following simple code:
<?php
$JMail = new COM("Jmail.SMTPMail") or die("Cannot start JMail");
/*----- Configure the SMTP server variables ---*/
$JMail->ServerAddress = $server_host;
$JMail->Sender = $from_email;
$JMail->SenderName = $from_name;
$JMail->Subject = $subject;
$JMail->Body = "Here you go.";
$JMail->Priority = 3;
JMail->Execute();
?>
Everything is working fine, but the last EXECUTE() doesnt seem to be
working!! Any clues?
Thanks !
Ben