same setting works on one place not on other
I have restored users_emailPW file that works successfully in the past on other website
when you look up file(user EmailPW_1) you'll see that i have use email address as server name
this is not correct server name but it's work ok, the rest of setting just as it's should be. on this one I have no problem to retrieve password from data base when i test it. and you know what if i change server name to smtp server name like mail.gosave517.com it will stop working.
on the user_EmailPW_2 file which i currently use on current website exactly has the same setting, server name and sent from email address, unfortunately this one is not function, i can not retrieve password, and email never come to inbox.
(1) i have not use correct smtp server name on the file of user_EmailPW_1 but still work fine, why?
(2) i have used exactly the same setting on user_EmailPW_2 file for current website but not working.?
what would be the problem?
the only different is these two web site are host in different web hosting company but i use the same server name.