<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to strip the attachment from an IMAP mail</title>
	<atom:link href="http://www.phocean.net/2007/06/03/how-to-strip-the-attachment-from-an-imap-mail.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phocean.net/2007/06/03/how-to-strip-the-attachment-from-an-imap-mail.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-strip-the-attachment-from-an-imap-mail</link>
	<description>&#34;A defense that hedgehogs possess is the ability to roll into a tight ball, causing all of the spines to point outwards.&#34; -- Wikipedia</description>
	<lastBuildDate>Wed, 09 Nov 2011 11:04:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: onlyformydream</title>
		<link>http://www.phocean.net/2007/06/03/how-to-strip-the-attachment-from-an-imap-mail.html/comment-page-1#comment-4414</link>
		<dc:creator>onlyformydream</dc:creator>
		<pubDate>Tue, 01 Nov 2011 23:54:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.phocean.net/?p=53#comment-4414</guid>
		<description>I need to strip ALL the new emails with attachments instead of the latest new email. What should I do to process the array of @MsgId (and not $MsgId)?

I also noticed that the script stripped the attachment from the email, but doesn&#039;t flag it &quot;read&quot; afterwards, so if there is no new email come in and you re-run the script, the same email attachment will be extracted again.

Sorry for my noob questions and thanks you in advance for your help!</description>
		<content:encoded><![CDATA[<p>I need to strip ALL the new emails with attachments instead of the latest new email. What should I do to process the array of @MsgId (and not $MsgId)?</p>
<p>I also noticed that the script stripped the attachment from the email, but doesn&#8217;t flag it &#8220;read&#8221; afterwards, so if there is no new email come in and you re-run the script, the same email attachment will be extracted again.</p>
<p>Sorry for my noob questions and thanks you in advance for your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://www.phocean.net/2007/06/03/how-to-strip-the-attachment-from-an-imap-mail.html/comment-page-1#comment-4398</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Tue, 30 Aug 2011 15:02:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.phocean.net/?p=53#comment-4398</guid>
		<description>Yes! it is not unicode. But doesn&#039;t matter. Your script works perfectly for me. Thanks!</description>
		<content:encoded><![CDATA[<p>Yes! it is not unicode. But doesn&#8217;t matter. Your script works perfectly for me. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phocean</title>
		<link>http://www.phocean.net/2007/06/03/how-to-strip-the-attachment-from-an-imap-mail.html/comment-page-1#comment-4397</link>
		<dc:creator>phocean</dc:creator>
		<pubDate>Fri, 26 Aug 2011 13:46:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.phocean.net/?p=53#comment-4397</guid>
		<description>Hmm you can safely ignore this warning.
In my script, I specify the use of unicode, for compatibility with most of languages :

use Mail::IMAPTalk qw(:utf8support);

My guess is that your imap folder is not in unicode encoding. Am I correct ?</description>
		<content:encoded><![CDATA[<p>Hmm you can safely ignore this warning.<br />
In my script, I specify the use of unicode, for compatibility with most of languages :</p>
<p>use Mail::IMAPTalk qw(:utf8support);</p>
<p>My guess is that your imap folder is not in unicode encoding. Am I correct ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://www.phocean.net/2007/06/03/how-to-strip-the-attachment-from-an-imap-mail.html/comment-page-1#comment-4396</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Wed, 24 Aug 2011 08:55:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.phocean.net/?p=53#comment-4396</guid>
		<description>OK i had to mkdir the folder &quot;extracted&quot; on my own. The script works and extracts messages very well. But the error message remains. i could live with it but would like to know what it menas. ...</description>
		<content:encoded><![CDATA[<p>OK i had to mkdir the folder &#8220;extracted&#8221; on my own. The script works and extracts messages very well. But the error message remains. i could live with it but would like to know what it menas. &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://www.phocean.net/2007/06/03/how-to-strip-the-attachment-from-an-imap-mail.html/comment-page-1#comment-4395</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Wed, 24 Aug 2011 08:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.phocean.net/?p=53#comment-4395</guid>
		<description>hello,

i treid to get this trunning under Linux and installed IMAPTalk.pm. Script seems to login but it get stuck with this error message

Connecting to IMAP server at 127.0.0.1:myusername...
Please report to rjlov at /lib/Mail/IMAPTalk.pm line 3859.
Warning only: IMAPTalk not using unicode_folders at /lib/Mail/IMAPTalk.pm line 3860
        Mail::IMAPTalk::_fix_folder_name(&#039;Mail::IMAPTalk=HASH(0x83a9ca4)&#039;,&#039;INBOX&#039;) called at /lib/Mail/IMAPTalk.pm line 1168
        Mail::IMAPTalk::select(&#039;Mail::IMAPTalk=HASH(0x83a9ca4)&#039;,&#039;INBOX&#039;) called at ./imap.pl line 31
        main::connexion(127.0.0.1,&#039;myusername&#039;,&#039;,mypass&#039;,143,&#039;INBOX&#039;) called at ./imap.pl line 96
Please report to rjlov at /lib/Mail/IMAPTalk.pm line 3861.
IMAP connection successful !
mkdir extracted/msg-1314173768-21507-0: No such file or directory</description>
		<content:encoded><![CDATA[<p>hello,</p>
<p>i treid to get this trunning under Linux and installed IMAPTalk.pm. Script seems to login but it get stuck with this error message</p>
<p>Connecting to IMAP server at 127.0.0.1:myusername&#8230;<br />
Please report to rjlov at /lib/Mail/IMAPTalk.pm line 3859.<br />
Warning only: IMAPTalk not using unicode_folders at /lib/Mail/IMAPTalk.pm line 3860<br />
        Mail::IMAPTalk::_fix_folder_name(&#8216;Mail::IMAPTalk=HASH(0x83a9ca4)&#8217;,'INBOX&#8217;) called at /lib/Mail/IMAPTalk.pm line 1168<br />
        Mail::IMAPTalk::select(&#8216;Mail::IMAPTalk=HASH(0x83a9ca4)&#8217;,'INBOX&#8217;) called at ./imap.pl line 31<br />
        main::connexion(127.0.0.1,&#8217;myusername&#8217;,',mypass&#8217;,143,&#8217;INBOX&#8217;) called at ./imap.pl line 96<br />
Please report to rjlov at /lib/Mail/IMAPTalk.pm line 3861.<br />
IMAP connection successful !<br />
mkdir extracted/msg-1314173768-21507-0: No such file or directory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phocean</title>
		<link>http://www.phocean.net/2007/06/03/how-to-strip-the-attachment-from-an-imap-mail.html/comment-page-1#comment-4154</link>
		<dc:creator>phocean</dc:creator>
		<pubDate>Sun, 06 Feb 2011 09:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.phocean.net/?p=53#comment-4154</guid>
		<description>@Bruno: I really don&#039;t have time but I can have a really quick look (5 min), if there is a chance...

@Chris: I haven&#039;t tested it and can&#039;t as I don&#039;t have an iphone.
Doesn&#039;t the iphone respect the RFC ?</description>
		<content:encoded><![CDATA[<p>@Bruno: I really don&#8217;t have time but I can have a really quick look (5 min), if there is a chance&#8230;</p>
<p>@Chris: I haven&#8217;t tested it and can&#8217;t as I don&#8217;t have an iphone.<br />
Doesn&#8217;t the iphone respect the RFC ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.phocean.net/2007/06/03/how-to-strip-the-attachment-from-an-imap-mail.html/comment-page-1#comment-3963</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 08 Dec 2010 09:37:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.phocean.net/?p=53#comment-3963</guid>
		<description>Hi,

nice work. Does it work with attachments in a mail sent from an iPhone, because these doesen&#039;t work with most scripts.

Thans
Chris</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>nice work. Does it work with attachments in a mail sent from an iPhone, because these doesen&#8217;t work with most scripts.</p>
<p>Thans<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://www.phocean.net/2007/06/03/how-to-strip-the-attachment-from-an-imap-mail.html/comment-page-1#comment-3554</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Tue, 28 Sep 2010 09:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.phocean.net/?p=53#comment-3554</guid>
		<description>Hi JC.
I tried with simple emails where the attachment is just a txt file and I tried as well with jpg.
Do you have the time to try it yourself and see if it works?

Thank you in advance.
Bruno</description>
		<content:encoded><![CDATA[<p>Hi JC.<br />
I tried with simple emails where the attachment is just a txt file and I tried as well with jpg.<br />
Do you have the time to try it yourself and see if it works?</p>
<p>Thank you in advance.<br />
Bruno</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JC</title>
		<link>http://www.phocean.net/2007/06/03/how-to-strip-the-attachment-from-an-imap-mail.html/comment-page-1#comment-3513</link>
		<dc:creator>JC</dc:creator>
		<pubDate>Thu, 23 Sep 2010 21:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.phocean.net/?p=53#comment-3513</guid>
		<description>Hmm... It means that it could connect correctly to your mailbox but failed at parsing the message body.
It is difficult to tell what&#039;s wrong without seeing the message structure itself.
Have you tried with other messages?</description>
		<content:encoded><![CDATA[<p>Hmm&#8230; It means that it could connect correctly to your mailbox but failed at parsing the message body.<br />
It is difficult to tell what&#8217;s wrong without seeing the message structure itself.<br />
Have you tried with other messages?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://www.phocean.net/2007/06/03/how-to-strip-the-attachment-from-an-imap-mail.html/comment-page-1#comment-3512</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Thu, 23 Sep 2010 20:29:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.phocean.net/?p=53#comment-3512</guid>
		<description>I have been having the same problem.
Thanks a lot for this.
Yet, I tried it the script breaks when trying to extract the attachment.

&quot;Can&#039;t fetch the message ! at attachment stripper.pl line 36.&quot;

Do you have any tips about what could be the problem?
I&#039;m using this in a Dreamhost server, running locally on the server.

Thanks a lot for the great work you made here!
Bruno</description>
		<content:encoded><![CDATA[<p>I have been having the same problem.<br />
Thanks a lot for this.<br />
Yet, I tried it the script breaks when trying to extract the attachment.</p>
<p>&#8220;Can&#8217;t fetch the message ! at attachment stripper.pl line 36.&#8221;</p>
<p>Do you have any tips about what could be the problem?<br />
I&#8217;m using this in a Dreamhost server, running locally on the server.</p>
<p>Thanks a lot for the great work you made here!<br />
Bruno</p>
]]></content:encoded>
	</item>
</channel>
</rss>

