
<?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: E-mail Processing</title>
	<atom:link href="http://www.shiffman.net/2007/11/13/e-mail-processing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shiffman.net/2007/11/13/e-mail-processing/</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 06:20:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Pete Sekan</title>
		<link>http://www.shiffman.net/2007/11/13/e-mail-processing/comment-page-1/#comment-911836</link>
		<dc:creator>Pete Sekan</dc:creator>
		<pubDate>Thu, 03 Nov 2011 15:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2007/11/13/e-mail-processing/#comment-911836</guid>
		<description>It still works!
With imap, too.

Thank you, Daniel!

Greetz,
Pete</description>
		<content:encoded><![CDATA[<p>It still works!<br />
With imap, too.</p>
<p>Thank you, Daniel!</p>
<p>Greetz,<br />
Pete</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anirudh</title>
		<link>http://www.shiffman.net/2007/11/13/e-mail-processing/comment-page-1/#comment-909733</link>
		<dc:creator>Anirudh</dc:creator>
		<pubDate>Sun, 10 Apr 2011 11:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2007/11/13/e-mail-processing/#comment-909733</guid>
		<description>Hi
I tried compiling my program. Its not working.
This is whats shown on the screen,

javax.mail.NoSuchProviderException: smtp
	at javax.mail.Session.getService(Session.java:784)
	at javax.mail.Session.getTransport(Session.java:720)
	at javax.mail.Session.getTransport(Session.java:660)
	at javax.mail.Session.getTransport(Session.java:640)
	at javax.mail.Session.getTransport(Session.java:697)
	at javax.mail.Transport.send0(Transport.java:192)
	at javax.mail.Transport.send(Transport.java:124)
	at Processing3.sendMail(Processing3.java:111)
	at Processing3.draw(Processing3.java:69)
	at processing.core.PApplet.handleDraw(Unknown Source)
	at processing.core.PApplet.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:619)

Any suggestions??</description>
		<content:encoded><![CDATA[<p>Hi<br />
I tried compiling my program. Its not working.<br />
This is whats shown on the screen,</p>
<p>javax.mail.NoSuchProviderException: smtp<br />
	at javax.mail.Session.getService(Session.java:784)<br />
	at javax.mail.Session.getTransport(Session.java:720)<br />
	at javax.mail.Session.getTransport(Session.java:660)<br />
	at javax.mail.Session.getTransport(Session.java:640)<br />
	at javax.mail.Session.getTransport(Session.java:697)<br />
	at javax.mail.Transport.send0(Transport.java:192)<br />
	at javax.mail.Transport.send(Transport.java:124)<br />
	at Processing3.sendMail(Processing3.java:111)<br />
	at Processing3.draw(Processing3.java:69)<br />
	at processing.core.PApplet.handleDraw(Unknown Source)<br />
	at processing.core.PApplet.run(Unknown Source)<br />
	at java.lang.Thread.run(Thread.java:619)</p>
<p>Any suggestions??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.shiffman.net/2007/11/13/e-mail-processing/comment-page-1/#comment-887741</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 21 Feb 2011 00:00:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2007/11/13/e-mail-processing/#comment-887741</guid>
		<description>Hey, great code - gonna come in handy with a project I&#039;m working on. One problem I have using the example code is I&#039;m only getting 347 total messages, even though the account I&#039;m reading has over 2000. Any suggestions?</description>
		<content:encoded><![CDATA[<p>Hey, great code &#8211; gonna come in handy with a project I&#8217;m working on. One problem I have using the example code is I&#8217;m only getting 347 total messages, even though the account I&#8217;m reading has over 2000. Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Processing &#62; Flickr SUCCESS! &#8212; Natalie Rachel</title>
		<link>http://www.shiffman.net/2007/11/13/e-mail-processing/comment-page-1/#comment-796579</link>
		<dc:creator>Processing &#62; Flickr SUCCESS! &#8212; Natalie Rachel</dc:creator>
		<pubDate>Fri, 17 Dec 2010 04:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2007/11/13/e-mail-processing/#comment-796579</guid>
		<description>[...] function to just send an email from Processing to Flickr with the snapshot attached. And using Dan Shiffman&#8217;s email code, it [...]</description>
		<content:encoded><![CDATA[<p>[...] function to just send an email from Processing to Flickr with the snapshot attached. And using Dan Shiffman&#8217;s email code, it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marcel</title>
		<link>http://www.shiffman.net/2007/11/13/e-mail-processing/comment-page-1/#comment-497951</link>
		<dc:creator>marcel</dc:creator>
		<pubDate>Tue, 30 Jun 2009 10:17:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2007/11/13/e-mail-processing/#comment-497951</guid>
		<description>Hi, i&#039;ve signed an applet with the Email Processing code but it doesn&#039;t work online.

Errors: 

java.lang.NoClassDefFoundError: javax/mail/Authenticator
Caused by: java.lang.ClassNotFoundException: javax.mail.Authenticator
Caused by: java.io.IOException: open HTTP connection failed:http://www.artatthelab.com/genDesign/processing/staMonica/applet/javax/mail/Authenticator.class
Excepción: java.lang.NoClassDefFoundError: javax/mail/Authenticator

Any suggestion?

Thank you very much</description>
		<content:encoded><![CDATA[<p>Hi, i&#8217;ve signed an applet with the Email Processing code but it doesn&#8217;t work online.</p>
<p>Errors: </p>
<p>java.lang.NoClassDefFoundError: javax/mail/Authenticator<br />
Caused by: java.lang.ClassNotFoundException: javax.mail.Authenticator<br />
Caused by: java.io.IOException: open HTTP connection failed:<a href="http://www.artatthelab.com/genDesign/processing/staMonica/applet/javax/mail/Authenticator.class" rel="nofollow">http://www.artatthelab.com/genDesign/processing/staMonica/applet/javax/mail/Authenticator.class</a><br />
Excepción: java.lang.NoClassDefFoundError: javax/mail/Authenticator</p>
<p>Any suggestion?</p>
<p>Thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ergy</title>
		<link>http://www.shiffman.net/2007/11/13/e-mail-processing/comment-page-1/#comment-281283</link>
		<dc:creator>Ergy</dc:creator>
		<pubDate>Mon, 28 Jul 2008 16:29:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2007/11/13/e-mail-processing/#comment-281283</guid>
		<description>Hi I am trying to read an email from from my POP and send an email after a certain event but i get this error:

javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
  nested exception is:
	java.net.ConnectException: Connection refused
	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1227)

I think for some reason checkmail() is changing the send</description>
		<content:encoded><![CDATA[<p>Hi I am trying to read an email from from my POP and send an email after a certain event but i get this error:</p>
<p>javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;<br />
  nested exception is:<br />
	java.net.ConnectException: Connection refused<br />
	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1227)</p>
<p>I think for some reason checkmail() is changing the send</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.shiffman.net/2007/11/13/e-mail-processing/comment-page-1/#comment-168661</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 20 Mar 2008 14:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2007/11/13/e-mail-processing/#comment-168661</guid>
		<description>Thanks for the info Sebastian!</description>
		<content:encoded><![CDATA[<p>Thanks for the info Sebastian!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian Gallese</title>
		<link>http://www.shiffman.net/2007/11/13/e-mail-processing/comment-page-1/#comment-166895</link>
		<dc:creator>Sebastian Gallese</dc:creator>
		<pubDate>Sun, 16 Mar 2008 18:46:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2007/11/13/e-mail-processing/#comment-166895</guid>
		<description>Note: the code I submitted passes in a username and password to Auth.  I modified Auth to take those in.  In Shiffman&#039;s original code, those Strings are set inside of the Auth class itself.

Thus the following:

// Create a session
Session session = Session.getDefaultInstance(props, new Auth(â€sebastiang@gmail.comâ€, â€œmygmailpasswordâ€));

Should look like this with an unaltered Auth class:

// Create a session
Session session = Session.getDefaultInstance(props, new Auth());</description>
		<content:encoded><![CDATA[<p>Note: the code I submitted passes in a username and password to Auth.  I modified Auth to take those in.  In Shiffman&#8217;s original code, those Strings are set inside of the Auth class itself.</p>
<p>Thus the following:</p>
<p>// Create a session<br />
Session session = Session.getDefaultInstance(props, new Auth(â€sebastiang@gmail.comâ€, â€œmygmailpasswordâ€));</p>
<p>Should look like this with an unaltered Auth class:</p>
<p>// Create a session<br />
Session session = Session.getDefaultInstance(props, new Auth());</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian Gallese</title>
		<link>http://www.shiffman.net/2007/11/13/e-mail-processing/comment-page-1/#comment-166891</link>
		<dc:creator>Sebastian Gallese</dc:creator>
		<pubDate>Sun, 16 Mar 2008 18:20:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2007/11/13/e-mail-processing/#comment-166891</guid>
		<description>Wanted to use the SMTP portion of your library to send text messages via e-mail.  I use Teleflip.com to send messages (just e-mail a cellphone number to teleflip.com (e.g., 5555555555@teleflip.com).

However, wasn&#039;t able to get the sendMail() method working.  I did a little online research and found out that I could adjust the SMTP port of javamail to send messages via SSL to gmail.
I am not sure how secure this is, but it works for the time being.

I changed the following portions of code under the sendMail() method.

// SMTP Session
  props.put(&quot;mail.transport.protocol&quot;, &quot;smtp&quot;);
  props.put(&quot;mail.smtp.host&quot;, host);
  props.put(&quot;mail.smtp.port&quot;, &quot;465&quot;);
  props.put(&quot;mail.smtp.auth&quot;, &quot;true&quot;);
  props.put(&quot;mail.smtp.socketFactory.port&quot;, &quot;465&quot;);
  props.put(&quot;mail.smtp.socketFactory.class&quot;, &quot;javax.net.ssl.SSLSocketFactory&quot;);
  // We need TTLS, which gmail requires
  props.put(&quot;mail.smtp.starttls.enable&quot;,&quot;true&quot;);

  // Create a session
  Session session = Session.getDefaultInstance(props, new Auth(&quot;sebastiang@gmail.com&quot;, &quot;mygmailpassword&quot;));</description>
		<content:encoded><![CDATA[<p>Wanted to use the SMTP portion of your library to send text messages via e-mail.  I use Teleflip.com to send messages (just e-mail a cellphone number to teleflip.com (e.g., <a href="mailto:5555555555@teleflip.com">5555555555@teleflip.com</a>).</p>
<p>However, wasn&#8217;t able to get the sendMail() method working.  I did a little online research and found out that I could adjust the SMTP port of javamail to send messages via SSL to gmail.<br />
I am not sure how secure this is, but it works for the time being.</p>
<p>I changed the following portions of code under the sendMail() method.</p>
<p>// SMTP Session<br />
  props.put(&#8220;mail.transport.protocol&#8221;, &#8220;smtp&#8221;);<br />
  props.put(&#8220;mail.smtp.host&#8221;, host);<br />
  props.put(&#8220;mail.smtp.port&#8221;, &#8220;465&#8243;);<br />
  props.put(&#8220;mail.smtp.auth&#8221;, &#8220;true&#8221;);<br />
  props.put(&#8220;mail.smtp.socketFactory.port&#8221;, &#8220;465&#8243;);<br />
  props.put(&#8220;mail.smtp.socketFactory.class&#8221;, &#8220;javax.net.ssl.SSLSocketFactory&#8221;);<br />
  // We need TTLS, which gmail requires<br />
  props.put(&#8220;mail.smtp.starttls.enable&#8221;,&#8221;true&#8221;);</p>
<p>  // Create a session<br />
  Session session = Session.getDefaultInstance(props, new Auth(&#8220;sebastiang@gmail.com&#8221;, &#8220;mygmailpassword&#8221;));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Acapulco</title>
		<link>http://www.shiffman.net/2007/11/13/e-mail-processing/comment-page-1/#comment-160974</link>
		<dc:creator>Acapulco</dc:creator>
		<pubDate>Wed, 05 Mar 2008 02:33:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.shiffman.net/2007/11/13/e-mail-processing/#comment-160974</guid>
		<description>Thaks a lot. This is just what I needed, although when I tested it using my gmail account, I couldn&#039;t find a way to stop retrieving the headers, so I had to ctrl-alt-del and stop javaw.exe. Not even using the Processing STOP button or ESC. 

Anyway, it&#039;s pretty simple and easy to use. Thanks again.</description>
		<content:encoded><![CDATA[<p>Thaks a lot. This is just what I needed, although when I tested it using my gmail account, I couldn&#8217;t find a way to stop retrieving the headers, so I had to ctrl-alt-del and stop javaw.exe. Not even using the Processing STOP button or ESC. </p>
<p>Anyway, it&#8217;s pretty simple and easy to use. Thanks again.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

