PEAR メールキュー チュートリアルの .config ファイルに問題があると思います。パスを確認しましたが、問題ありません。
<?php
require_once "Mail/Queue.php";
$db_options['type'] = 'db';
$db_options['dsn'] = 'mysql://mysqlusername:mysqlpasswd@localhost/mail';
$db_options['mail_table'] = 'mail_queue';
$mail_options['driver'] = 'smtp';
$mail_options['host'] = 'smtp.tiscali.co.uk';
$mail_options['port'] = 25;
$mail_options['localhost'] = 'localhost'; //optional Mail_smtp parameter
$mail_options['auth'] = false;
$mail_options['username'] = 'username';
$mail_options['password'] = 'passwd';
?>
smtp.tiscali.co.uk を使用して、SMTP メールを個別に送信できます。データベース メールに慎重にテーブルを入力しました。適切な MySQL GRANT パーミッションを追加しました。私のコードはここで add_message.php で死んでいますが、実際には mail_queue ステートメントが入力されていることがわかっています。
<?php
include './config.php';
/* we use the db_options and mail_options here */
$mail_queue =& new Mail_Queue($db_options, $mail_options);
/* the rest */
?>
bluehostforum に szerne による同様の投稿があります。 http://www.bluehostforum.com/archive/index.php/t-19791.html 私のものとあまり変わらないように見えますが、mdb2 コンテナーを使用しています。詳細が重要かどうかはわかりません。どんな助けでも大歓迎です!私は困惑しています。どうもありがとう、ジョージ