<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>A web developer's diary</title>
	<atom:link href="http://webomania.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://webomania.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 01 Jan 2012 05:07:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='webomania.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>A web developer's diary</title>
		<link>http://webomania.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://webomania.wordpress.com/osd.xml" title="A web developer&#039;s diary" />
	<atom:link rel='hub' href='http://webomania.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Ethical Hacking</title>
		<link>http://webomania.wordpress.com/2011/08/23/ethical-hacking/</link>
		<comments>http://webomania.wordpress.com/2011/08/23/ethical-hacking/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 02:43:28 +0000</pubDate>
		<dc:creator>Bindu</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://webomania.wordpress.com/2011/08/23/ethical-hacking/</guid>
		<description><![CDATA[I have been learning about ethical hacking these days. Thought that I will cover what I learn in this blog. My learning source is my EC Council training and internet. So, I will take you on a tour by covering the below modules. 1. CEH Ethics and Legal Issues 12. CEH Web Application Vulnerabilities 2. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=37&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been learning about ethical hacking these days. Thought that I will cover what I learn in this blog.</p>
<p>My learning source is my EC Council training and internet. So, I will take you on a tour by covering the below modules.</p>
<table border="0" cellspacing="1" cellpadding="0" width="100%">
<tr>
<td>1.</td>
<td>CEH Ethics and Legal Issues</td>
<td>12.</td>
<td>CEH Web Application Vulnerabilities</td>
</tr>
<tr>
<td>2.</td>
<td>CEH Footprinting</td>
<td>13.</td>
<td>CEH Web Based Password Cracking Techniques</td>
</tr>
<tr>
<td>3.</td>
<td>CEH Scanning</td>
<td>14.</td>
<td>CEH SQL Injection</td>
</tr>
<tr>
<td>4.</td>
<td>CEH Enumeration</td>
<td>15.</td>
<td>CEH Hacking Wireless Networks</td>
</tr>
<tr>
<td>5.</td>
<td>CEH System Hacking</td>
<td>16.</td>
<td>CEH Virus and Worms</td>
</tr>
<tr>
<td>6.</td>
<td>CEH Trojans and Backdoors</td>
<td>17.</td>
<td>CEH Hacking Novell</td>
</tr>
<tr>
<td>7.</td>
<td>CEH Sniffers</td>
<td>18.</td>
<td>CEH Hacking Linux</td>
</tr>
<tr>
<td>8.</td>
<td>CEH Denial of Service</td>
<td>19.</td>
<td>CEH IDS, Firewalls and Honeypots</td>
</tr>
<tr>
<td>9.</td>
<td>CEH Social Engineering</td>
<td>20.</td>
<td>CEH Buffer Overflows</td>
</tr>
<tr>
<td>10.</td>
<td>CEH Session Hijacking</td>
<td>21.</td>
<td>CEH Cryptography</td>
</tr>
<tr>
<td>11.</td>
<td>CEH Hacking Web Servers</td>
<td>22.</td>
<td>CEH Penetration Testing Methodologies</td>
</tr>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webomania.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webomania.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webomania.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webomania.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webomania.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webomania.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webomania.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webomania.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webomania.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webomania.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webomania.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webomania.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webomania.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webomania.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=37&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webomania.wordpress.com/2011/08/23/ethical-hacking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d46d1d1d9b2d55c8064357acb568978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rexselin</media:title>
		</media:content>
	</item>
		<item>
		<title>Enjoying Microsoft Communicator</title>
		<link>http://webomania.wordpress.com/2011/01/25/enjoying-microsoft-communicator/</link>
		<comments>http://webomania.wordpress.com/2011/01/25/enjoying-microsoft-communicator/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 09:24:15 +0000</pubDate>
		<dc:creator>Bindu</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://webomania.wordpress.com/2011/01/25/enjoying-microsoft-communicator/</guid>
		<description><![CDATA[I never had a fascination for Microsoft Products earlier. I think I took them for granted. MS Office, VB.NET, Paint and likes. These are the only ones that were exposed to me that time. Off late, I am using ‘Microsoft Communicator’ to a great extent and I just can’t imagine how my life would be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=36&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I never had a fascination for Microsoft Products earlier. I think I took them for granted. MS Office, VB.NET, Paint and likes. These are the only ones that were exposed to me that time.</p>
<p>Off late, I am using ‘Microsoft Communicator’ to a great extent and I just can’t imagine how my life would be without it. Let me list out the features that I like here.</p>
<p>1) Group Chat – It’s there in other messengers too</p>
<p>2) Sharing Desktop and taking control – Since I work remotely, this is an indispensable feature. I use this to show demos, assign tasks to developers and in debugging.</p>
<p>3) Tag Contact – A trivia but yet so nice. I can keep a tab on a person to know his availability.</p>
<p>4) Its integrated with outlook..</p>
<p>I guess GTalk , Yahoo and MSN might offer some of the above features. But overall, I like Communicator the best.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webomania.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webomania.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webomania.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webomania.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webomania.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webomania.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webomania.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webomania.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webomania.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webomania.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webomania.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webomania.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webomania.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webomania.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=36&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webomania.wordpress.com/2011/01/25/enjoying-microsoft-communicator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d46d1d1d9b2d55c8064357acb568978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rexselin</media:title>
		</media:content>
	</item>
		<item>
		<title>Building A Secure Web Application &#8211; Part 1</title>
		<link>http://webomania.wordpress.com/2010/08/08/building-a-secure-web-application-part-1/</link>
		<comments>http://webomania.wordpress.com/2010/08/08/building-a-secure-web-application-part-1/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 15:24:28 +0000</pubDate>
		<dc:creator>Bindu</dc:creator>
				<category><![CDATA[Application Security]]></category>

		<guid isPermaLink="false">http://webomania.wordpress.com/?p=34</guid>
		<description><![CDATA[Well, when I first thought of posting about this topic, a friend of mine suggested.. &#8220;Celia, forget about security. Once you put your application on the web, no matter what you do, it is always vulnerable.&#8221; Another one said, &#8220;Gosh! Remember that we are from the service industry. Lets not overdo on that security aspect. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=34&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well, when I first thought of posting about this topic, a friend of mine suggested..</p>
<p>&#8220;Celia, forget about security. Once you put your application on the web, no matter what you do, it is always vulnerable.&#8221;</p>
<p>Another one said, &#8220;Gosh! Remember that we are from the service industry. Lets not overdo on that security aspect. The client will take care of it when he deploys it. Also, remember, we can do only what they ask for.. &#8220;</p>
<p>As I pondered about this, I was wondering how I could strike a balance between these two people. Agreed, security is an ongoing thing. It seems like a race between the hackers and the crackers.. Today, we find a vulnerability and fix it. Tomorrow, there comes another issue.</p>
<p>Likewise, clients come in all flavors. There are some who really know a lot about what they want. These people are a delight to work with as their requirements are very clear. Also, they are quick to understand and know that building efficient security applications do take some royal effort. And there are some who think that application development shouldn&#8217;t take more than a week. There was this manager who once asked me, &#8220;After all, its just adding, editing, deleting and viewing. You are not doing rocket science. Why is it taking more time?&#8221;.</p>
<p>Yeah.. I agree to it. It would just take me one single query on the database to let an administrator login to a system. But it would take me atleast 10 other policy checks to prevent other users from manipulating this query. Wouldn&#8217;t this take some solid effort?</p>
<p>I hope people are atleast nodding a little now. Let me say one thing now. Even popular websites like gmail, facebook, youtube and msn have vulnerabilities. So, its not just because of a poor programmer&#8217;s pathetic code. Even experienced experts find it difficult to take care of all vulnerability issues when all their attention is focused on business logic.</p>
<p>In this case, what can be done? First thing:</p>
<p>Client: Client has to know that building secure web application takes some time. And some real effort.</p>
<p>Developer: The programmer needs to know how to secure their code and need to follow some security standard.</p>
<p>PM: The one who takes the real pressure. Needs to coordinate between the above two.</p>
<p>Security Consultant: The one who tells us what we already know <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .. well, jokes apart.. This is the person who makes our lives simpler. Who tells us what needs to be done to make our code secure and who reviews it before the app gets deployed in the production environment.</p>
<p>Now, just like how we have a separate team for application design, BI development and testing, we do need a separate group of security experts who concentrate just on the security aspect of the application. How a security expert will add value to the application, will be discussed in PART 2 of this article&#8230; <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webomania.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webomania.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webomania.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webomania.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webomania.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webomania.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webomania.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webomania.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webomania.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webomania.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webomania.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webomania.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webomania.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webomania.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=34&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webomania.wordpress.com/2010/08/08/building-a-secure-web-application-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d46d1d1d9b2d55c8064357acb568978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rexselin</media:title>
		</media:content>
	</item>
		<item>
		<title>Web Application Security</title>
		<link>http://webomania.wordpress.com/2010/08/02/web-application-security/</link>
		<comments>http://webomania.wordpress.com/2010/08/02/web-application-security/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 13:39:42 +0000</pubDate>
		<dc:creator>Bindu</dc:creator>
				<category><![CDATA[Application Security]]></category>

		<guid isPermaLink="false">http://webomania.wordpress.com/?p=30</guid>
		<description><![CDATA[Its been a long time since I posted, in this blog. I guess, from now on you can see frequent posts. I will be covering the &#8216;Web Application Security&#8217; topic in general and will deal with every aspect of it. To Start with, let me tell you the standard that has been adopted by the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=30&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Its been a long time since I posted, in this blog. I guess, from now on you can see frequent posts. I will be covering the &#8216;Web Application Security&#8217; topic in general and will deal with every aspect of it.</p>
<p>To Start with, let me tell you the standard that has been adopted by the security world.</p>
<p>The standards available are</p>
<p>1) OWASP top ten security vulnerabilities</p>
<p>2) CWE/SANS Top 25 software vulnerabilities</p>
<p>Since OWASP broadly covers the most of the aspects, I will be taking this as my verification standard.</p>
<p>For all the vulnerabilities covered, example code will be that of php language.</p>
<p>Lets dive in..</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webomania.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webomania.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webomania.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webomania.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webomania.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webomania.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webomania.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webomania.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webomania.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webomania.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webomania.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webomania.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webomania.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webomania.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=30&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webomania.wordpress.com/2010/08/02/web-application-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d46d1d1d9b2d55c8064357acb568978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rexselin</media:title>
		</media:content>
	</item>
		<item>
		<title>Accessing C or C++ code from PHP</title>
		<link>http://webomania.wordpress.com/2008/06/25/accessing-c-or-c-code-from-php/</link>
		<comments>http://webomania.wordpress.com/2008/06/25/accessing-c-or-c-code-from-php/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 04:48:33 +0000</pubDate>
		<dc:creator>Bindu</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[c]]></category>

		<guid isPermaLink="false">http://webomania.wordpress.com/2008/06/25/accessing-c-or-c-code-from-php/</guid>
		<description><![CDATA[One of my friends had called up today. He has a project assignment in his company in which he needs to access and manipulate c++ code from within his php script. As we were brainstorming and trying to find ways to do this, some ideas crossed our mind. 1) To call the executable c code [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=26&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of my friends had called up today. He has a project assignment in his  company in which he needs to access and manipulate c++ code from within his php  script. As we were brainstorming and trying to find ways to do this, some ideas  crossed our mind.</p>
<p>1) To call the executable c code from php using  function calls like system or ~~.</p>
<p>2) To compile the c code and make it  into a php extension. This way, he can call methods in the code and use its  objects.</p>
<p>We found one tool which is helpful in developing these  extensions. That is SWIG. SWIG is a compiler that takes C declarations and turns  them into the &#8220;glue&#8221; needed to access them from common scripting languages  including Perl, Python, and Tcl. SWIG usually requires no modifications to  existing C code and can often be used to build a working interface in a matter  of minutes.</p>
<p><a href="http://www.swig.org/Doc1.1/HTML/Introduction.html#n1">http://www.swig.org/Doc1.1/HTML/Introduction.html#n1</a></p>
<p>Though  this seems quite an interesting option, he was a little hesitant because he was  not sure whether the c++ code would have been written in such a way to act as a  stand alone library.</p>
<p>3) To turn over to python. I have heard that in  python, one can include c++ code and get down to the nuts and grits of any  API.</p>
<p>Though this was a mundane 5 minute conversation, I found that it  offered enough scope to look into one weak-area of PHP. Does anyone have any  expertise in such a area? Like accessing native API code from scripting  languages?</p>
<p>Any thoughts, inputs are welcome.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webomania.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webomania.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webomania.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webomania.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webomania.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webomania.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webomania.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webomania.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webomania.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webomania.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webomania.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webomania.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webomania.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webomania.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webomania.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webomania.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=26&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webomania.wordpress.com/2008/06/25/accessing-c-or-c-code-from-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d46d1d1d9b2d55c8064357acb568978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rexselin</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting PhpMailer to connect to GMAIL&#8217;s SMTP Server</title>
		<link>http://webomania.wordpress.com/2007/06/12/getting-phpmailer-to-connect-to-gmails-smtp-server/</link>
		<comments>http://webomania.wordpress.com/2007/06/12/getting-phpmailer-to-connect-to-gmails-smtp-server/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 08:38:14 +0000</pubDate>
		<dc:creator>Bindu</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://webomania.wordpress.com/2007/06/12/getting-phpmailer-to-connect-to-gmails-smtp-server/</guid>
		<description><![CDATA[PhpMailer is quite a cool open source library for sending outgoing mails in PHP. I have used it in a few applications which require sending mails via SMTP. But sadly, it doesn&#8217;t work for GMAIL smtp server, the reason being that GMAIL requires TLS or SSL to send mails. I found a way to fix [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=25&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>PhpMailer is quite a cool open source library for sending outgoing mails in PHP. I have used it in a few applications which require sending mails via SMTP.</p>
<p>But sadly, it doesn&#8217;t work for GMAIL smtp server, the reason being that GMAIL requires TLS or SSL to send mails.</p>
<p>I found a way to fix this problem. </p>
<p><strong>Fix: </strong></p>
<p>1) Just prefix your smtp hostname with a ssl://<br />
In this case, your hostname will be ssl://smtp.gmail.com</p>
<p>	<code>$this-&gt;phpMail-&gt;Host     = "ssl://smtp.gmail.com";<br />
	$this-&gt;phpMail-&gt;Port=465;	</code></p>
<p>2) Comment out the following lines of code in class.phpmailer.php<br />
<code>/*  if(strstr($hosts[$index], ":"))<br />
                list($host, $port) = explode(":", $hosts[$index]);<br />
            else */<br />
