<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153521</link>
    <title>MATLAB Central Newsreader - Sendmail with GMail</title>
    <description>Feed for thread: Sendmail with GMail</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 27 Jul 2007 13:58:24 -0400</pubDate>
      <title>Sendmail with GMail</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153521#385228</link>
      <author>Joe Ercolino</author>
      <description>Hi&lt;br&gt;
&lt;br&gt;
I am trying to use the sendmail command with GMail. It is possible? What are the right default parameters configuration?&lt;br&gt;
&lt;br&gt;
Thanks</description>
    </item>
    <item>
      <pubDate>Fri, 27 Jul 2007 14:35:38 -0400</pubDate>
      <title>Re: Sendmail with GMail</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153521#385235</link>
      <author>us</author>
      <description>Joe Ercolino:&lt;br&gt;
&amp;lt;SNIP hopefully not preparing to send out spam...&lt;br&gt;
&lt;br&gt;
&amp;gt; It is possible?&lt;br&gt;
&lt;br&gt;
well,&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;doc sendmail;&lt;br&gt;
&lt;br&gt;
clearly states:&lt;br&gt;
...&lt;br&gt;
Note  The sendmail function does not support e-mail servers&lt;br&gt;
that require authentication.&lt;br&gt;
...&lt;br&gt;
&lt;br&gt;
now, as far as i know &amp;lt;gmail&amp;gt; does require authentication...&lt;br&gt;
&lt;br&gt;
us</description>
    </item>
    <item>
      <pubDate>Fri, 27 Jul 2007 15:06:26 -0400</pubDate>
      <title>Re: Sendmail with GMail</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153521#385244</link>
      <author>Ashutosh Mishra</author>
      <description>&quot;Joe Ercolino&quot; &amp;lt;joe_ercolino@hotmail.com&amp;gt; wrote in message &amp;lt;f8ctm0$7qd$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I am trying to use the sendmail command with GMail. It is possible? What are the right default parameters configuration?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks&lt;br&gt;
&lt;br&gt;
There is a slightly more convoluted way of being able to do this: Ofcourse this is for a windows system:&lt;br&gt;
&lt;br&gt;
If you use Outlook, here is something that i used to do sometime back: &lt;br&gt;
----------------&lt;br&gt;
&lt;br&gt;
function[]=sendingmail(mailid,attch1,subj,body)&lt;br&gt;
&lt;br&gt;
outlook = actxserver('Outlook.Application');&lt;br&gt;
email = outlook.CreateItem('olMailitem');&lt;br&gt;
&amp;nbsp;&lt;br&gt;
% Repeating for each address&lt;br&gt;
email.Recipients.Add(mailid);&lt;br&gt;
email.Subject = subj;&lt;br&gt;
email.Body=body;&lt;br&gt;
email.Attachments.Add(attch1);&lt;br&gt;
%email.Attachments.Add(attch2); &lt;br&gt;
&lt;br&gt;
% For read receipt&lt;br&gt;
email.ReadReceiptRequested = false;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&lt;br&gt;
email.Send;&lt;br&gt;
outlook.release ;&lt;br&gt;
-----------------------&lt;br&gt;
&lt;br&gt;
In this: &lt;br&gt;
mailid - string containing the recipient mail id:&lt;br&gt;
attch1=pathto attachment file.&lt;br&gt;
subj=string&lt;br&gt;
body - string.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Now since gmail allows pop access, configure your outlook to use gmail as the default outgoing smtp server (look at their online help) and i think you should be able to send the email. &lt;br&gt;
&lt;br&gt;
Hope this helps.</description>
    </item>
    <item>
      <pubDate>Fri, 27 Jul 2007 15:08:07 -0400</pubDate>
      <title>Re: Sendmail with GMail</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153521#385245</link>
      <author>Ashutosh Mishra</author>
      <description>&quot;Joe Ercolino&quot; &amp;lt;joe_ercolino@hotmail.com&amp;gt; wrote in message &amp;lt;f8ctm0$7qd$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I am trying to use the sendmail command with GMail. It is possible? What are the right default parameters configuration?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks&lt;br&gt;
