<?php require("simplemail.class"); $email=new email(); $email->body="A sample text\n"; $email->headers="Content-type: text/plain"; $email->subject="A sample Email"; $email->from="sender@sendhost.com"; $email->to="receiver@receipthost.com"; $email->mailserv="mail.hotmail.com"; $email->servport="25"; $email->send(); ?>