</code><br />
I guess that would be from Line No: 537 &#8211; 539</p>
<p>Save the file and test it out.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webomania.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webomania.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webomania.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webomania.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webomania.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webomania.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webomania.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webomania.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webomania.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webomania.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webomania.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webomania.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webomania.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webomania.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webomania.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webomania.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=25&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webomania.wordpress.com/2007/06/12/getting-phpmailer-to-connect-to-gmails-smtp-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d46d1d1d9b2d55c8064357acb568978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rexselin</media:title>
		</media:content>
	</item>
		<item>
		<title>Vim Quick Tips &#8211; Cheat Sheet</title>
		<link>http://webomania.wordpress.com/2007/04/24/vim-quick-tips-cheat-sheet/</link>
		<comments>http://webomania.wordpress.com/2007/04/24/vim-quick-tips-cheat-sheet/#comments</comments>
		<pubDate>Tue, 24 Apr 2007 09:29:52 +0000</pubDate>
		<dc:creator>Bindu</dc:creator>
				<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://webomania.wordpress.com/2007/04/24/vim-quick-tips-cheat-sheet/</guid>
		<description><![CDATA[Thanks to those who wrote all nice tips in Vim.org, I am beginning to love my editor more and more. Here, I have noted down some quick tips that I found at vim.org and ones that you&#8217;ll not usually find anywhere else. I have followed a terminology here. CMD &#8211; means command mode. INS &#8211; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=24&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Thanks to those who wrote all nice tips in <a href="http://www.vim.org/tips/">Vim.org</a>, I am beginning to love my editor more and more. Here, I have noted down some quick tips that I found at vim.org and ones that you&#8217;ll not usually find anywhere else.</p>
<p>I have followed a terminology here.<br />
CMD &#8211; means command mode.<br />
INS  &#8211; means insert mode.<br />
VIS  &#8211; means visual mode.<br />
LOC  &#8211; means to be entered in .vimrc file</p>
<p><code></p>
<table border="1" style="width:95%;border-collapse:collapse;text-align:center;" cellspacing="0" cellpadding="0">
<tr style="background:#ccc;color:#fff;">
<td>Mode</td>
<td>Command</td>
<td>Description</td>
</tr>
<tr>
<td>CMD
<td>
:lineno</td>
<td> Go to a specific line.</td>
</tr>
<tr>
<td>CMD</td>
<td>
*
</td>
<td> Searches for the word under cursor </td>
</tr>
<tr>
<td> INS </td>
<td> CTRL - N</td>
<td> Autocompletes word </td>
</tr>
<tr>
<td>CMD </td>
<td> % </td>
<td> to jump to a matching closing/opening brace</td>
</tr>
<tr>
<td> CMD </td>
<td> . </td>
<td> quick copy/paste </td>
</tr>
<tr>
<td>CMD </td>
<td> x </td>
<td> Shortcut for save and exit (wq) </td>
</tr>
<tr>
<td>CMD </td>
<td> @: </td>
<td> Repeat last command </td>
</tr>
<tr>
<td> LOC</td>
<td> iab { {CR} (Enclose CR in angular brackets)</td>
<td> automatically adds closing brace </td>
</tr>
</table>
<p></code></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webomania.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webomania.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webomania.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webomania.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webomania.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webomania.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webomania.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webomania.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webomania.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webomania.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webomania.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webomania.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webomania.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webomania.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webomania.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webomania.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=24&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webomania.wordpress.com/2007/04/24/vim-quick-tips-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d46d1d1d9b2d55c8064357acb568978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rexselin</media:title>
		</media:content>
	</item>
		<item>
		<title>Javascript: Positioning the cursor at the beginning of a textarea</title>
		<link>http://webomania.wordpress.com/2007/04/11/javascript-positioning-the-cursor-at-the-beginning-of-a-textarea/</link>
		<comments>http://webomania.wordpress.com/2007/04/11/javascript-positioning-the-cursor-at-the-beginning-of-a-textarea/#comments</comments>
		<pubDate>Wed, 11 Apr 2007 07:13:35 +0000</pubDate>
		<dc:creator>Bindu</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://webomania.wordpress.com/2007/04/11/javascript-positioning-the-cursor-at-the-beginning-of-a-textarea/</guid>
		<description><![CDATA[I had been using the textarea.focus() function and saw that it behaves differently in different browsers. If there is no content in the textarea, all the browsers behave the same and they set the cursor position at the beginning of the textarea. However, if there is some text contained in the textarea, IE positions the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=22&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had been using the textarea.focus() function and saw that it behaves differently in different browsers. If there is no content in the textarea, all the browsers behave the same and they set the cursor position at the beginning of the textarea.</p>
<p>However, if there is some text contained in the textarea, IE positions the cursor at the end whereas safari positions the cursor at the beginning. After some frantic google searching, I found the below javascript would fix this discrepancy.</p>
<p><code>	replybox=document.myform.reply;<br />
	      replybox.focus(0);<br />
		if (replybox.setSelectionRange )<br />
		{<br />
		replybox.setSelectionRange(0,0);<br />
		}</code></p>
<p>This works fine in all the browsers. Let me know if this helped you.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webomania.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webomania.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webomania.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webomania.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webomania.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webomania.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webomania.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webomania.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webomania.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webomania.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webomania.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webomania.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webomania.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webomania.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webomania.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webomania.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=22&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webomania.wordpress.com/2007/04/11/javascript-positioning-the-cursor-at-the-beginning-of-a-textarea/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d46d1d1d9b2d55c8064357acb568978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rexselin</media:title>
		</media:content>
	</item>
		<item>
		<title>Would this work on my machine?</title>
		<link>http://webomania.wordpress.com/2007/03/15/would-this-work-on-my-machine/</link>
		<comments>http://webomania.wordpress.com/2007/03/15/would-this-work-on-my-machine/#comments</comments>
		<pubDate>Thu, 15 Mar 2007 09:43:55 +0000</pubDate>
		<dc:creator>Bindu</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://webomania.wordpress.com/2007/03/15/would-this-work-on-my-machine/</guid>
		<description><![CDATA[A lot of times, I end up answering to a certain sect of questions. 1) I don&#8217;t have this, would the software work for me? 2) Would it work without the libraries? 3) Would it work on a Windows 2003 server with S123456789 service pack with PHP 5.12345 version and Mysql 5.98765 version? 4) I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=21&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A lot of times, I end up answering to a certain sect of questions.</p>
<p>1) I don&#8217;t have this, would the software work for me?<br />
2) Would it work without the libraries?<br />
3) Would it work on a Windows 2003 server with S123456789 service pack with PHP 5.12345 version and Mysql 5.98765 version?<br />
4) I host with Godaddy and they say that they can&#8217;t provide that option. Would it work without the option?<br />
5) I host with Comemommy and they don&#8217;t want to install it, would it work without installing?</p>
<p>and just every other question they can come up with except the right question!! and what do I usually say? Should I say, &#8220;<em> Give me some time, let me replicate the exact condition here and then I would tell you whether it works or not!!</em> &#8220;.. No, as a good worker, I always end up saying.. &#8220;Yeah!! This would!!&#8221;, &#8220;No, This wouldn&#8217;t. But if I can buy some of your  time, it definitely would!&#8221;.</p>
<p>Wouldn&#8217;t it be better if I tell just tell, &#8220;<em>Well this mostly depends on your machine. Testing it is usually the quickest way to find out.</em>&#8221; So, do test it out while having your coffee and lemme know if it worked or not!!</p>
<p>Wouldn&#8217;t this be easy? <a href="http://www.videolan.org/doc/faq/en/index.html#id278742">These</a> people are a real lot clever!!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webomania.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webomania.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webomania.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webomania.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webomania.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webomania.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webomania.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webomania.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webomania.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webomania.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webomania.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webomania.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webomania.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webomania.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webomania.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webomania.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=21&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webomania.wordpress.com/2007/03/15/would-this-work-on-my-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d46d1d1d9b2d55c8064357acb568978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rexselin</media:title>
		</media:content>
	</item>
		<item>
		<title>How to debug if outgoing emails are not working!</title>
		<link>http://webomania.wordpress.com/2007/03/14/how-to-debug-if-outgoing-emails-are-not-working/</link>
		<comments>http://webomania.wordpress.com/2007/03/14/how-to-debug-if-outgoing-emails-are-not-working/#comments</comments>
		<pubDate>Wed, 14 Mar 2007 09:01:32 +0000</pubDate>
		<dc:creator>Bindu</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://webomania.wordpress.com/2007/03/14/how-to-debug-if-outgoing-emails-are-not-working/</guid>
		<description><![CDATA[This seems to be an evergreen topic for me. Every day I keep discovering options that have control over the outgoing emails. I hope to log every detail here assuming that it will help someone some day. So, if your scripting language is PHP, and uses mail() function to send mails, read on. # Agent [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=20&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This seems to be an evergreen topic for me. Every day I keep discovering options that have control over the outgoing emails. I hope to log every detail here assuming that it will help someone some day.</p>
<p>So, if your scripting language is PHP, and uses mail() function to send mails, read on.<br />
<span id="more-20"></span></p>
<p><strong># Agent 1:</strong></p>
<p><strong>Incorrect TO: address.</strong> Please check whether your recipient email address is correctly entered.</p>
<p><strong># Agent 2:</strong></p>
<p><strong>Incorrect FROM address.</strong> Yeah. These days, it is indeed possible to send a mail to any tom, dick and harry from email addresses like bush@whitehouse.com or pamela@anderson.com. But not every server likes that. SPAM protection is in and hence servers try to check the validity of the entered FROM address. If your FROM address is in an incorrect format or is some non-existant address, chances are that your mail() function would not work.</p>
<p><strong># Agent 3:</strong></p>
<p>So, The TO: address and the FROM: address are correct. Mail() still does not work. If you have access to the function call in the php script that says</p>
<blockquote><p>mail($to,$subject,$message,$from);
</p></blockquote>
<p>Try assigning the returned value to a variable and display it. Also, you could turn on error_reporting and see whether the mail() function throws up any error.</p>
<p>Chances are that, PHP.INI file wasn&#8217;t configured to contain the PATH to the sendmail binary or SMTP address. If you are not sure about this, do a phpinfo on the server to find out the configuration details. If the configuration is correct, check whether your sendmail allows relaying.</p>
<p><strong># Agent 4:</strong></p>
<p>The PHP software is configured to contact the SMTP server or the SENDMAIL binary. Sendmail allows relaying. But still, mails don&#8217;t go out. What do we do now? </p>
<p>Check the sendmail error log. See whether you get a message like &#8220;Deferred&#8221;. This could probably mean that your sendmail is listening only to its localip. If this is the case, then you would be able to send mails only to and from localhost.</p>
<p>Open the /etc/mail/sendmail.mc file and search for the text &#8216;DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA&#8217;)&#8217;.</p>
<p>If this text is not commented out (comment character is dnl here), add a &#8216;dnl&#8217; to the beginning. Then, execute the following commands.</p>
<blockquote><p># cd /etc/mail<br />
# m4 sendmail.mc &gt; sendmail.cf<br />
# /sbin/service sendmail restart</p></blockquote>
<p>Make sure you are logged in as root user to do the above. Once this is done, your mails should work!! If it still doesn&#8217;t, &#8230;&#8230;.. well, I haven&#8217;t found a similar case. Lemme know if it doesn&#8217;t.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webomania.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webomania.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webomania.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webomania.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webomania.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webomania.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webomania.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webomania.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webomania.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webomania.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webomania.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webomania.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webomania.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webomania.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webomania.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webomania.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webomania.wordpress.com&amp;blog=411318&amp;post=20&amp;subd=webomania&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webomania.wordpress.com/2007/03/14/how-to-debug-if-outgoing-emails-are-not-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/1d46d1d1d9b2d55c8064357acb568978?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rexselin</media:title>
		</media:content>
	</item>
	</channel>
</rss>
