Solved

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

Posted on 2008-09-29
2
3,282 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

695 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