473,386 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Email from ASPX project failing ...

Help...

I am receiving this error "550 5.7.1 Unable to relay for
sy*************@yahoo.com" when I try to send outside email directly from
the website project. Keep in mind this works fine for local addresses
within our domain but it is failing for outside address such as the example
above. I created the above account for testing, I can send and receive
email from my Outlook / Exchange 2000 account to this address however I
cannot automatically send an email to the account from the website project.
If I remove this external address from the webconfig it will shoot an email
to the local accounts inside the domain.

What is missing from the configuration?

Thank you as always!
Nov 18 '05 #1
8 2191
Are you sure that the SMTPServer that you have set in your aspx application
can relay outside, check in the Internet Information Server , properties on
your smtp and go to Access tab and click Relay

Regards
Martin

"Chris Marsh" <cm****@synergy-intl.com> wrote in message
news:ek**************@TK2MSFTNGP09.phx.gbl...
Help...

I am receiving this error "550 5.7.1 Unable to relay for
sy*************@yahoo.com" when I try to send outside email directly from
the website project. Keep in mind this works fine for local addresses
within our domain but it is failing for outside address such as the example above. I created the above account for testing, I can send and receive
email from my Outlook / Exchange 2000 account to this address however I
cannot automatically send an email to the account from the website project. If I remove this external address from the webconfig it will shoot an email to the local accounts inside the domain.

What is missing from the configuration?

Thank you as always!

Nov 18 '05 #2
Martin,

Thank you for the prompt reply. Here is my enviornment configuration:

2003 Server has the IIS for the Outside world with an SMTP Virtual Server
- this relay is checked on the Access tab
2000 Server has the ISA and Exhange 2000 w/IIS but this IIS does not have an
SMTP Virtual Server

Now, the big question. Should there be an SMTP Virtual Server on the
ISA/Exchange Server as well? If so, where or how do I setup that?

I await your next set of instructions...

Chris

"Martin Marinov" <me********@mecrossroad.bg> wrote in message
news:ua**************@TK2MSFTNGP12.phx.gbl...
Are you sure that the SMTPServer that you have set in your aspx application can relay outside, check in the Internet Information Server , properties on your smtp and go to Access tab and click Relay

Regards
Martin

"Chris Marsh" <cm****@synergy-intl.com> wrote in message
news:ek**************@TK2MSFTNGP09.phx.gbl...
Help...

I am receiving this error "550 5.7.1 Unable to relay for
sy*************@yahoo.com" when I try to send outside email directly from the website project. Keep in mind this works fine for local addresses
within our domain but it is failing for outside address such as the

example
above. I created the above account for testing, I can send and receive
email from my Outlook / Exchange 2000 account to this address however I
cannot automatically send an email to the account from the website

project.
If I remove this external address from the webconfig it will shoot an

email
to the local accounts inside the domain.

What is missing from the configuration?

Thank you as always!


Nov 18 '05 #3
Chris,
Your SMTP server probably required authentication.
You can try to pass login/password to smtp server.
Example
SmtpMail.SmtpServer = "YourExchangeServer"

mailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpa
uthenticate", "1") ';

mailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendu
sername", "login") ';
mailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendp
assword", "password") ';
"Chris Marsh" <cm****@synergy-intl.com> wrote in message
news:ek**************@TK2MSFTNGP09.phx.gbl...
Thanks
Gerasha
Help...

I am receiving this error "550 5.7.1 Unable to relay for
sy*************@yahoo.com" when I try to send outside email directly from
the website project. Keep in mind this works fine for local addresses
within our domain but it is failing for outside address such as the example above. I created the above account for testing, I can send and receive
email from my Outlook / Exchange 2000 account to this address however I
cannot automatically send an email to the account from the website project. If I remove this external address from the webconfig it will shoot an email to the local accounts inside the domain.

What is missing from the configuration?

Thank you as always!

Nov 18 '05 #4
You have SMTP Server issues with relaying.l You will need to configure your
SMTP server to allow relaying.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Vlad" <Vl**@discussions.microsoft.com> wrote in message
news:5B**********************************@microsof t.com...
Hi, I have the same problem, but my error message trancated and looks like: "The server rejected one or more recipient addresses. The server
response was: 550 5.7.1 Unable to relay for"
"Chris Marsh" wrote:
Help...

