473,503 Members | 2,066 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem in sending mail through c# coding

28 New Member
hi

i want to send mail by using my webpage.So that i use smtpclient.send(msg).
but it produce an error as follows.

Mailbox name not allowed. The server response was: sorry, that domain isn't allowed to be relayed thru this MTA (#5.7.1)

i don't know why it happens so.
Aug 12 '08 #1
1 2601
joedeene
583 Contributor
*this is quoted off of another site, and is not my work or saying:

"Note: If, trying to send an email, you receive the following error:
sorry, that domain isn't allowed to be relayed thru this MTA (#5.7.1),
it means that you cannot send an email before receiving (you need to start the POP3 service before SMTP).
I switched the "POP before SMTP" option in my email client on, and all started to work properly. If you find no such option in your email program (for example, Outlook Express), you just need to always press the "Receive" button before the "Send" button."

if you'd like to know the site pm me.
i just typed your error code and error in google and it popped up, but basically you need to start the pop3 service before you send a message through smtp. but all i did was type your error message "sorry, that domain isn't allowed to be relayed thru this MTA (#5.7.1)" in google and there are several links that may help...


edit - sorry, that was for a website hosting, but im sure it follows the same concept, i'll keep looking...
Aug 12 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

9
2277
by: Jerry | last post by:
Hi People ! I have an Urgent Problem and greatly appreciate your help: My script sends multipart emails using the MAIL_MIME package from pear.php.net Works great so far but..... ...
38
3478
by: jrlen balane | last post by:
basically what the code does is transmit data to a hardware and then receive data that the hardware will transmit. import serial import string import time from struct import * ser =...
6
2029
by: Mike the Canadian | last post by:
I am having a very strange problem sending email with php. I have two domains. I can send an email to one domain using php but not the other. If I put both email addresses in the mail command only...
6
2715
by: Anuradha | last post by:
Dear All How can i send mails using vb.net Thanx all
11
2212
by: zaebos | last post by:
hi, i have this code which is part of a main program, to email from within the program a log file: int MailIt (char *mailserver, char *emailto, char *emailfrom, char *emailsubject, char...
2
2460
by: Adam Right | last post by:
Hi, I am using .net framework functions to send a mail over exchange server but i want to use enter character in the body. I cannot insert enter character in the body. .NET constructs the...
2
4531
by: prasenjit2007 | last post by:
Hello, can u help me sending Email with attachments using the Class phpMailer. On the website I have a link to an html form in which I input the parameters with the names 1)from(textbox name)...
2
1578
by: =?Utf-8?B?YmFyYnlxMTA=?= | last post by:
After sending mail, it leaves the outbox as normal and clears and hits the sent folder, but then I get a popup box that states EMAIL PROBLEM One or more e-mail messages cannot be sent. ...
9
1711
by: sweatha | last post by:
Hi I have the normal server and not the SMTP service installed. I need to send a mail once if I click a button. Can anybody help me regarding that
0
1546
Dormilich
by: Dormilich | last post by:
this is a follow-up thread to this one. http://bytes.com/topic/html-css/answers/863662-form-not-submitted-sometimes I figured out that the mail sending class triggers the described error....
0
7205
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
7093
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
7348
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...
1
7006
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...
0
7467
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...
0
5592
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,...
0
4685
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...
0
1519
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.