when i set my smpt as mail.mydomain.com the test does not

when i set my smpt as mail.mydomain.com the test does not work if i set as http://www.mydomain the test works.
then when i do a test susbscribe thru a different browswer is says confermation mail sent but when i check e mail nothing is there.