作者j147589 ((joyisbitch))
看板PHP
标题mail function
时间Thu Jan 19 12:18:30 2017
小弟新手
做了个简单寄信范例想要寄信
但是都会跑出failed to connect mailsever at localhost port 25
请问这个是我哪里没有设定好吗
我去 Windows资料夹下面改过php. ini 的smtp 和他的port 但他的错误讯息都还是显示localhost 和port 25
请教各位大大 我已经上网找过但没有解答
-----
Sent from JPTT on my HTC_D728x.
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 39.8.32.72
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/PHP/M.1484799513.A.5DD.html
1F:推 mikejaffson: 你的error message不是已经包含答案了吗? 01/19 12:41
2F:→ j147589: 不懂@@ 那我要怎麽样connect? 01/19 12:53
3F:→ localhost: 你localhost有寄信伺服器? 01/19 13:36
4F:→ j147589: 请问要怎麽确认呢? 另外我修改php.ini他的错误讯息并不 01/19 14:30
5F:→ j147589: 会改变 01/19 14:30
6F:→ MOONRAKER: 你windows下就去找IIS下mail server开了没 01/19 14:41
7F:→ MOONRAKER: 如果你没有IIS 恭喜你 你没有mail server 01/19 14:41