Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

7 Experts available now in Live!

Get 1:1 Help Now