Nov 16
Running a test mail server
Just a quick one for today.
Often I find myself needing to test email sending functionality. I often don't have access to a full mail server, so it's handy to be able to run something up locally to test with. If you've got Python installed, then you can do this really easily. Assuming Python 2.6 on Linux:
python /usr/lib/python2.6/smtpd.py -n -c DebuggingServer localhost:8025
That will start a debugging mail server on port 8025 on your local machine. Simply configure your web app to use an SMTP server running on your dev machine on port 8025, and when the app sends an email, you should see it scroll by on your terminal.
Comments
1 Stella33Brooks says...
Don't you understand that it is the best time to receive the <a href="http://lowest-rate-loans.com/topics/personal-loans">personal loans</a>, which will help you.
Posted at 1:06 a.m. on March 8, 2010
2 thesis writing says...
Well composed the dissertation close to this good post finished by <a href="http://www.primedissertations.com">buy thesis</a> service or <a href="http://www.primedissertations.com">custom dissertation</a> service will be a really good step to the academic degree.
Posted at 8:51 a.m. on March 12, 2010