Here is a quick function code to send email in Magento. I am using the Zend_Mail class.
Hope this helps. Thanks.
Mukesh Chapagain is a graduate of Kathmandu University (Dhulikhel, Nepal) from which he holds a B.E. in Computer Engineering. Mukesh is a passionate web developer who has keen interest in open source technologies, social media, programming & blogging. more...