I have encountered a couple problems when sending out email.
First I had a server that would not send out any email from php unless there was an actual email account made that I was using to send mail from.
Second, with osTicket, I had to edit the mail function and and remove all headers and in place use "From: support@mydomain.com"
If you need further help then pm me.