473,386 Members | 1,764 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.

asp mail Using CDO.Message . not able to relay outside the intranet

Hi,

I am sending mails using CDO.Message . It is sending mails successfully
only if the destination addresses are within the intranet. If you try to
send a mail outside the intranet say so*****@yahoo.com it gives an error.

Error No : -2147220977
Error Desc : The server rejected one or more recipient addresses. The server
response was: 550 5.7.1 Unable to relay for so*****@yahoo.com

Is there any configurations i have left.

Thanx in advance,
PK
Jul 19 '05 #1
2 15918
This error has nothing to do with ASP. What's happening is
your SMTP server is rejecting the mail because it thinks
it has come from a domain other than it's own or from a
connection outside it's domain. You need to make sure the
SMTP server recognizes your web server as being allowed to
send email from your domain.

HTH,
John
-----Original Message-----
Hi,

I am sending mails using CDO.Message . It is sending mails successfullyonly if the destination addresses are within the intranet. If you try tosend a mail outside the intranet say so*****@yahoo.com it gives an error.
Error No : -2147220977
Error Desc : The server rejected one or more recipient addresses. The serverresponse was: 550 5.7.1 Unable to relay for so*****@yahoo.com
Is there any configurations i have left.

Thanx in advance,
PK
.

Jul 19 '05 #2
How do you make sure the SMTP server recognizes the web server as being
allowed to send email from my domain.
The webserver and the SMTP server are in the same domain. Say i even know
the login and password to connect to the SMTP server. Is there any APIs
through which i can make sure that i am sending mails from the same domain
as that of the SMTP server. Also please specify if there are any APIs for
connecting to the SMTP server.

Thanx in advance.
-PK

"John Beschler" <gi***@geewhiz.com> wrote in message
news:00****************************@phx.gbl...
This error has nothing to do with ASP. What's happening is
your SMTP server is rejecting the mail because it thinks
it has come from a domain other than it's own or from a
connection outside it's domain. You need to make sure the
SMTP server recognizes your web server as being allowed to
send email from your domain.

HTH,
John
-----Original Message-----
Hi,

I am sending mails using CDO.Message . It is sending

mails successfully
only if the destination addresses are within the

intranet. If you try to
send a mail outside the intranet say so*****@yahoo.com it

gives an error.

Error No : -2147220977
Error Desc : The server rejected one or more recipient

addresses. The server
response was: 550 5.7.1 Unable to relay for

so*****@yahoo.com

Is there any configurations i have left.

Thanx in advance,
PK
.

Jul 19 '05 #3

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

Similar topics

0
by: Henrik Bergman | last post by:
Hi all As I subscribe MSDN I got an USB-memory with Microsoft eLearing library. I found an exampell how to send SMTP e-mail using CDO.Message object and CDO.Configuration. But when I try to...
2
by: Paul Turley | last post by:
Does anyone have some sample code for sending an HTML formatted message using CDONTS? Thanks RE: Sending HTML formatted mail using CDONTS -- Paul Turley, MCSD, MCAD, MCT, MSF...
1
by: Nick Gilbert | last post by:
Hi, I'm writing a Windows Forms application in .NET and I need to send an e-mail from it. As it's NOT asp.net, I don't have access to an SMTP server so I will have to send the e-mail using...
0
by: Henrik Bergman | last post by:
Hi all As I subscribe MSDN I got an USB-memory with Microsoft eLearing library. I found an exampell how to send SMTP e-mail using CDO.Message object and CDO.Configuration. MSDN has also got...
2
by: Abhi | last post by:
i need to create a user in web mail using dotnet coad by using webmailserver api ex: xxx is my webmail then i want to create to a user in that webmail xxx ex: yyy@xxx.com how i should do in...
6
by: AbraAbraCadabra | last post by:
Here is the code I have been using to send mail... Set objCDO = Server.CreateObject("CDO.Message") With objCDO .To = strTo .From = "markus@domain.com" .Subject = "This is the...
8
by: kate.white | last post by:
Hi I design and update the internal intranet for an insurance company and have taught myself HTML and asp. I know enough to design feedback forms, use java scripts and can just about submit...
0
debasisdas
by: debasisdas | last post by:
The follwing sample code uses predefined package UTL_SMTP to send mail. This package was first available in the version 8.1.7 . create or replace procedure sendmail(sender varchar2,recipient...
0
by: m103069 | last post by:
Dear Friend, I am developing an application where i am using System.Net.Mail Namespace. its working fine if mail sending through hosting server but i am not able to send mail using lotus note...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
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.