473,569 Members | 2,557 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.Net.Mail : Unable to relay

Hello,

I´m having a problem with the mail-method.

It throws me an exeption and says:

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

I´ve changed the server properties like it was described in:
http://codebetter.com/blogs/peter.va...05/142331.aspx

But it still does not work and show the same error.
Do you have any idea?
Regards,

Martin
Oct 23 '06 #1
1 5804
Martin Pöpping schrieb:
I´m having a problem with the mail-method.

It throws me an exeption and says:

Mailbox unavailable. The server response was: 5.7.1 Unable to relay
I found out the error. I used the external IP Adress in my script
but the internal in my policy.
Seems that this does not work.

But now I´m having another problem.
It seems that the mail is sent but I do not get any test mail into my
mailbox.
Now I am a bit confused how to go on searching for that error.

Do you have an idea?
Regargs,

Martin
Oct 23 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1436
by: Jinsong Liu | last post by:
I need to using System.Web.Mail to send out notifications from my ASP.NET application. Based on what I know, a relay enabled SMTP server is required. Is there any way I can use a SMTP server which has relay disabled? thanks
3
2418
by: Chris Thunell | last post by:
I am using the following code to send email out in a vb.net web program through an exchange 2003 server. My web server is on a separate server. When i try to send email inside the office, it works fine... but when i try to send email outside the company i get "unable to relay" error message. Please look at the code, i don't see a way to send...
3
4334
by: pmud | last post by:
Hi, I have ab ASP.Net Application in which I need to send e-mail on button click. Even though my C# code for that is correct.I am getting the following error:: I think the following error can be bcoz of the SMTP virtual server. I cant view the SMTP virtual server in IIS. How to correct this error??? Send failure:...
0
944
by: James | last post by:
We're attempting to migrate a distributed app from our current Windows 2000 setup to new hardware running Windows Server 2003 SP1. Everything is working great with the exception of any piece of logic attempting to use System.Web.Mail. The error I'm getting is "The transport failed to connect to the server". After many hours of scouring the...
3
1027
by: VJ | last post by:
Can I use System.Web.Mail functions and send mail through any SMTP server that has authentication or does the Server has to be Microsoft Exchange based server ?? Can a email server be prevented from being a relay server?? (Not sure if this is answered in here... but any help is appreciated) Vijay
7
4278
by: Brian Henry | last post by:
To use the SMTP mail service from System.Web.Mail do you have to have IIS installed on the client machien? I wanted my app to email any errors that may of occured to me on the clients machines in the application but now it is popping up with CDO errors (even on the machine it was working on originally)
1
2044
by: refv8 | last post by:
hi, i´m doing a aplication in asp.net 2.0 and i want send an automatic mail when the users do an operations. i use the library System.Net.Mail.MailMessage. and I specify all the properties (to,from,body,host and port). i want send the mail by another port not from the port 25. Can i do That?. I dont specify credencials. i configure the server...
11
3449
by: justsome_newbie | last post by:
Hello experts! I'm trying to send mail from my C# Asp.Net webpage. I used the code samples at www.systemnetmail.com but it still won't send. I think the problem is on the iis or exchange server side but I can't find any tutorials on how to configure the server(s). Any good links for this? Any advice is welcome!
8
3065
by: | last post by:
I received an unhandles exception in my email form as follows Dim mo As System.Web.Mail.MailMessage = New System.Web.Mail.MailMessage mo.Body = "test" mo.To = femi@yahoo.com Dim a As System.Web.Mail.SmtpMail a.Send(mo) Line 8: mo.To = "femi@yahoo.co.uk" Line 9: Dim a As System.Web.Mail.SmtpMail
0
7614
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8125
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5513
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1221
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.