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 22.214.171.124
kaufff.com. MX 10 mail.kaufff.com
kaufff.com. MX 10 kaufff.com
kaufff.com. A 126.96.36.199
mail.kauff.com. A 188.8.131.52
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.