There's nothing here that hints as to what the problem is. Some things
that could be going on:
The mail system on the host that runs the PHP program
is borked. Can you send mail from it using a different
program? Even just a bare mail() from PHP would be a
starting sanity check.
The network the host that runs the PHP program is on is
borked. Again can you send mail using a different program?
There is something wrong with the destination; I checked
mydomain.com and it seems to have a valid SMTP listener,
but you probably lied about the email address.
There is something else wrong, such as unprintable
characters in the email address that you didn't cut and
paste.
Maybe it was even a transient error related to some
temporary condition.
Elijah
------
mydomain.com. 86400 IN MX 0
mx.mailix.net.