Docs Error Library Authentication Errors Error 513: Relaying Denied

Error 513: Relaying Denied

What Is Causing This Error?

Error 513: Relaying denied occurs when an email server rejects to relay messages due to a lack of proper authentication from the sender. This is a protective measure to prevent unauthorized use of the mail server for spamming.

This error indicates that the sender has not been recognized as an authorized user by the server, often because no username and password were specified or the authentication process failed.

Resolving the Error – Solution

To resolve the 513 error:

  • Authenticate Properly: Ensure you’re authenticated with the SMTP server by providing the correct username and password.
  • Check Sender Information: Some servers require that the sender’s email address in the ‘From’ header matches the SMTP username or is authorized to send emails through the server.
  • SMTP Server Configuration: If you’re using a a WordPress site to send emails, configuring an SMTP plugin like Easy WP SMTP can help. It allows you to authenticate and send emails through your preferred SMTP server, bypassing common relaying issues.

That’s it! Now you know how to fix Error 512.

If you’d like to learn how to troubleshoot other common errors, check out the following tutorials: