How to configure PHP mail()/SMTP authentication for different CMS

For CMS like WordPress, Joomla, or Magento, using SMTP is the best practice:

  • Settings: Use mail.yourdomain.com as the outgoing server.
  • Port: Use 465 (SSL) or 587 (TLS).
  • Authentication: Enable authentication and use your full email and password.
  • Plugins: For WordPress, we recommend plugins like "WP Mail SMTP" to easily configure these settings without coding.
Was this answer helpful?

Related Articles

How to Create An Email Account in cPanel

Creating a professional email with your domain is easy using cPanel : Log in to your Hostaday...

How to access cPanel Webmail

You can check your emails from any browser using Webmail : Method 1: Go to...

How to change password for your cPanel email account

If you need to update your password for security or because it was forgotten: Log in to cPanel...

How to configure a Contact Form with us

To ensure your website's contact form delivers messages reliably: Use SMTP: We recommend using...