After i changed hosting company, the sendmail in script does not work.
It send email to admin but not to registered user. It use to work in previous hosting company.
Here is the setting i have now.
*.kaufff.com. MX 10 kaufff.com
*.kaufff.com. A 220.127.116.11
kaufff.com. MX 10 mail.kaufff.com
kaufff.com. MX 10 kaufff.com
kaufff.com. A 18.104.22.168
mail.kauff.com. A 22.214.171.124
pop3.kaufff.com. CNAME kaufff.com
smtp.kaufff.com. CNAME kaufff.com
in nameserver is not allow to enter 0 for MX. So i gave value 10.