Mail2SMTP 1.0 ============= The purpose of this script is to ease migration of existing web sites using the mail() functions to stop using the local MTA and use SMTP instead. All you need to do is replace each occurence of mail() with send_mail(), and - of couse - include this file. Please note that this function does not honor fancy options you may have used as the fifth parameter to mail(). They are not a good idea anyways, as it makes your code MTA-dependant (more or less). Requires Mail and Net_SMTP pear packages. Author: Doychin Dokov