Solved

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

Posted on 2008-09-29
2
3,278 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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP:Radiobuttonlist/asp:RadioButtonListItem custom styling 1 43
What .NET URL re-routing tool did I use? 2 57
Need a starter for ETL protocol? 4 57
asp.net mvc5 6 17
I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

832 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