Magento – Contact Form Not Sending Emails to example@domain.com

contact-formtransactionaltransactional-mail

I've created a Custom Transactional Email for contacts page.
It sends out an email if I use a example@gmail.com email, which goes to spam folder.

But if I use an example@domain.com email as contact, it does not receive any message. These mailboxes don't have a spam folder.

How can I prevent emails going to spam or how can receive these emails?

Best Answer

Solved it by changing PhPMail to SMTP.

Fix Source