for dreamhost, it looks like you can leave the SMTP Server and Port settings blank.
but make sure that the From Address is a valid email address for your domain and that it is not the same address being used for the to address.
PHP is case sensitive, if the name of the thank you page is:
ThankYou.php
then you must enter the same case in the go to page setting of Universal Email.