I want to send an e-mail through a PHP script in Linux. My code is as follows:
$to = $row[\'EmailID\']; $subject = \"XYZ\"; $message = \"yes!!!!\"; $from = \"pal
You can specify your SMTP server in your php.ini file
Check this thread for example: http://board.phpbuilder.com/showthread.php?10307560-CONFIGURING-php-ini-%28Setting-the-SMTP%29!!!
If you want to do it inline, you can try changing these settings with ini_set();