0
我有自己的盒子坐在機架上。它運行CF 7的Win2000並使用機架公司的smtp服務器。我無法發送電子郵件。當我嘗試時,他們只是去無法投遞的電子郵件文件夾。支持說我的服務器發送一個不可驗證的helo
消息。所以他們的smtp服務器不會發送它。Coldfusion 7 - 郵件發送錯誤'helo'
它是CF 7,管理員無處可指定用於身份驗證的U/P。不過,我應該能夠在標籤內做到這一點。當我這樣做時,我沒有收到任何錯誤,但郵件轉到無法投遞的文件夾。
CODE:
<cftry>
<cfmail to="[email protected]"
from="[email protected]"
subject="xxx.com Sign-up"
server="smtp.xxx.net"
port="25"
username="[email protected]"
password="password" >
This is a test - with server specified
</cfmail>
Success w/ server user defined
<cfcatch type="any">
<strong>ERROR: #cfcatch.Message#</strong><BR />
#cfcatch.Detail#
</cfcatch>
</cftry>
<cftry>
<cfmail to="[email protected]"
from="[email protected]"
subject="xxx.com Sign-up" >
This is a test - without server specified
</cfmail>
Success w/o server user defined
<cfcatch type="any">
<strong>ERROR: #cfcatch.Message#</strong><BR />
#cfcatch.Detail#
</cfcatch>
</cftry>
我不知道很多有關郵件服務器...
任何想法?
你是說系統(機器名稱) - 完全不連接到網站或代碼 - 會影響郵件服務器的郵件請求嗎? 因此,如果我的服務器被命名爲「qwe234」而不是「myDomain.com」 - 它可能會產生影響? – jpmyob