Solved

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

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET(C#) Eliminating weekends from a date range 2 54
hbo knew my windows software 4 76
SSRS Deployment problem 5 97
Data organization issue 7 37
This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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