Hi,
I'm trying to send mail from my ASP.NET application using the new
System.Net.Mail classes.
The code is fairly basic
string SMTPServer = "smtp.atlanticb b.net";
SmtpClient client = new SmtpClient(SMTP Server);
client.Delivery Method = SmtpDeliveryMet hod.Network;
client.Send("se ****@yahoo.com" , "re*******@yaho o.com","test", "test");
I get no errors, but I never recieve the message.
My environment is a development machine (XP pro)
the smtp server I'm using comes from my ISP.
I have norton antivirus, and it does indicate that the message was sent, but
I don't receive anything.
Any thoughts?
Thanks 3 3204
Try adding some basic authenitication . I have this issue with road runner
email. http://blogs.wwwcoder.com/pradeepd/a...01/28/236.aspx
int cdoBasic = 1;
string username = "my****@mycompa ny.com";
mail.Fields.Add ("< http://schemas.microsoft.com/cdo/con...on/smtpauthent
icate>, cdoBasic);
mail.Fields.Add ("< http://schemas.microsoft.com/cdo/con...on/sendusernam
e>, username);
This is not complete code, just the extra parts you may need.
"Opa" <Op*@discussion s.microsoft.com > wrote in message
news:<04******* *************** ************@mi crosoft.com>... Hi,
I'm trying to send mail from my ASP.NET application using the new
System.Net.Mail classes.
The code is fairly basic
string SMTPServer = "smtp.atlanticb b.net";
SmtpClient client = new SmtpClient(SMTP Server);
client.Delivery Method = SmtpDeliveryMet hod.Network;
client.Send("se ****@yahoo.com" , "re*******@yaho o.com","test", "test");
I get no errors, but I never recieve the message.
My environment is a development machine (XP pro)
the smtp server I'm using comes from my ISP.
I have norton antivirus, and it does indicate that the message was sent,
but
I don't receive anything.
Any thoughts?
Thanks
"Opa" <Op*@discussion s.microsoft.com > wrote in message
news:04******** *************** ***********@mic rosoft.com... Hi,
I'm trying to send mail from my ASP.NET application using the new System.Net.Mail classes. The code is fairly basic
string SMTPServer = "smtp.atlanticb b.net"; SmtpClient client = new SmtpClient(SMTP Server); client.Delivery Method = SmtpDeliveryMet hod.Network; client.Send("se ****@yahoo.com" , "re*******@yaho o.com","test", "test");
I get no errors, but I never recieve the message.
My environment is a development machine (XP pro) the smtp server I'm using comes from my ISP.
I have norton antivirus, and it does indicate that the message was sent,
but I don't receive anything.
Any thoughts?
Thanks
Thanks for the reply. I tried adding the DefaultNetworkC redentials, but
I still get no emails delivered to me. Any other ideas?
"sloan" wrote: Try adding some basic authenitication . I have this issue with road runner email. http://blogs.wwwcoder.com/pradeepd/a...01/28/236.aspx
int cdoBasic = 1; string username = "my****@mycompa ny.com";
mail.Fields.Add ("<http://schemas.microsoft.com/cdo/con...on/smtpauthent icate>, cdoBasic); mail.Fields.Add ("<http://schemas.microsoft.com/cdo/con...on/sendusernam e>, username); This is not complete code, just the extra parts you may need. "Opa" <Op*@discussion s.microsoft.com > wrote in message news:<04******* *************** ************@mi crosoft.com>...
Hi,
I'm trying to send mail from my ASP.NET application using the new
System.Net.Mail classes.
The code is fairly basic
string SMTPServer = "smtp.atlanticb b.net";
SmtpClient client = new SmtpClient(SMTP Server);
client.Delivery Method = SmtpDeliveryMet hod.Network;
client.Send("se ****@yahoo.com" , "re*******@yaho o.com","test", "test");
I get no errors, but I never recieve the message.
My environment is a development machine (XP pro)
the smtp server I'm using comes from my ISP.
I have norton antivirus, and it does indicate that the message was sent, but
I don't receive anything.
Any thoughts?
Thanks
"Opa" <Op*@discussion s.microsoft.com > wrote in message news:04******** *************** ***********@mic rosoft.com... Hi,
I'm trying to send mail from my ASP.NET application using the new System.Net.Mail classes. The code is fairly basic
string SMTPServer = "smtp.atlanticb b.net"; SmtpClient client = new SmtpClient(SMTP Server); client.Delivery Method = SmtpDeliveryMet hod.Network; client.Send("se ****@yahoo.com" , "re*******@yaho o.com","test", "test");
I get no errors, but I never recieve the message.
My environment is a development machine (XP pro) the smtp server I'm using comes from my ISP.
I have norton antivirus, and it does indicate that the message was sent, but I don't receive anything.
Any thoughts?
Thanks
Disabling Norton Antivirus should resolve this. If it , I don't exactly
know the reason. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: VB Programmer |
last post by:
I have an ASPX page where I send out emails through my mail server
mail.MyDomain.com. When I send emails to MyName@MyDomain.com it sends
PERFECTLY. When I try sending an email to any other address
(non-MyDomain.com address) I get the following error:
The server rejected one or more recipient addresses. The server response
was: 550 You must...
|
by: VB Programmer |
last post by:
I'm encountering an error whenever I try to email people not in my domain.
I get this error:
The server rejected one or more recipient addresses. The server response
was: 550 You must check your mail from this IP or SMTP Auth before sending
to jimmy@juno.com
Here's the full error:
|
by: B-Dog |
last post by:
I've built a small app that sends mail through our ISP's SMTP server but
when I try to send through my local exchange server I get CDO error. Does
webmail use SMTP or does it strictly rely on CDOmail. I don't want to use
the Outlook reference because outlook prompts each time program access it
and I have found a way to disable that. Can I...
|
by: Eric Sheu |
last post by:
Greetings,
I have been searching the web like mad for a solution to my SMTP problem. I
am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a
web site I have created to the members of my organization. I think my problem
is incorrectly setting the settings on my server or an authentication
problem. Here is the code I...
|
by: HK |
last post by:
In VB.NET, I'm getting the exception "failure sending mail". I'm running VS
2005 on XP Home. This is a new install on a new PC. I've never had email
problems with VS 2003, and there I could modify the SMTP settings in IIS.
But with this install, there is no IIS (at least I can't find an IIS with
MMC browsing the snap-ins). I suspect that...
| |
by: rekaeps |
last post by:
We are developing an ASP.NET 2.0 (C#) application, and I'm having troubles
sending e-mail from the server when accessing the web site from a separate
client computer. Also, in the same scenario, I'm having trouble writing to
the server's event log.
Here's some details:
Server and workstation both in the same workgroup
Logged into server...
|
by: dskinibbyb |
last post by:
Hi to every one,
I am having a problem while sending mail from my application. iI want to send mail from my Vb.Net applications. and it is working fine in my system, but the problem is that when i try to run tha same application from another system where there is no iis installed, its giving me error mail not sent, and when i change the...
|
by: =?Utf-8?B?QWRl?= |
last post by:
HI All,
I am encountering the following error when I try to send an email through a
SMTP server. I believe the problem lies with the authentication part when the
network crednetials are used, error is thrown at the .send point.
Error is:
The following error occured Sending an email: System.ApplicationException:
An error occurred sending...
|
by: JoeP |
last post by:
Hi All,
How can I find the reason for such an error: Failure sending mail.
Some Code...
oMailMessage.IsBodyHtml = False
oMailMessage.Body = cEmailBody
Dim oSMTP As New SmtpClient
oSMTP.Send(oMailMessage) (in this line I am getting the above err)
|
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
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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. ...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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...
|
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...
|
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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
| |