Sending mail through scripts will require SMTP authentication. In order to be able to send mails through script in WordPress site, you will need to install a plugin called WP Mail SMTP.
The configuration of the plugins shall be as follows.
From Email: [YOUR FULL EMAIL ADDRESS]
From Name: [YOUR NAME]
Mailer: Send all WordPress emails via SMTP
SMTP Host: mail.yourdomain.com
SMTP Port: 2525
Encyrption: No encryption
Authentication: Yes use SMTP authentication
Username: [YOUR FULL EMAIL ADDRESS]
Password: [YOUR EMAIL PASSWORD]
* Replace "yourdomain.com" with your actual domain name.
Note: From Email should be the same as in the contact us form.
- 4 Benutzer fanden dies hilfreich