I am receiving this error "550 5.7.1 Unable to relay for
sy*************@yahoo.com" when I try to send outside email directly from the website project. Keep in mind this works fine for local addresses
within our domain but it is failing for outside address such as the example above. I created the above account for testing, I can send and receive
email from my Outlook / Exchange 2000 account to this address however I
cannot automatically send an email to the account from the website project. If I remove this external address from the webconfig it will shoot an email to the local accounts inside the domain.

What is missing from the configuration?

Thank you as always!

Nov 18 '05 #5
Outlook should have nothing to do with it. You're sending your email
programmatically, right?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Vlad" <Vl**@discussions.microsoft.com> wrote in message
news:42**********************************@microsof t.com...
Thanks,

And in addition I have things described in KB290808 "NDR Error 0x00CCC79" When You Send SMTP Mail from Outlook Express".
I have check my SMTP Virtual Server. It is looks correct.
- Anonymous Access on Authentification tab enabled.
- Relay Restrictions set to "All except the list below", List is empty.
- Allow any computers which successfully authenticate to relay, regardless of the list above - cheked.
What else ???

Vlad

"Kevin Spencer" wrote:
You have SMTP Server issues with relaying.l You will need to configure your SMTP server to allow relaying.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Vlad" <Vl**@discussions.microsoft.com> wrote in message
news:5B**********************************@microsof t.com...
Hi, I have the same problem, but my error message trancated and looks

like: "The server rejected one or more recipient addresses. The server
response was: 550 5.7.1 Unable to relay for"

"Chris Marsh" wrote:

> Help...
>
> I am receiving this error "550 5.7.1 Unable to relay for
> sy*************@yahoo.com" when I try to send outside email directly

from
> the website project. Keep in mind this works fine for local addresses > within our domain but it is failing for outside address such as the

example
> above. I created the above account for testing, I can send and receive > email from my Outlook / Exchange 2000 account to this address however I > cannot automatically send an email to the account from the website

project.
> If I remove this external address from the webconfig it will shoot
an email
> to the local accounts inside the domain.
>
> What is missing from the configuration?
>
> Thank you as always!
>
>
>


Nov 18 '05 #6
Right,

But for testing i have deside to check how "Outlook Express" works with my SMTP. And I have got the same error. BTW, my "Microsoft Outlook" works fine.

"Kevin Spencer" wrote:
Outlook should have nothing to do with it. You're sending your email
programmatically, right?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Vlad" <Vl**@discussions.microsoft.com> wrote in message
news:42**********************************@microsof t.com...
Thanks,

And in addition I have things described in KB290808 "NDR Error 0x00CCC79"

When You Send SMTP Mail from Outlook Express".

I have check my SMTP Virtual Server. It is looks correct.
- Anonymous Access on Authentification tab enabled.
- Relay Restrictions set to "All except the list below", List is empty.
- Allow any computers which successfully authenticate to relay, regardless

of the list above - cheked.

What else ???

Vlad

"Kevin Spencer" wrote:
You have SMTP Server issues with relaying.l You will need to configure your SMTP server to allow relaying.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Vlad" <Vl**@discussions.microsoft.com> wrote in message
news:5B**********************************@microsof t.com...
> Hi, I have the same problem, but my error message trancated and looks
like: "The server rejected one or more recipient addresses. The server
response was: 550 5.7.1 Unable to relay for"
>
> "Chris Marsh" wrote:
>
> > Help...
> >
> > I am receiving this error "550 5.7.1 Unable to relay for
> > sy*************@yahoo.com" when I try to send outside email directly
from
> > the website project. Keep in mind this works fine for local addresses > > within our domain but it is failing for outside address such as the
example
> > above. I created the above account for testing, I can send and receive > > email from my Outlook / Exchange 2000 account to this address however I > > cannot automatically send an email to the account from the website
project.
> > If I remove this external address from the webconfig it will shoot an email
> > to the local accounts inside the domain.
> >
> > What is missing from the configuration?
> >
> > Thank you as always!
> >
> >
> >


