Input these three lines into your coding to specify the server, port, and from address:
ini_set("SMTP","mail.yourdomain.com");
ini_set("smtp_port","25");
ini_set("sendmail_from","validUser@yourDomain.com");
Article ID: 423, Created: November 2, 2007 at 5:00 PM, Modified: April 13, 2009 at 9:46 PM