Ms7 Search
Google 搜尋 翻譯
calendar
« 九月 2024 »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
近期文章
文章分類
網站連結
Syndicate

« | »

php 用 imap_open 的認証

2007-08-09 @ 16:34 in PHP, JavaScript, Sql

今天為了要一個利用Email帳號來認証使用者的認証程序,之前都利用fopen 的函數來做認証,今天想說用imap_open 來認証比較簡單,可是在設定上一直不能用,php manual 上的demo 是
{localhost:110/pop3}INBOX 或 {localhost:110/pop3} 可是都不行,而在網路上有人用 {localhost:110/pop3/notls} 竟然就可以了,後來查了一下才知道,原來 notls是不使用傳輸層級安全性(TLS) 驗證,可能是我的server沒有支援TLS,以後再研究,可以用 imap_open 認証,真的很方便,只要一行就可以認証

@$mbox = imap_open("{".$host.":110/pop3/notls}",$user,$passwd);
上面一行就可以了,其中 $host => mail server, $user => 使用者 , $passwd => 密碼,以前用 fopen 去開 110 port 要寫7,8行才可以

迴響

php 用 imap_open 的認証 | 豬窩 | 13

Excellent post. I was checking continuously this blog and I am impressed!
Very helpful information specifically the last part :
) I care for such information much. I was seeking this particular info
for a long time. Thank you and best of luck.

作者 https://xn--vjb2Bdefg6ii0b.com/ @ 13:22, 2022-07-08

php 用 imap_open 的認証 | 豬窩 | 13

WOW just what I was searching for. Came here by searching for Situs Slot
Gacor

作者 xn--vjb2bdefg6ii0b.com/ @ 05:52, 2022-07-09

php 用 imap_open 的認証 | 豬窩 | 13

Hmm it appears like your website ate my first comment (it
was extremely long) so I guess I'll just sum it up what I had written and say,
I'm thoroughly enjoying your blog. I as well am an aspiring blog blogger but
I'm still new to everything. Do you have any points for rookie blog writers?
I'd definitely appreciate it.

作者 Situs Slot Gacor @ 13:19, 2022-07-09

php 用 imap_open 的認証 | 豬窩 | 13

If you would like to increase your experience simply keep visiting this website and be updated with the most recent
information posted here.

作者 https://xn--vjb2bdefg6Ii0b.com/ @ 21:16, 2022-07-09

php 用 imap_open 的認証 | 豬窩 | 13

Pretty nice post. I simply stumbled upon your blog and wished to say that I've truly enjoyed surfing around your blog posts.
In any case I will be subscribing for your feed and
I am hoping you write again very soon!

作者 Https://Xn--Vjb2Bdefg6Ii0B.Com/ @ 00:19, 2022-07-10
發表迴響
 authimage