Nov 18 '05 #7
You lost me there. Again, Outlook has nothing to do with it. It's all about
your SMTP Server.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Vlad" <Vl**@discussions.microsoft.com> wrote in message
news:AD**********************************@microsof t.com...
Right,

But for testing i have deside to check how "Outlook Express" works with my SMTP. And I have got the same error. BTW, my "Microsoft Outlook" works fine.
"Kevin Spencer" wrote:
Outlook should have nothing to do with it. You're sending your email
programmatically, right?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Vlad" <Vl**@discussions.microsoft.com> wrote in message
news:42**********************************@microsof t.com...
Thanks,

And in addition I have things described in KB290808 "NDR Error 0x00CCC79"
When You Send SMTP Mail from Outlook Express".

I have check my SMTP Virtual Server. It is looks correct.
- Anonymous Access on Authentification tab enabled.
- Relay Restrictions set to "All except the list below", List is
empty. - Allow any computers which successfully authenticate to relay, regardless of the list above - cheked.

What else ???

Vlad

"Kevin Spencer" wrote:

> You have SMTP Server issues with relaying.l You will need to
configure your
> SMTP server to allow relaying.
>
> --
> HTH,
> Kevin Spencer
> ..Net Developer
> Microsoft MVP
> Big things are made up
> of lots of little things.
>
> "Vlad" <Vl**@discussions.microsoft.com> wrote in message
> news:5B**********************************@microsof t.com...
> > Hi, I have the same problem, but my error message trancated and
looks > like: "The server rejected one or more recipient addresses. The server > response was: 550 5.7.1 Unable to relay for"
> >
> > "Chris Marsh" wrote:
> >
> > > Help...
> > >
> > > I am receiving this error "550 5.7.1 Unable to relay for
> > > sy*************@yahoo.com" when I try to send outside email directly > from
> > > the website project. Keep in mind this works fine for local

addresses
> > > within our domain but it is failing for outside address such as the > example
> > > above. I created the above account for testing, I can send and

receive
> > > email from my Outlook / Exchange 2000 account to this address

however I
> > > cannot automatically send an email to the account from the website > project.
> > > If I remove this external address from the webconfig it will

shoot an
> email
> > > to the local accounts inside the domain.
> > >
> > > What is missing from the configuration?
> > >
> > > Thank you as always!
> > >
> > >
> > >
>
>
>


Nov 18 '05 #8


Help...I am having the same problem. Any luck on finding a resolution??

Thanks

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #9

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

Similar topics

10
by: TokiDoki | last post by:
Hello there, I have been programming python for a little while, now. But as I am beginning to do more complex stuff, I am running into small organization problems. It is possible that what I...
4
by: BH | last post by:
I'm looking at the source code of the ASP.NET forum sample application. It has the "code-behind" classes compiled into a separate DLL, totally separated from the aspx/ascx files. Adding the class...
9
by: Bob Jones | last post by:
We have developed a commercial ASP.net application (personal nutrition management and tracking); we want to send smtp email from within it. For our development box, we use WinXP Pro, IIS 5.5,...
1
by: bidllc | last post by:
I'm working on a minor bug from an open source bug tracking system (bugtracket.net). It's a great app, but I don't want to bother the creator any more than I have to, so I thought I'd pose the...
1
by: frekster | last post by:
All, Windows xp pro box with vs 2003 and .net 1.1 installed. Downloaded a project from source safe via vpn to my ome pc to work from home. I have three other projects on my pc that works fine...
8
by: Jim in Arizona | last post by:
I was trying to have an email sent when the page loads but having some trouble with it. Our server is an IIS 6.0 with Framework 2.0. It is set to windows authentication (not anonymous). I...
3
by: srinivas | last post by:
Hi All, We are sending an html email from asp page.In the email we appended an image tag and the "src" attribute points an asp page in our server.Here when ever user read the email this image...
4
by: srinivas | last post by:
Hi All, We are sending an html email from asp page.In the email we appended an image tag and the "src" attribute points an asp page in our server.Here when ever user read the email this image...
6
by: Samuel Shulman | last post by:
I need to add some code to the Global.aspx file in the ASP.Net 2.0 project but I don't find and adding a module with such name doesn't give me the events that I need Thank you, Samuel
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...

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.