&lt;br&gt;
There is a slightly more convoluted way of being able to do this: Ofcourse this is for a windows system:&lt;br&gt;
&lt;br&gt;
If you use Outlook, here is something that i used to do sometime back: &lt;br&gt;
----------------&lt;br&gt;
&lt;br&gt;
function[]=sendingmail(mailid,attch1,subj,body)&lt;br&gt;
&lt;br&gt;
outlook = actxserver('Outlook.Application');&lt;br&gt;
email = outlook.CreateItem('olMailitem');&lt;br&gt;
&amp;nbsp;&lt;br&gt;
% Repeating for each address&lt;br&gt;
email.Recipients.Add(mailid);&lt;br&gt;
email.Subject = subj;&lt;br&gt;
email.Body=body;&lt;br&gt;
email.Attachments.Add(attch1);&lt;br&gt;
%email.Attachments.Add(attch2); &lt;br&gt;
&lt;br&gt;
% For read receipt&lt;br&gt;
email.ReadReceiptRequested = false;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&lt;br&gt;
email.Send;&lt;br&gt;
outlook.release ;&lt;br&gt;
-----------------------&lt;br&gt;
&lt;br&gt;
In this: &lt;br&gt;
mailid - string containing the recipient mail id:&lt;br&gt;
attch1=pathto attachment file.&lt;br&gt;
subj=string&lt;br&gt;
body - string.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Now since gmail allows pop access, configure your outlook to use gmail as the default outgoing smtp server (look at their online help) and i think you should be able to send the email. &lt;br&gt;
&lt;br&gt;
Hope this helps.</description>
    </item>
    <item>
      <pubDate>Fri, 27 Jul 2007 15:09:51 -0400</pubDate>
      <title>Re: Sendmail with GMail</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153521#385246</link>
      <author>Ashutosh Mishra</author>
      <description>&quot;Joe Ercolino&quot; &amp;lt;joe_ercolino@hotmail.com&amp;gt; wrote in message &amp;lt;f8ctm0$7qd$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I am trying to use the sendmail command with GMail. It is possible? What are the right default parameters configuration?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks&lt;br&gt;
&lt;br&gt;
There is a slightly more convoluted way of being able to do this: Ofcourse this is for a windows system:&lt;br&gt;
&lt;br&gt;
If you use Outlook, here is something that i used to do sometime back: &lt;br&gt;
----------------&lt;br&gt;
&lt;br&gt;
function[]=sendingmail(mailid,attch1,subj,body)&lt;br&gt;
&lt;br&gt;
outlook = actxserver('Outlook.Application');&lt;br&gt;
email = outlook.CreateItem('olMailitem');&lt;br&gt;
&amp;nbsp;&lt;br&gt;
% Repeating for each address&lt;br&gt;
email.Recipients.Add(mailid);&lt;br&gt;
email.Subject = subj;&lt;br&gt;
email.Body=body;&lt;br&gt;
email.Attachments.Add(attch1);&lt;br&gt;
%email.Attachments.Add(attch2); &lt;br&gt;
&lt;br&gt;
% For read receipt&lt;br&gt;
email.ReadReceiptRequested = false;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&lt;br&gt;
email.Send;&lt;br&gt;
outlook.release ;&lt;br&gt;
-----------------------&lt;br&gt;
&lt;br&gt;
In this: &lt;br&gt;
mailid - string containing the recipient mail id:&lt;br&gt;
attch1=pathto attachment file.&lt;br&gt;
subj=string&lt;br&gt;
body - string.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Now since gmail allows pop access, configure your outlook to use gmail as the default outgoing smtp server (look at their online help) and i think you should be able to send the email. &lt;br&gt;
&lt;br&gt;
Hope this helps.</description>
    </item>
    <item>
      <pubDate>Fri, 27 Jul 2007 15:19:39 -0400</pubDate>
      <title>Re: Sendmail with GMail</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153521#385247</link>
      <author>Ashutosh Mishra</author>
      <description>My apologies for so many multiple posts. </description>
    </item>
    <item>
      <pubDate>Fri, 27 Jul 2007 15:49:34 -0400</pubDate>
      <title>Re: Sendmail with GMail</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153521#385253</link>
      <author>Matthew Simoneau</author>
      <description>This isn't yet officially supported, but here is some code that will work in recent versions of MATLAB:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/support/solutions/data/1-3PRRDV.html&quot;&gt;http://www.mathworks.com/support/solutions/data/1-3PRRDV.html&lt;/a&gt;</description>
    </item>
  </channel>
</rss>

