<?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: PHPUnit email integration testing using Sendmail</title>
	<atom:link href="http://www.thedeveloperday.com/phpunit-email-integration-testing-using-sendmai/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thedeveloperday.com/phpunit-email-integration-testing-using-sendmai/</link>
	<description>Staying Curious</description>
	<lastBuildDate>Wed, 01 Feb 2012 07:05:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Žilvinas Šaltys</title>
		<link>http://www.thedeveloperday.com/phpunit-email-integration-testing-using-sendmai/comment-page-1/#comment-905</link>
		<dc:creator>Žilvinas Šaltys</dc:creator>
		<pubDate>Sat, 13 Nov 2010 11:48:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=614#comment-905</guid>
		<description>Nice idea. We&#039;ve replaced the test-mail sendmail solution with a different idea. When running phpunit test suite we pass a -d flag overriding the sendmail path to a php script. The php script writes to a known location on the file system. The tests then assert against that file on the filesystem.</description>
		<content:encoded><![CDATA[<p>Nice idea. We&#8217;ve replaced the test-mail sendmail solution with a different idea. When running phpunit test suite we pass a -d flag overriding the sendmail path to a php script. The php script writes to a known location on the file system. The tests then assert against that file on the filesystem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrei Fedarenchyk</title>
		<link>http://www.thedeveloperday.com/phpunit-email-integration-testing-using-sendmai/comment-page-1/#comment-904</link>
		<dc:creator>Andrei Fedarenchyk</dc:creator>
		<pubDate>Sat, 13 Nov 2010 09:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=614#comment-904</guid>
		<description>Solution how to test emails within frameworks like ZF:
http://www.andfed.net/2010/11/07/zend-framework-and-phpunit-emails-testing/</description>
		<content:encoded><![CDATA[<p>Solution how to test emails within frameworks like ZF:<br />
<a href="http://www.andfed.net/2010/11/07/zend-framework-and-phpunit-emails-testing/" rel="nofollow">http://www.andfed.net/2010/11/07/zend-framework-and-phpunit-emails-testing/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tadas</title>
		<link>http://www.thedeveloperday.com/phpunit-email-integration-testing-using-sendmai/comment-page-1/#comment-477</link>
		<dc:creator>Tadas</dc:creator>
		<pubDate>Tue, 27 Apr 2010 16:03:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=614#comment-477</guid>
		<description>Well.. Another solution: use sendmail wrapper, configure php (sendmail_path) to use it for testsuite via .htaccess (or feed custom config file if tests are executed via cli).

There are some php written scripts that behave like /usr/sbin/sendmail and output mails straight to file system or whatever you make it to ouput to.</description>
		<content:encoded><![CDATA[<p>Well.. Another solution: use sendmail wrapper, configure php (sendmail_path) to use it for testsuite via .htaccess (or feed custom config file if tests are executed via cli).</p>
<p>There are some php written scripts that behave like /usr/sbin/sendmail and output mails straight to file system or whatever you make it to ouput to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Žilvinas Šaltys</title>
		<link>http://www.thedeveloperday.com/phpunit-email-integration-testing-using-sendmai/comment-page-1/#comment-476</link>
		<dc:creator>Žilvinas Šaltys</dc:creator>
		<pubDate>Tue, 27 Apr 2010 13:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=614#comment-476</guid>
		<description>Thanks for your feedback Tadas. The only small problem with this  this is if you have a build server which would most likely be running Linux. Which would probably would have an smtp server (probably sendmail) which is used to run other PHP scripts and possibly send legitimate emails (that&#039;s our case). Then you get a conflict in the php.ini configuration which by default uses sendmail which you would want to change to your smtpd server. I guess it should be possible to tell sendmail to forward certain emails to the debugging smtp server.</description>
		<content:encoded><![CDATA[<p>Thanks for your feedback Tadas. The only small problem with this  this is if you have a build server which would most likely be running Linux. Which would probably would have an smtp server (probably sendmail) which is used to run other PHP scripts and possibly send legitimate emails (that&#8217;s our case). Then you get a conflict in the php.ini configuration which by default uses sendmail which you would want to change to your smtpd server. I guess it should be possible to tell sendmail to forward certain emails to the debugging smtp server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tadas</title>
		<link>http://www.thedeveloperday.com/phpunit-email-integration-testing-using-sendmai/comment-page-1/#comment-475</link>
		<dc:creator>Tadas</dc:creator>
		<pubDate>Tue, 27 Apr 2010 13:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.thedeveloperday.com/?p=614#comment-475</guid>
		<description>Lots of people develop in ms windows environment + use various other MTAs on servers so this is quite limited solution. Easy and portable solution for testing this could be Python smtpd library which allows implementing minimal debugging smtp server in 10-20 lines of code.

Documentation: http://docs.python.org/library/smtpd.html</description>
		<content:encoded><![CDATA[<p>Lots of people develop in ms windows environment + use various other MTAs on servers so this is quite limited solution. Easy and portable solution for testing this could be Python smtpd library which allows implementing minimal debugging smtp server in 10-20 lines of code.</p>
<p>Documentation: <a href="http://docs.python.org/library/smtpd.html" rel="nofollow">http://docs.python.org/library/smtpd.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

