to use external smtp server we need to change some ini setting .
this setting can be chage using following code
ini_set(sendmail_from,”info@domain.com”);
ini_set(SMTP,”New smto host name”);
ini_set(smtp_port,”25″);
using rhis code you can send mail fro the given smtp mail server
Filed under: Php | Tagged: external smtp server, mail, smtp
before using mail function