I am using Pear's Mail class. I tried to use sendmail and smtp, but neither of them work. Edit: now, I get a script execution time out error!