<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MEMOBALL.info &#187; IMAP</title>
	<atom:link href="http://www.memoball.info/tag/imap/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.memoball.info</link>
	<description>All of my Memories</description>
	<lastBuildDate>Thu, 22 Jul 2010 06:17:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>การใช้คำสั่ง IMAP เบื้องต้น (2)</title>
		<link>http://www.memoball.info/01/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b8%84%e0%b8%b3%e0%b8%aa%e0%b8%b1%e0%b9%88%e0%b8%87-imap-%e0%b9%80%e0%b8%9a%e0%b8%b7%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%95%e0%b9%89%e0%b8%99-2/</link>
		<comments>http://www.memoball.info/01/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b8%84%e0%b8%b3%e0%b8%aa%e0%b8%b1%e0%b9%88%e0%b8%87-imap-%e0%b9%80%e0%b8%9a%e0%b8%b7%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%95%e0%b9%89%e0%b8%99-2/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 06:56:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IMAP]]></category>

		<guid isPermaLink="false">http://memoball.nabzer.com/?p=103</guid>
		<description><![CDATA[การใช้คำสั่ง IMAP ต่อจากหน้าแรก (ซึ่งขณะนี้ได้รวบรวมไปไใน wiki แล้ว

จาก WikiBall


			




เนื้อหา


1 การใช้
2 login
3 รายการ Mailbox
4 เลือก Mailbox
5 Fetching a message
6 fetch แบบ full header
7 Fetch ข้อความ
8 Logout
9 จำนวนโควตาเมลล์
10 อ้างอิงจาก




 if (window.showTocToggle) { var tocShowText = "แสดง"; var tocHideText = "ซ่อน"; showTocToggle(); } 

 การใช้
ก่อนเข้าต้อง CAPABILITY ส่วนของ command ก่อน แล้วจึง login โดยสามารถเปลี่ยน a001 เป็นคำอะไรก็ได้ที่สื่อความหมาย

[]:[8:48am]:[/home/rnejdl] &#62; telnet mail 143
Trying 66.13.175.242...
Connected to [...]]]></description>
			<content:encoded><![CDATA[<p>การใช้คำสั่ง IMAP ต่อจากหน้าแรก (ซึ่งขณะนี้ได้รวบรวมไปไใน wiki แล้ว<span id="more-103"></span></p>
<div id="bodyContent">
<h3 id="siteSub"><a href="http://wiki.memoball.info/index.php/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B9%83%E0%B8%8A%E0%B9%89_IMAP_%E0%B9%80%E0%B8%9A%E0%B8%B7%E0%B9%89%E0%B8%AD%E0%B8%87%E0%B8%95%E0%B9%89%E0%B8%99">จาก WikiBall</a></h3>
<div id="contentSub"></div>
<div id="jump-to-nav"></div>
<p>			<!-- start content --></p>
<table id="toc" class="toc" summary="เนื้อหา">
<tr>
<td>
<div id="toctitle">
<h2>เนื้อหา</h2>
</div>
<ul>
<li class="toclevel-1"><a href="./#.E0.B8.81.E0.B8.B2.E0.B8.A3.E0.B9.83.E0.B8.8A.E0.B9.89" ref="toc"><span class="tocnumber">1</span> <span class="toctext">การใช้</span></a></li>
<li class="toclevel-1"><a href="./#login" ref="toc"><span class="tocnumber">2</span> <span class="toctext">login</span></a></li>
<li class="toclevel-1"><a href="./#.E0.B8.A3.E0.B8.B2.E0.B8.A2.E0.B8.81.E0.B8.B2.E0.B8.A3_Mailbox" ref="toc"><span class="tocnumber">3</span> <span class="toctext">รายการ Mailbox</span></a></li>
<li class="toclevel-1"><a href="./#.E0.B9.80.E0.B8.A5.E0.B8.B7.E0.B8.AD.E0.B8.81_Mailbox" ref="toc"><span class="tocnumber">4</span> <span class="toctext">เลือก Mailbox</span></a></li>
<li class="toclevel-1"><a href="./#Fetching_a_message" ref="toc"><span class="tocnumber">5</span> <span class="toctext">Fetching a message</span></a></li>
<li class="toclevel-1"><a href="./#fetch_.E0.B9.81.E0.B8.9A.E0.B8.9A_full_header" ref="toc"><span class="tocnumber">6</span> <span class="toctext">fetch แบบ full header</span></a></li>
<li class="toclevel-1"><a href="./#Fetch_.E0.B8.82.E0.B9.89.E0.B8.AD.E0.B8.84.E0.B8.A7.E0.B8.B2.E0.B8.A1" ref="toc"><span class="tocnumber">7</span> <span class="toctext">Fetch ข้อความ</span></a></li>
<li class="toclevel-1"><a href="./#Logout" ref="toc"><span class="tocnumber">8</span> <span class="toctext">Logout</span></a></li>
<li class="toclevel-1"><a href="./#.E0.B8.88.E0.B8.B3.E0.B8.99.E0.B8.A7.E0.B8.99.E0.B9.82.E0.B8.84.E0.B8.A7.E0.B8.95.E0.B8.B2.E0.B9.80.E0.B8.A1.E0.B8.A5.E0.B8.A5.E0.B9.8C" ref="toc"><span class="tocnumber">9</span> <span class="toctext">จำนวนโควตาเมลล์</span></a></li>
<li class="toclevel-1"><a href="./#.E0.B8.AD.E0.B9.89.E0.B8.B2.E0.B8.87.E0.B8.AD.E0.B8.B4.E0.B8.87.E0.B8.88.E0.B8.B2.E0.B8.81" ref="toc"><span class="tocnumber">10</span> <span class="toctext">อ้างอิงจาก</span></a></li>
</ul>
</td>
</tr>
</table>
<p><script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "แสดง"; var tocHideText = "ซ่อน"; showTocToggle(); } </script><br />
<a name=".E0.B8.81.E0.B8.B2.E0.B8.A3.E0.B9.83.E0.B8.8A.E0.B9.89" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline">การใช้</span></h2>
<p>ก่อนเข้าต้อง CAPABILITY ส่วนของ command ก่อน แล้วจึง login โดยสามารถเปลี่ยน a001 เป็นคำอะไรก็ได้ที่สื่อความหมาย
</p>
<pre>[]:[8:48am]:[/home/rnejdl] &gt; telnet mail 143
Trying 66.13.175.242...
Connected to tethys.ringofsaturn.com.
Escape character is '^]'.
* OK [CAPABILITY IMAP4REV1 LITERAL+ SASL-IR LOGIN-REFERRALS AUTH=LOGIN] tethys.r
ingofsaturn.com IMAP4rev1 2004.350 at Sun, 8 Aug 2004 13:51:21 -0500 (CDT)
&lt;strong&gt;a001 CAPABILITY&lt;/strong&gt;
* CAPABILITY IMAP4REV1 LITERAL+ IDLE NAMESPACE MAILBOX-REFERRALS BINARY UNSELECT
 SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND SASL-IR LOGIN-REF
ERRALS AUTH=LOGIN
a001 OK CAPABILITY completed
a002 logout
* BYE tethys.ringofsaturn.com IMAP4rev1 server terminating connection
a002 OK LOGOUT completed
Connection closed by foreign host.</pre>
<p><a name="login" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline">login</span></h2>
<p>โดยใช้คำสั่ง
</p>
<pre>&lt;strong&gt;a002 login username password&lt;/strong&gt;
a002 OK LOGIN Ok.
</pre>
<p><a name=".E0.B8.A3.E0.B8.B2.E0.B8.A2.E0.B8.81.E0.B8.B2.E0.B8.A3_Mailbox" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline">รายการ Mailbox</span></h2>
<pre>&lt;strong&gt;. LIST &quot;INBOX&quot;&quot;*&quot;&lt;/strong&gt;
* LIST (\HasNoChildren) &quot;.&quot; &quot;INBOX.Spam&quot;
* LIST (\HasNoChildren) &quot;.&quot; &quot;INBOX.Drafts&quot;
* LIST (\HasNoChildren) &quot;.&quot; &quot;INBOX.Trash&quot;
* LIST (\HasChildren) &quot;.&quot; &quot;INBOX.Sent&quot;
. OK LIST completed
</pre>
<p><a name=".E0.B9.80.E0.B8.A5.E0.B8.B7.E0.B8.AD.E0.B8.81_Mailbox" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline">เลือก Mailbox</span></h2>
<pre>&lt;strong&gt;a003 SELECT INBOX&lt;/strong&gt;
a003 select INBOX
* FLAGS ($Forwarded \Draft \Answered \Flagged \Deleted \Seen \Recent)
* OK [PERMANENTFLAGS ($Forwarded \* \Draft \Answered \Flagged \Deleted \Seen)] Limited
* 10 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1217305783] Ok
* OK [MYRIGHTS &quot;acdilrsw&quot;] ACL
</pre>
<p><a name="Fetching_a_message" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline">Fetching a message</span></h2>
<pre>&lt;strong&gt;a004 FETCH 1:* FLAGS&lt;/strong&gt;
* 1 FETCH (FLAGS (\Seen))
* 2 FETCH (FLAGS (\Seen))
* 3 FETCH (FLAGS (\Seen))
* 4 FETCH (FLAGS (\Seen))
* 5 FETCH (FLAGS (\Seen))
</pre>
<p><a name="fetch_.E0.B9.81.E0.B8.9A.E0.B8.9A_full_header" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline">fetch แบบ full header</span></h2>
<pre>
&lt;strong&gt;a001 FETCH 1 full&lt;/strong&gt;
* 1 FETCH (FLAGS (\Seen) INTERNALDATE &quot;15-Mar-2000 13:10:14 -0500&quot; RFC822.SIZE 1
553 ENVELOPE (&quot;Wed, 15 Mar 2000 13:10:11 -0600&quot; &quot;Perl Stuff&quot; ((&quot;Rusty Nejdl&quot; NIL
 &quot;rnejdl&quot; &quot;verio.net&quot;)) ((&quot;Rusty Nejdl&quot; NIL &quot;rnejdl&quot; &quot;verio.net&quot;)) ((&quot;Rusty Nejd
l&quot; NIL &quot;rnejdl&quot; &quot;verio.net&quot;)) ((NIL NIL &quot;rnejdl&quot; &quot;verio.net&quot;)) ((NIL NIL &quot;ttodd&quot;
 &quot;verio.net&quot;)) NIL NIL &quot;&lt;20000315131011.A5381@tethys.ringofsaturn.com&gt;&quot;) BODY (&quot;
TEXT&quot; &quot;PLAIN&quot; (&quot;CHARSET&quot; &quot;us-ascii&quot;) NIL NIL &quot;7BIT&quot; 359 9))
a05 OK FETCH completed
</pre>
<p><a name="Fetch_.E0.B8.82.E0.B9.89.E0.B8.AD.E0.B8.84.E0.B8.A7.E0.B8.B2.E0.B8.A1" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline">Fetch ข้อความ</span></h2>
<pre>&lt;strong&gt;a006 FETCH 1 body[text]&lt;/strong&gt;
* 1 FETCH (BODY[TEXT] {359}
List of commands:
http://www.spu.edu/help/tech/basic-perl/functions.html
Good into class:
http://www.uga.edu/~ucns/wsg/unix/perl/course/introduction.html
Relational Database overview:
http://wdvl.internet.com/Authoring/DB/Intro/client_server_databases.html
--
Rusty Nejdl
&quot;If it ain't broke, it doesn't have enough features yet.&quot;
)
a006 OK FETCH completed
</pre>
<p><a name="Logout" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline">Logout</span></h2>
<pre>
&lt;strong&gt;a007 logout&lt;/strong&gt;
* BYE LOGOUT received
a007 OK Completed
</pre>
<p><a name=".E0.B8.88.E0.B8.B3.E0.B8.99.E0.B8.A7.E0.B8.99.E0.B9.82.E0.B8.84.E0.B8.A7.E0.B8.95.E0.B8.B2.E0.B9.80.E0.B8.A1.E0.B8.A5.E0.B8.A5.E0.B9.8C" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline">จำนวนโควตาเมลล์</span></h2>
<pre>. getquotaroot inbox
&lt;strong&gt;a008 QUOTAROOT inbox user.accountname&lt;/strong&gt;
* QUOTA user.accountname (STORAGE 31306 2048000)
</pre>
<p>permission ของเมลล์โฟล์เดอร์
</p>
<pre>
&lt;strong&gt;a009 getacl inbox&lt;/strong&gt;
* ACL inbox accountname lrswipcd admin lrswipcda anyone p
a009 OK Completed
</pre>
<ul>
<li> l &#8211; lookup_flag: mailbox is visible to LIST/LSUB commands</li>
<li> r &#8211; read_flag: SELECT the mailbox, perform CHECK, FETCH, PARTIAL SEARCH, COPY from mailbox</li>
<li> s &#8211; seen_flag: keep seen/unseen information across session</li>
<li> w &#8211; write_flag: STORE flags other than SEEN and DELETED</li>
<li> i &#8211; insert_flag: perform APPEND, COPY into mailbox</li>
<li> p &#8211; post_flag: send mail to submission address for mailbox</li>
<li> c &#8211; create_flag: CREATE new sub-mailboxes in any implementation defined hierarchy</li>
<li> d &#8211; delete_flag: STORE DELETED flag perform EXPUNGE</li>
<li> a &#8211; administer_flag: perform SETACL</li>
</ul>
<p><a href="http://bobpeers.com/technical/telnet_imap.php" class="external free" title="http://bobpeers.com/technical/telnet_imap.php" rel="nofollow">http://bobpeers.com/technical/telnet_imap.php</a>
</p>
<p><a name=".E0.B8.AD.E0.B9.89.E0.B8.B2.E0.B8.87.E0.B8.AD.E0.B8.B4.E0.B8.87.E0.B8.88.E0.B8.B2.E0.B8.81" href="http://wiki.memoball.info/"></a><br />
<h2> <span class="mw-headline">อ้างอิงจาก</span></h2>
<p><a href="http://networking.ringofsaturn.com/Protocols/imap.php" class="external free" title="http://networking.ringofsaturn.com/Protocols/imap.php" rel="nofollow">http://networking.ringofsaturn.com/Protocols/imap.php</a>
</p>
<p><!--<br />
NewPP limit report<br />
Preprocessor node count: 51/1000000<br />
Post-expand include size: 0/2097152 bytes<br />
Template argument size: 0/2097152 bytes<br />
Expensive parser function count: 0/100<br />
--></p>
<p><!-- Saved in parser cache with key memoball_wiki:pcache:idhash:42-0!1!0!!th!2!edit=0 and timestamp 20090825082753 --></p>
<div class="printfooter">
<h5>รับข้อมูลจาก (Reference) : </h5>
<p>จาก WikiBall : <a href="http://wiki.memoball.info/index.php/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B9%83%E0%B8%8A%E0%B9%89_IMAP_%E0%B9%80%E0%B8%9A%E0%B8%B7%E0%B9%89%E0%B8%AD%E0%B8%87%E0%B8%95%E0%B9%89%E0%B8%99">http://wiki.memoball.info/index.php/การใช้_IMAP_เบื้องต้น</a></div>
<div id='catlinks' class='catlinks'>
<div id="mw-normal-catlinks"><a href="http://wiki.memoball.info//index.php/%E0%B8%9E%E0%B8%B4%E0%B9%80%E0%B8%A8%E0%B8%A9:Categories" title="พิเศษ:Categories">หมวดหมู่</a>:&#32;<span dir='ltr'><a href="http://wiki.memoball.info//index.php?title=%E0%B8%AB%E0%B8%A1%E0%B8%A7%E0%B8%94%E0%B8%AB%E0%B8%A1%E0%B8%B9%E0%B9%88:IMAP&amp;action=edit&amp;redlink=1" class="new" title="หมวดหมู่:IMAP (ยังไม่ได้สร้าง)">IMAP</a></span></div>
</div>
<p>			<!-- end content --></p>
<div class="visualClear"></div>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.memoball.info/01/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b8%84%e0%b8%b3%e0%b8%aa%e0%b8%b1%e0%b9%88%e0%b8%87-imap-%e0%b9%80%e0%b8%9a%e0%b8%b7%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%95%e0%b9%89%e0%b8%99-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
