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

When I send mail use smtpmail get error: Mailbox unavailable.(asp.net 2.0)

When I send mail use smtpmail get error: Mailbox unavailable.(asp.net
2.0)

Mar 21 '06 #1
4 3403
This generally means that the mail destination is not able to accept email.
Post your code and we can see if there are other issues.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

<mm*******@gmail.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
When I send mail use smtpmail get error: Mailbox unavailable.(asp.net
2.0)

Mar 21 '06 #2
My code :
Dim smtpmail As New Net.Mail.SmtpClient("127.0.0.1")
Dim msg As New Net.Mail.MailMessage()
msg.From = New Net.Mail.MailAddress("a@mmn-xjgzinfo.com")
msg.To.Add("a@mmn-xjgzinfo.com")
msg.Subject = "this is a test"
msg.Body = "this is mail body ,thanks !"
smtpmail.Send(msg)

Mar 22 '06 #3
Are you using a smart host on your local SMTP server? Is so, does it allow
relaying?

I noticed that your domain uses cox.net for mailing. Do you know if you
have the ability to go through port 25 on cox.net?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"mary" <mm*******@gmail.com> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com...
My code :
Dim smtpmail As New Net.Mail.SmtpClient("127.0.0.1")
Dim msg As New Net.Mail.MailMessage()
msg.From = New Net.Mail.MailAddress("a@mmn-xjgzinfo.com")
msg.To.Add("a@mmn-xjgzinfo.com")
msg.Subject = "this is a test"
msg.Body = "this is mail body ,thanks !"
smtpmail.Send(msg)

Mar 24 '06 #4
I can't understand you, what is smart host ,cox.net?

Mar 28 '06 #5

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

Similar topics

1
by: michi | last post by:
Hi there.... Got here a tricky thing with my SMTP. First I show you what works on my machine.. **This Works** SmtpMail.SmtpServer = "mail.gmx.net" <-gmx is my mail provider...
3
by: Nick Brown | last post by:
Has any1 else had this error message. If so how do u solve it? The specified module could not be found. Description: An unhandled exception occurred during the execution of the current web...
4
by: Aren Cambre | last post by:
Why does SmtpMail.Send throw an exception if the MailMessage's BodyFormat = MailFormat.Html? I've searched all over the place and cannot find a solution anywhere. I am running this on Windows XP...
14
by: supz | last post by:
Hi, I use the standard code given below to send an email from an ASP.NET web form. The code executes fine but no Email is sent. All emails get queued in the Inetpub mail queue. I'm using my...
0
by: tom | last post by:
Hi, What's the way to configure a web app and exchange server to allow the web app to send mails via an existing exchange mailbox? The question is : - Do I need to create a windows account...
8
by: shapper | last post by:
Hello, I am trying to send an email using Asp.Net 2.0. I am getting the following error: System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: No such...
4
by: Tony M | last post by:
VS 2005 - XP media - VB .net - winforms - .net 2.0 Just trying to send an email, here is the code and the error message that I get. I can't figure out how to fix it?
1
by: ramamoorthy | last post by:
hello i want mail server in asp.net using c# try { SmtpClient sm = new SmtpClient(); sm.Host = "localhost"; MailMessage m = new...
0
by: sugee | last post by:
Hi, I need to send email in ASP .net(vb .net) using smtp. i have found that i can use smtpmail.send() to send email.....but the problem is the page doent show any error and the mail is not...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.