Solved

Email Error: Mailbox unavailable. The server response was: 5.7.1 Unable to relay

Posted on 2008-09-29
2
3,277 Views
Last Modified: 2012-05-05
Hello Experts,

I have a form which sends an email.  It was working fine until our corporate office's email server when down.  After they fixed it, the form stopped working.  I'm getting:

Mailbox unavailable. The server response was: 5.7.1 Unable to relay for user@domain.com

It works fine for anyone that's within our domain.  But if fails for anyone outside of our domain.  My theory is that when they rebuilt the mail server they didn't enable relaying.  The problem is, they don't intend to re-enable relaying ... so I'm on my own.

Is there any way to send an email so that it won't matter if relaying is enabled?  What other options do I have?

Thanks!
GRCHELPDESK
0
Comment
Question by:GRCHELPDESK
2 Comments
 
LVL 14

Accepted Solution

by:
CyrexCore2k earned 500 total points
ID: 22597419
You can do the delivery yourself. You just need to code your project to be able to gather the MX dns record for the domain specified by the email address.

http://www.csharphelp.com/archives/archive43.html
0
 
LVL 2

Author Comment

by:GRCHELPDESK
ID: 22711321
Hi CyrexCore2k,
Sorry, I was away from the office.  Can you help me with some sample code on this?  I read the article but it's a bit above my coding level.
Thanks!
GRCHELPDESK
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

30 Experts available now in Live!

Get 1:1 Help Now