473,789 Members | 2,703 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.c om 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.c om

Is there any configurations i have left.

Thanx in advance,
PK
Jul 19 '05 #1
2 15956
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.c om 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.c om
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.c om 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.c om

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
1450
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 send it, it answers, "The transport failed to connect to server". I suppose that means the SMTP-server. Since I used that SMTP-server several times when I send e-mail, I can't figure out why I
2
1750
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 Practitioner, A+ Technician
1
2876
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 Simple MAPI. I can't seem to find a way of doing this in .NET as it seems .NET has no MAPI support (amazingly!). How can I reliably send an e-mail from a Windows Forms app from .NET?
0
1222
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 a simular example, but it didn't work for me. But when I try to send it, it answers, "The transport failed to connect
2
2656
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 dotnet code plz.... help me
6
1716
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 subject" .HtmlBody = "This is the Body" .Send End With
8
1788
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 information to a databse but i dont know how to create a script to calculate a score of a quiz i have created. I can submit the information via e-mail using arial buttons to detrmin whether the answer is 'correct' or 'incorrect' but now i am wanting...
0
16478
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 varchar2,subject varchar2, text varchar2) IS mailhost VARCHAR2(64) := '192.168.1.32';
0
1107
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 server. System Architecture
0
10410
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10139
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9984
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9020
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5418
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3701
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.