Would Dreamhost allow email sending with PHP without having email binded to domain?

Greetings,

Question is same as in title. I have setup PHP script which sends mail, but it doesn’t work for some reason. I am guessing that problem is that I don’t have email hosted at Dreamhost?

The recommended way to send email is via SMTP. DH has an article on the subject:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.