I used PHp's mail function. But it did not work online. what should be the error ?
what the script name? do u have any URL?
Make sure that sendmail is configured on the hosts box.