473,396 Members | 1,871 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,396 software developers and data experts.

c# mail question

a
i have a problem with sending mail.
it works ok only when sender and recipient are in same domain.

if they are not it returns exception:
Mailbox name not allowed. The server response was: sorry, that domain
isn't in my list of allowed rcpthosts (#5.7.1)
Mar 10 '07 #1
3 2400
"a" <a@a.awrote in message news:es**********@news1.carnet.hr...
Mailbox name not allowed. The server response was: sorry, that domain
isn't in my list of allowed rcpthosts (#5.7.1)
http://www.google.co.uk/search?hl=en...cpthosts&meta=
Mar 10 '07 #2
a
i didn't find anything useful there
Mar 10 '07 #3
If you're using a SMTP server that's under your control, go into IIS and get
to the properties dialog. On the Access tab, click the Relay button and add
your sending IP address to the list of computers that are allowed to relay
through the server. If the server's on the same machine you're sending from,
add 127.0.0.1 to the list.

HTH,
Tom Dacon
Dacon Software Consulting

"a" <a@a.awrote in message news:es**********@news1.carnet.hr...
>i have a problem with sending mail.
it works ok only when sender and recipient are in same domain.

if they are not it returns exception:
Mailbox name not allowed. The server response was: sorry, that domain
isn't in my list of allowed rcpthosts (#5.7.1)

Mar 10 '07 #4

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

Similar topics

5
by: Rick | last post by:
Is there a way to use these two types of coding in the Mail function of PHP? Thanks for any help you can give it is most appreciated!! money_format('%i', $total) and print " <tr...
13
by: Ammar | last post by:
OK guys, Thanks to your help, I could finally send ASP mails with attachements... A very strange question: When I looked through all the sites you gave me and through Google, I got the impression...
2
by: Fabricio Sperandio | last post by:
Hi everyone, I am using the Mail Class to send an E-mail. It works very well but I would like show my name instead of the E-mail on the mail client, when the user receives the E-mail. Now I...
3
by: RN | last post by:
I am tired of sending mail from the built-in SMTP service for so many reasons (errors are nondescriptive in the event log, it doesn't let me control which IP address it sends from, and it...
2
by: Bob | last post by:
In 2003 you could use system.web.mail to send e-mails as long as IIS server was installed on the computer, you would be able to send e-mail fairly easily. Since this has been made obsolete and MS...
9
by: shror | last post by:
hi every body, i have a problem which is when i was checking my mail() form it work fine but the problem is that the form configuration is not set correctly, in details: the from var is not...
3
by: Dudely | last post by:
I'm trying to debug someone else's third party code that I'm trying to install on my site. It works for him on his site, but not for me on "my" site. I've traced the problem to the mail() call....
1
by: =?Utf-8?B?VGltb3RoeQ==?= | last post by:
Hi all, who can help me , recently i found a problem from the window mail whic are i am using my own personal mail account and try to using window mail to log in. anywhre i can receive some of...
14
by: Jeff | last post by:
I'm writing my php "form mail" script. Does mail do any checking for header injection in the "to" and "subject" parameters? CR and/or LF? It seems to me it easily could and should, but does it?...
4
borisding
by: borisding | last post by:
Hi there, Well, I really need help from someone here, and hope that someone will answer my question and solve my problem. I know it's very common question and being asked by many developers: ...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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: 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
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...
0
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,...

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.