By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,231 Members | 1,707 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,231 IT Pros & Developers. It's quick & easy.

Email from ASPX project failing ...

P: n/a
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
Share this Question
Share on Google+
8 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a


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 discussion thread is closed

Replies have been disabled for this discussion.