0

i am getting an error saying "5.7.1: Unable to relay for [email protected]"

any ideas what this means?

3
  • 1
    Please use "c#" tag. 31000+ for this and zero for csharp. Commented Jul 31, 2009 at 17:47
  • Another small point: you're not sending email in C#. You're sending email in .NET, using a program you wrote in the C# programming language. Presumably the exact same problem would have occurred if you'd written the code in VB.NET. Commented Jul 31, 2009 at 17:49
  • I changed it to "email .net smtp", since it had nothing to do with C# in specific, but plenty to do with both email in general and SMTP in specific. Commented Jul 31, 2009 at 20:09

3 Answers 3

4

It means that the SMTP server you are using doesn't allow relaying - this could be because you're not authenticating, or not sending to an email address that is local. There is an option (in IIS SMTP anyway) to allow relaying without authentication

Sign up to request clarification or add additional context in comments.

Comments

2

The SMTP server has to be configured to relay mail to other domains.

Comments

1

Did you specify a SMTP server? Can we see some of your code?

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.