DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Sun, 29 Jul 2007 08:52:08 -0700,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    JT


"Mailbox unavailable. The server response was: <xxx> No such user here" error with VS 2005 System.Net.Mail.SmtpClient   
Hi,

I've seen a couple of postings about this, but no resolution.  I am
using Visual Studio 2005 and its System.Net.Mail.SmtpClient class to
send emails.  I am instantiating it with the host (server) set to
either mail.[mydomainname] or the IP address.  Both appear to act the
same.

If I send an email from Sales@[mydomainname] to an external email
address (my personal email address), I get the following error
message, "Mailbox unavailable. The server response was: <[my personal
email address]> No such user here".

If I send an email from my personal email address to my personal email
address I get the same message.

If I send an email from Sales@[mydomainname] to any other
[mydomainname] email address, the email goes through.

So it appears that I can only send emails to addresses that are in the
[mydomainname] domain.

Here's the kicker.  If I send emails through Outlook using either the
IP address or the mail.[mydomainname] as the outgoing mail server, I
can send to all email addresses just fine.

Is there some IIS or mail server setting that is preventing me from
sending emails through a Visual Studio application to an "external"
email address?

Thanks,

JT
Date:Sun, 29 Jul 2007 08:52:08 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us