<?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>Gmail &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/gmail/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Tue, 13 Feb 2018 08:18:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>Zend_Mail with GMail</title>
		<link>/2010/07/18/zend_mail-with-gmail/</link>
		<comments>/2010/07/18/zend_mail-with-gmail/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 11:39:20 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[micro tutorial]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[zend framework]]></category>
		<category><![CDATA[Computer-mediated communication]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Cross-platform software]]></category>
		<category><![CDATA[E-mail]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[Gmail interface]]></category>
		<category><![CDATA[Human Interest]]></category>
		<category><![CDATA[Simple Mail Transfer Protocol]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[World Wide Web]]></category>

		<guid isPermaLink="false">/?p=1817</guid>
		<description><![CDATA[You know how to setup Zend_Mail with SMTP, but you don&#8217;t know how to set it up with GMail! Here&#8217;s how to do it. Just follow the instructions 😉 $mailTransport = new Zend_Mail_Transport_Smtp('smtp.gmail.com', array( 'auth' => 'login', 'username' => 'xxxxxx@gmail.com', 'password' => 'passxxxxx', 'port' => '587', 'ssl' => 'tls', )); Zend_Mail::setDefaultTransport($mailTransport);<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2010/03/25/send-mail-with-zend-framework/" rel="bookmark" title="Send Mail with Zend Framework">Send Mail with Zend Framework </a></li>
<li><a href="/2010/07/17/send-html-mails-with-zend_mail/" rel="bookmark" title="Send Html Mails with Zend_Mail">Send Html Mails with Zend_Mail </a></li>
<li><a href="/2010/06/28/send-authenticated-post-request-with-zend_http_client/" rel="bookmark" title="Send Authenticated POST Request with Zend_Http_Client">Send Authenticated POST Request with Zend_Http_Client </a></li>
<li><a href="/2010/07/20/zend-framework-connect-mysql/" rel="bookmark" title="Zend Framework: Connect MySQL">Zend Framework: Connect MySQL </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p><a href="/wp-content/uploads/2010/07/zend_mail_gmail.jpg"><img src="/wp-content/uploads/2010/07/zend_mail_gmail.jpg" alt="Zend_Mail and GMail" title="zend_mail_gmail" width="250" height="370" class="aligncenter size-full wp-image-1821" srcset="/wp-content/uploads/2010/07/zend_mail_gmail.jpg 250w, /wp-content/uploads/2010/07/zend_mail_gmail-202x300.jpg 202w" sizes="(max-width: 250px) 100vw, 250px" /></a><br />
You know how to setup Zend_Mail with SMTP, but you don&#8217;t know how to set it up with GMail! Here&#8217;s how to do it. Just follow the instructions <img src="https://s.w.org/images/core/emoji/11/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<pre lang="php">
$mailTransport = new Zend_Mail_Transport_Smtp('smtp.gmail.com', array(
    'auth'     => 'login',
    'username' => 'xxxxxx@gmail.com',
    'password' => 'passxxxxx',
    'port'     => '587',
    'ssl'      => 'tls',
));
Zend_Mail::setDefaultTransport($mailTransport);
</pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2010/03/25/send-mail-with-zend-framework/" rel="bookmark" title="Send Mail with Zend Framework">Send Mail with Zend Framework </a></li>
<li><a href="/2010/07/17/send-html-mails-with-zend_mail/" rel="bookmark" title="Send Html Mails with Zend_Mail">Send Html Mails with Zend_Mail </a></li>
<li><a href="/2010/06/28/send-authenticated-post-request-with-zend_http_client/" rel="bookmark" title="Send Authenticated POST Request with Zend_Http_Client">Send Authenticated POST Request with Zend_Http_Client </a></li>
<li><a href="/2010/07/20/zend-framework-connect-mysql/" rel="bookmark" title="Zend Framework: Connect MySQL">Zend Framework: Connect MySQL </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/07/18/zend_mail-with-gmail/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Send Mail with Zend Framework</title>
		<link>/2010/03/25/send-mail-with-zend-framework/</link>
		<comments>/2010/03/25/send-mail-with-zend-framework/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 16:08:37 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[zend framework]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Cross-platform software]]></category>
		<category><![CDATA[default transport protocol]]></category>
		<category><![CDATA[Emeryville California]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[Mail transfer agents]]></category>
		<category><![CDATA[PHP programming language]]></category>
		<category><![CDATA[Sendmail]]></category>
		<category><![CDATA[System software]]></category>
		<category><![CDATA[transport protocol]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">/?p=1389</guid>
		<description><![CDATA[Simple, but Doesn&#8217;t Work! It may sound strange, because all this is quite well documented in the Zend Framework documentation. Indeed it&#8217;s very very simple and all is done only by few lines of code. $mail = new Zend_Mail(); $mail-&#62;setFrom('sender@example.com'); $mail-&#62;setBodyHtml('some message - it may be html formatted text'); $mail-&#62;addTo('recipient@example.com', 'recipient'); $mail-&#62;setSubject('subject'); $mail-&#62;send(); Even it &#8230; <a href="/2010/03/25/send-mail-with-zend-framework/" class="more-link">Continue reading <span class="screen-reader-text">Send Mail with Zend Framework</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2010/07/17/send-html-mails-with-zend_mail/" rel="bookmark" title="Send Html Mails with Zend_Mail">Send Html Mails with Zend_Mail </a></li>
<li><a href="/2010/07/18/zend_mail-with-gmail/" rel="bookmark" title="Zend_Mail with GMail">Zend_Mail with GMail </a></li>
<li><a href="/2010/04/07/upload-a-file-with-zend-framework/" rel="bookmark" title="Upload a File with Zend Framework">Upload a File with Zend Framework </a></li>
<li><a href="/2010/01/25/using-zend-framework-validators-zend_validate_db_recordexists/" rel="bookmark" title="Using Zend Framework validators &#8211; Zend_Validate_Db_RecordExists">Using Zend Framework validators &#8211; Zend_Validate_Db_RecordExists </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>Simple, but Doesn&#8217;t Work!</h2>
<p>It may sound strange, because all this is quite well documented in the <a title="Zend Framework" href="http://framework.zend.com/" target="_blank">Zend Framework</a> documentation. Indeed it&#8217;s very very simple and all is done only by few lines of code.</p>
<pre lang="php" escaped="true">$mail = new Zend_Mail();
$mail-&gt;setFrom('sender@example.com');
$mail-&gt;setBodyHtml('some message - it may be html formatted text');
$mail-&gt;addTo('recipient@example.com', 'recipient');
$mail-&gt;setSubject('subject');
$mail-&gt;send();
</pre>
<p>Even it look simple though, it may not work on your localhost while you&#8217;re trying to make it work! Because you&#8217;ve to have sendmail setup. And in Zend Framework sendmail is the default transport protocol for sending mails.</p>
<h2>What You Have to Do to Make it Work?</h2>
<p>Actually you&#8217;ve simply to add a transport protocol, just like that:</p>
<pre lang="php" escaped="true">$tr = new Zend_Mail_Transport_Smtp('smtp.example.com',
                    array('auth' =&gt; 'login',
                             'username' =&gt; 'username',
                             'password' =&gt; 'password'));
Zend_Mail::setDefaultTransport($tr);
</pre>
<h2>Where Did I Get These?</h2>
<p>Well look at your favorite mail account you probably use every day. It may be hosted in GMail or wherever, but there are some configurations you have to port under Zend&#8217;s code and everything will be just fine until you develop the app!</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2010/07/17/send-html-mails-with-zend_mail/" rel="bookmark" title="Send Html Mails with Zend_Mail">Send Html Mails with Zend_Mail </a></li>
<li><a href="/2010/07/18/zend_mail-with-gmail/" rel="bookmark" title="Zend_Mail with GMail">Zend_Mail with GMail </a></li>
<li><a href="/2010/04/07/upload-a-file-with-zend-framework/" rel="bookmark" title="Upload a File with Zend Framework">Upload a File with Zend Framework </a></li>
<li><a href="/2010/01/25/using-zend-framework-validators-zend_validate_db_recordexists/" rel="bookmark" title="Using Zend Framework validators &#8211; Zend_Validate_Db_RecordExists">Using Zend Framework validators &#8211; Zend_Validate_Db_RecordExists </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/03/25/send-mail-with-zend-framework/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
