- Upgrading to Sencha Touch 2 PR2 | Learn | Sencha – This has been a brief introduction to some of the updates you should be aware of when using Sencha Touch 2 PR2, and hopefully you enjoy working with it and benefiting from the major enhancements these small changes on your part can bring.
- VMware’s Cloud Foundry Ranked Top Developer Platform – New VMware kid on the PaaS block takes "best overall" honors, while Google App Engine is best public and IBM SmartCloud best private cloud platform in Evans Data survey.
- Following Digital Breadcrumbs To ‘Big Data’ Gold : NPR – What do Facebook, Groupon and biotech firm Human Genome Sciences have in common? They all rely on massive amounts of data to design their products. Terabytes and even zettabytes of information about consumers or about genetic sequences can be harnessed and crunched.
- The Twelve-Factor App – In the modern era, software is commonly delivered as a service: called web apps, or software-as-a-service. The twelve-factor app is a methodology for building software-as-a-service apps that
- Humane JS – A simple, modern, framework-independent, well-tested, unobtrusive, notification system. – Humane JS – A simple, modern, framework-independent, well-tested, unobtrusive, notification system.
- Learn, build, and deploy Ruby web apps using Rails and Sinatra – We're going to teach you how to build your first Ruby web application in 3 minutes and deploy it live to the internet. Don't worry, you won't have to install or setup anything. We'll take care of all those pesky little details: Ruby, Rails, Git, Gems, configuring SSH keys, and deploying your application to a server
- Don’t Send That Email. Pick up the Phone! – Anthony Tjan – Harvard Business Review – As digital communication accelerates the pace at which people form and broaden relationships, it is also decreasing the rate at which people are willing to resolve issues professionally and directly in-person
- I Write Like – Check which famous writer you write like with this statistical analysis tool, which analyzes your word choice and writing style and compares them with those of the famous writers.
- Inside McKinsey – FT.com – The world’s most prestigious consultancy prides itself on its intellectual prowess and ethical standards. But this year, an insider trading scandal surrounding former McKinsey luminaries has left staff and alumni reeling
- Freakonomics » The Way We Teach Math, Sciences, and Languages Is Wrong – Despite spending 5 percent of the hours that I spent in school, with the self-study method I became far more competent in the language.
- Codes from the Underground – What if SMTP and Sinatra Had a Baby? – smtproutes is what you’d get if Sinatra and SMTP had a baby. It’s not an email server with a capital S. smtproutes is a lightweight framework for rapidly prototyping web-services on top of SMTP.
Tag Archives: smtp
I love The Dumbster :)
Cobbie just turned me onto Dumbster, a really awesome tool for unit-testing applications or classes that send out email.
Dumbster is a very simple fake SMTP server designed specifically for unit and system testing applications that send email messages. It responds to all standard SMTP commands but does not actually deliver the email messages to the user. The messages are stored within Dumbster for later extraction and verification, further enhancing your unit tests, as you are able to validate sender, recipient, subject, and message content.
The Dumbster is written in Java and is open source and a must have in your testing toolbox. Thanks Cobbie and thanks Jason Kitchen for creating The Dumbster.
[source:java]public void testTextEmail() {
String smtpHost = “localhost”;
String to = “you@yourdomain.com”;
String from = “me@mydomain.com”;
String subject = “Testing EMailUtil”;
String message = “Writing Unit tests is fun – don�t you agree ?”;
String replyTo = null;
boolean debug = true;
try {
SimpleSmtpServer server = SimpleSmtpServer.start();
EmailUtil.sendTextMail(smtpHost, to, from, subject, message, replyTo, debug);
server.stop();
assertTrue(server.getReceivedEmailSize() == 1);
Iterator emailIter = server.getReceivedEmail();
SmtpMessage email = (SmtpMessage) emailIter.next();
assertTrue(email.getHeaderValue(“Subject”).equals(subject));
assertTrue(email.getBody().equals(message));
} catch (EmailUtilException e) {
fail(“Shouldn’t get an exception”);
}
}
[/source]