My host disabled sending mails from nobody.
Whenever I send emails using mail() they just bounce back saying the reciptionist's domain could not be traced, or just no error at all.
Since I have no access to php.ini, I did this:
ini_set('sendmail_from','email@domain.com');
ini_set('sendmail_path','/usr/sbin/sendmail -t');
And it still doesnt work. While my phpinfo shows that the sendmail_from variable changed locally to email@domain.com, but my sendmail_path have not changed. Its still /usr/sbin/sendmail -t-i instead of /usr/sbin/sendmail -t
So how do I send emails to people using php from my server? Without using a class or editing php.ini?
Thank you very much!