dear all,
please help me, i found the problem with my osticket, i try send message to external email for example@yahoo.com . and the problem if i send the message not send to the xxx@yahoo.com..
so i try sample coding,,and i get the error
Warning: mail() : SMTP server response: 550 5.7.1 Unable to relay for xxxx@gmail.com in
<?php
ini_set('smtp', '192.168.1.11'); // SMTP of your provider (same as in Outlook)
ini_set('sendmail_from', 'rival@mobile-elab.com'); // Your emailaddress
$strHeaders = "From: Rival \nReply-To: Rival \nSender: Rival ";
if(!mail("rivta0606@gmail.com", "Mail test on localhost", "Some text", $strHeaders))
echo "Not sent";
else
echo "Mail sent";
?>
please help me