I'm trying to put a smtp in a source of php. Today SMTP is coming with a different domain name, so i'm trying to change the name of the smtp using(init_set) this below:
today is: hw102.test.com.br (example)
i need to change to: mail.mydomain.com
ini_set ("SMTP", "mail.mydomain.com.br");
but not work.
When it arrives in my email comes with smtp "hw102.test.com.br". I want to come with this smtp "mail.mydomain.com.br".
I need to change something in php.ini too?
Anybody here can help me?