php 信箱驗證

我找到這個程式
http://www.helloweba.com/view-blog-228.html
可以註冊然後驗證信箱這樣
只是我照它的弄一遍了還是無法寄信?
我的是bluehost空間
提供的訊息是:(xxx.com是我的域名)

Email Settings

Mail Server Username: [email protected]

Standard (without SSL)

Incoming Mail Server: mail.xxx.com
Supported Ports: 143 (IMAP), 110 (POP3)
Outgoing Mail Server: mail.xxx.com
Supported Port: 26 (server requires authentication)
Private (with SSL)

Incoming Mail Server: mail.xxx.com (SSL)
Supported Ports: 993 (IMAP), 995 (POP3)
Outgoing Mail Server: xxx.com (SSL)
Supported Port: 465 (server requires authentication)
Supported Incoming Mail Protocols: POP3, IMAP
Supported Outgoing Mail Protocols: SMTP

到底哪裡有問題?
$smtpserver = "mail.xxx.com"; //SMTP服务器,如:smtp.163.com 
$smtpserverport = 465; //SMTP服务器端口,一般为25 
$smtpusermail = "[email protected]"; //SMTP服务器的用户邮箱,如[email protected] 
$smtpuser = "[email protected]"; //SMTP服务器的用户帐号[email protected] 
$smtppass = "999999"; //SMTP服务器的用户密码

搞了一下午
資料SEND到register.php後就一片空白了
但可以正常註冊 資料可正常寫入SQL..
也可以成功verify
差在根本無法把信送出 WHY?????
Sign In or Register to comment.