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 ??? | ??

作者 search engine optimization vancouver @ 02:45, 2012-03-03

php 用 imap_open 的認証 | 豬窩

It's especially hard if you believe like you're only
teacher with your school to use fitting technologies to your planning and classroom delivery.
This type of technology utilizes specialized equipment,
teaching materials and services which will enable these individuals perform and function inside their surroundings.
Depending on the size and scope of the organization, these improvements can yield significant
ROI.

php 用 imap_open 的認証 | 豬窩

Even individuals who are convinced they can't dance, find out the truth: they can dance.

作者 Lyndon @ 02:25, 2017-05-17

php 用 imap_open 的認証 | 豬窩

Fortunately in our society it is currently acceptable that people will
likely change careers and jobs several times before they
finally find something that they revel in, something that
they are fantastic at and they are very happy to show up to days a week.
Dye-sublimation printing is utilized in medical imaging, polyester fabric printing, and graphic proofing.
Roughly equal amounts of the three primary colors give rise to the perception of white.

作者 http://ldnphoto.com @ 12:44, 2017-05-17

php 用 imap_open 的認証 | 豬窩

Direct the scene returning to your website to enable them
to share their thoughts about your statement. Make any final announcements (for example, the subsequent webinar in the series).
Depending on the size and scope in the organization, these
improvements can yield significant ROI.

作者 blog.ihostingbd.com @ 08:24, 2017-05-23
1 2 3 ... 20 21 22  下一篇»
發表迴響
 authimage