This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
In the above code I want to know - what are ' mailhost and host ' and what value I should put there in case I want to send the email to Hotmail account? - Somewhere I read hotmail doesn't uses smtp for sending emails. In that case the code I am writing above is wrong. What should I change? - Also If I should use some smtp server to send emails to hotmail account or I can just send emails without it.
I might be asking some silly questions but please answer me.