<?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: MATLAB can &#8220;txt msg u :)&#8221;</title>
	<atom:link href="http://blogs.mathworks.com/pick/2007/10/23/matlab-can-txt-msg-u/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/pick/2007/10/23/matlab-can-txt-msg-u/</link>
	<description>&#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1093599&#38;objectType=author&#34;&#62;Brett&#60;/a&#62; &#38; &#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1094142&#38;objectType=author&#34;&#62;Jiro&#60;/a&#62; share favorite user-contributed submissions from the File Exchange.</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:12:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Ke Feng</title>
		<link>http://blogs.mathworks.com/pick/2007/10/23/matlab-can-txt-msg-u/#comment-3643</link>
		<dc:creator>Ke Feng</dc:creator>
		<pubDate>Wed, 24 Oct 2007 22:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/10/23/matlab-can-txt-msg-u/#comment-3643</guid>
		<description>If you know an SMTP server which doesn&#039;t require login (you company may provide you one), you can use that to avoid the password line. If you don&#039;t know any SMTP server, you can install one free on your own computer:
http://www.softstack.com/freesmtp.html.

To use your own (or your company&#039;s) SMTP server, delete the following lines:
password = &#039;xxxxxxxxx&#039;;
setpref(&#039;Internet&#039;,&#039;SMTP_Username&#039;,mail);
setpref(&#039;Internet&#039;,&#039;SMTP_Password&#039;,password);
props = java.lang.System.getProperties;
props.setProperty(&#039;mail.smtp.auth&#039;,&#039;true&#039;);
props.setProperty(&#039;mail.smtp.socketFactory.class&#039;, &#039;javax.net.ssl.SSLSocketFactory&#039;);
props.setProperty(&#039;mail.smtp.socketFactory.port&#039;,&#039;465&#039;);

and change the following line:
setpref(&#039;Internet&#039;,&#039;SMTP_Server&#039;,&#039;smtp.gmail.com&#039;);
to your own server. If you use that program I mentioned above, use &#039;127.0.0.1&#039; instead of &#039;smtp.gmail.com&#039;. Then you won&#039;t need any password.</description>
		<content:encoded><![CDATA[<p>If you know an SMTP server which doesn&#8217;t require login (you company may provide you one), you can use that to avoid the password line. If you don&#8217;t know any SMTP server, you can install one free on your own computer:<br />
<a href="http://www.softstack.com/freesmtp.html" rel="nofollow">http://www.softstack.com/freesmtp.html</a>.</p>
<p>To use your own (or your company&#8217;s) SMTP server, delete the following lines:<br />
password = &#8216;xxxxxxxxx&#8217;;<br />
setpref(&#8216;Internet&#8217;,'SMTP_Username&#8217;,mail);<br />
setpref(&#8216;Internet&#8217;,'SMTP_Password&#8217;,password);<br />
props = java.lang.System.getProperties;<br />
props.setProperty(&#8216;mail.smtp.auth&#8217;,'true&#8217;);<br />
props.setProperty(&#8216;mail.smtp.socketFactory.class&#8217;, &#8216;javax.net.ssl.SSLSocketFactory&#8217;);<br />
props.setProperty(&#8216;mail.smtp.socketFactory.port&#8217;,&#8217;465&#8242;);</p>
<p>and change the following line:<br />
setpref(&#8216;Internet&#8217;,'SMTP_Server&#8217;,'smtp.gmail.com&#8217;);<br />
to your own server. If you use that program I mentioned above, use &#8217;127.0.0.1&#8242; instead of &#8216;smtp.gmail.com&#8217;. Then you won&#8217;t need any password.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/10/23/matlab-can-txt-msg-u/#comment-3634</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Wed, 24 Oct 2007 20:12:50 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/10/23/matlab-can-txt-msg-u/#comment-3634</guid>
		<description>Tim,

An excellent thought.  Anyone made a little encryption routine for MATLAB?  If not, this GUI that I promoted earlier:

http://blogs.mathworks.com/pick/2007/10/05/masking-typed-passwords-with-asterisks/

might be helpful!

Thanks,
Doug</description>
		<content:encoded><![CDATA[<p>Tim,</p>
<p>An excellent thought.  Anyone made a little encryption routine for MATLAB?  If not, this GUI that I promoted earlier:</p>
<p><a href="http://blogs.mathworks.com/pick/2007/10/05/masking-typed-passwords-with-asterisks/" rel="nofollow">http://blogs.mathworks.com/pick/2007/10/05/masking-typed-passwords-with-asterisks/</a></p>
<p>might be helpful!</p>
<p>Thanks,<br />
Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Davis</title>
		<link>http://blogs.mathworks.com/pick/2007/10/23/matlab-can-txt-msg-u/#comment-3633</link>
		<dc:creator>Tim Davis</dc:creator>
		<pubDate>Wed, 24 Oct 2007 20:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/10/23/matlab-can-txt-msg-u/#comment-3633</guid>
		<description>This is really cool, but entering a password in plain text into a file is a really bad security risk; particularly if that file has the word &quot;password&quot; on the same line.  Yikes!  Makes for a good target via an automatic file search.

It would be better if the password was encrypted somehow.  For example, a MATLAB GUI could prompt you for your email and password.  Then that GUI could twiddle the password with some a reversible operation and then that password could be saved in a MATLAB *.mat file.  At least that would make it hard for a non-MATLAB savvy hacker, or virus, to sniff out the password.

Then, in addition, the m-file here should not use the variable name &quot;password&quot; or use the word &quot;password&quot; in any comments.

I&#039;m sure there are better techniques - Java, via MATLAB, can do encryption and decryption, for example.</description>
		<content:encoded><![CDATA[<p>This is really cool, but entering a password in plain text into a file is a really bad security risk; particularly if that file has the word &#8220;password&#8221; on the same line.  Yikes!  Makes for a good target via an automatic file search.</p>
<p>It would be better if the password was encrypted somehow.  For example, a MATLAB GUI could prompt you for your email and password.  Then that GUI could twiddle the password with some a reversible operation and then that password could be saved in a MATLAB *.mat file.  At least that would make it hard for a non-MATLAB savvy hacker, or virus, to sniff out the password.</p>
<p>Then, in addition, the m-file here should not use the variable name &#8220;password&#8221; or use the word &#8220;password&#8221; in any comments.</p>
<p>I&#8217;m sure there are better techniques &#8211; Java, via MATLAB, can do encryption and decryption, for example.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

