[問題] gallery2 mail功能出錯
Error (ERROR_UNKNOWN) : Could not send mail to xxx@hotmail.com
in modules\core\classes\helpers\MailHelper_simple.class at line 93
(gallerycoreapi::error)
in modules\core\classes\GalleryCoreApi.class at line 2734
(mailhelper_simple::sendtemplatedemail)
in modules\core\AdminCore.inc at line 179
(gallerycoreapi::sendtemplatedemail)
in main.php at line 231 (admincorecontroller::handlerequest)
in main.php at line 94
in main.php at line 83
realpath(c:\appserv\www\gallery2\modules\core\classes/../../..)
Binding text domain: modules_core ->
c:\appserv\www\gallery2/modules/core/locale
file_exists(D:\gallery2\g2data\smarty\templates_c\%%2971234443)
is_dir(D:\gallery2\g2data\smarty\templates_c\%%2971234443)
file_exists(D:\gallery2\g2data\smarty\templates_c\%%2971234443)
is_writeable(D:\gallery2\g2data\smarty\templates_c\%%2971234443)
file_exists(D:\gallery2\g2data\smarty\templates_c\%%2971234443/v_12)
file_exists(c:\appserv\www\gallery2//modules/core/templates/
local/EmailTest.tpl)
file_exists(c:\appserv\www\gallery2//modules/core/templates/EmailTest.tpl)
stat(c:\appserv\www\gallery2//modules/core/templates/EmailTest.tpl)
getParameter smtp.from for core plugin
file_exists(D:\gallery2\g2data\cache\module/core/0/0/0.inc
---------------------------------------------------------------
(mysql):
SELECT
g2_PluginParameterMap.g_itemId,
g2_PluginParameterMap.g_parameterName,
g2_PluginParameterMap.g_parameterValue
FROM
g2_PluginParameterMap
WHERE
g2_PluginParameterMap.g_pluginType = 'module'
AND
g2_PluginParameterMap.g_pluginId = 'core'
AND
g2_PluginParameterMap.g_itemId = 0
-----------------------------------------------------------
file_exists(D:\gallery2\g2data\cache\module/core/0/0)
is_dir(D:\gallery2\g2data\cache\module/core/0/0)
file_exists(D:\gallery2\g2data\cache\module/core/0/0)
is_dir(D:\gallery2\g2data\cache\module/core/0/0)
file_exists(D:\gallery2\g2data\cache\module/core/0/0/0.inc)
rename(D:\gallery2\g2data\cache\module/core/0/0\0.i358.tmp,
D:\gallery2\g2data\cache\module/core/0/0/0.inc)
mail(xxx@hotmail.com, =?utf-8?q?Gallery
=e9=9b=bb=e9=83=b5=e6=b8=ac=e8=a9=a6?=, 這是 Gallery2 的測試郵件,
Date: Fri, 3 Oct 2008 22:07:31 +0800
From: xxx@tp.edu.tw
Content-Type: text/plain; charset="utf-8"
)
realpath(c:\appserv\www\gallery2\modules\core\classes/../../../)
realpath(c:\appserv\www\gallery2/)
smtpmail error: Error (ERROR_PLATFORM_FAILURE) : Problem sending mail.
Server response: 554 <smtp.tp.edu.tw>: Helo command rejected: Access
denied
in lib\smtp\smtp.php at line 32 (gallerycoreapi::error)
in lib\smtp\smtp.php at line 83
in modules\core\classes\GalleryPlatform.class at line 949
in modules\core\classes\helpers\MailHelper_simple.class at
line 90 (winntplatform::mail)
in modules\core\classes\GalleryCoreApi.class at line 2734
(mailhelper_simple::sendtemplatedemail)
in modules\core\AdminCore.inc at line 179
(gallerycoreapi::sendtemplatedemail)
in main.php at line 231 (admincorecontroller::handlerequest)
in main.php at line 94
in main.php at line 83
-----------------------------------
我在google爬了好久了,中文看過,英文也看過了
解決不了我的問題
還是不能寄出去
我是用window2003
我改用smtp還是出現以上的錯誤
原本的php mail根本也不能寄
有改過php.ini
功力很差,所以無法自己排除,麻煩各位了
謝謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 123.193.253.106
※ 編輯: Befine 來自: 123.193.253.106 (10/03 23:32)
→
10/03 23:38, , 1F
10/03 23:38, 1F
→
10/03 23:39, , 2F
10/03 23:39, 2F
→
10/03 23:41, , 3F
10/03 23:41, 3F
→
10/03 23:42, , 4F
10/03 23:42, 4F
推
10/04 12:05, , 5F
10/04 12:05, 5F