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.