作者qazsd (鵝黃色 自然風)
站內PHP
標題[請益] PHP寄信問題
時間Tue Dec 14 23:02:08 2010
我是使用套件
裡面的寄信是寫這樣
define( 'MAIL_FORMAT', 'html' ); //mail|sendmail|smtp
define( 'MAIL_TYPE', 'mail' );define( 'SMTP_HOST', 'mail.no1pua.com
' );define( 'SMTP_PORT', '25' );define( 'SMTP_AUTH', '0' );define(
'SMTP_USER', '' );define( 'SMTP_PASS', '' );define( 'SM_PATH', '' );
我有安裝套件並且註冊成會員了
然後以管理員的身分登入並點了發送會員信
因為我這邊是虛擬IP (10.x.x.x)
不知道要怎麼設定,才能讓自己收到會員信
然後放到買來的空間時,也能正常發信呢? @@
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 60.251.192.93
1F:推 mylucky:應該要用PORT FORWARDING 12/15 02:08
2F:→ mylucky:不然外面是找不到PRIVATE IP的 ~ 12/15 02:08