0
http://github.com/NeilCrosby/multi-level-vcards/blob/master/via-email/geekMail-1.0.php在php中设置smtp服务器geekmail
这是一个链接到类。我如何设置smtp服务器?
我当前的代码看起来像:
require_once('assetform/geekMail-1.0.php');
$geekMail = new geekMail();
$geekMail->setMailType('html');
$geekMail->from('[email protected]', 'no-reply');
$geekMail->to('[email protected]');
$geekMail->subject('Request');
$geekMail->message('this is a test email.');
$geekMail->attach($path.'1287448945.pdf');
我做到了,但它仍然没有使用SMTP服务器。任何线索?检查1391行,那是什么? – vick 2010-10-20 17:24:48
看起来有一个其他变量需要更改,我更新了答案。 1391行是由_spoolEmail()根据$ _protocol变量调用的函数。 – 2010-10-20 17:30:00
你的男人! – vick 2010-10-20 17:38:31