The code below is in a button but though there is no error message of any
kind I am not getting the email which I am sending to myself. Any help would
be appreciated.
System.Web.Mail .SmtpMail.SmtpS erver = "127.0.0.1"
System.Web.Mail .SmtpMail.Send( TextBox1.Text, TextBox2.Text, TextBox3.Text,
TextBox4.Text) 2 2263
You need to be sure that SMTP is running and setup properly on your
computer(server ) since you are sending to localhost:
Are you running an SMTP server locally (on localhost)?
If you are, check the mailroot directorys, specifically, the badmail folder,
I bet your email is in there.
From the server, you can telnet to port 25, and issue SMTP commands
manually, something like:
Telnet localhost 25
HELO myserver.com
MAIL FROM:an****@dom ain.com (put brackets around the email addresses, OE is
taken them out)
RCPT TO:my****@domai n.com (put brackets around the email addresses, OE is
taken them out)
DATA
This is a test
..
If you do not get this email assuming you put your email address in the RCPT
TO, then there is a problem with your SMTP server.
Steve
"barry" <fl******@ix.ne tcom.com> wrote in message
news:#n******** ******@TK2MSFTN GP14.phx.gbl... The code below is in a button but though there is no error message of any kind I am not getting the email which I am sending to myself. Any help
would be appreciated.
System.Web.Mail .SmtpMail.SmtpS erver = "127.0.0.1"
System.Web.Mail .SmtpMail.Send( TextBox1.Text, TextBox2.Text, TextBox3.Text, TextBox4.Text)
Thanks for the response.
Yes the email is going to the badmail folder and when I look at the .BAD
suffix it shows my email but I do not understand why it is being rejected.
The .BRD suffix shows "The specific error code was 0xC00402C7."
If there is anything else I can send to help solve this let me know.
thanks
"Steve Lutz" <sl***@nospam.c omcast.net> wrote in message
news:ON******** ********@TK2MSF TNGP12.phx.gbl. .. You need to be sure that SMTP is running and setup properly on your computer(server ) since you are sending to localhost:
Are you running an SMTP server locally (on localhost)? If you are, check the mailroot directorys, specifically, the badmail
folder, I bet your email is in there.
From the server, you can telnet to port 25, and issue SMTP commands manually, something like: Telnet localhost 25 HELO myserver.com MAIL FROM:an****@dom ain.com (put brackets around the email addresses, OE
is taken them out) RCPT TO:my****@domai n.com (put brackets around the email addresses, OE is taken them out) DATA This is a test .
If you do not get this email assuming you put your email address in the
RCPT TO, then there is a problem with your SMTP server.
Steve
"barry" <fl******@ix.ne tcom.com> wrote in message news:#n******** ******@TK2MSFTN GP14.phx.gbl... The code below is in a button but though there is no error message of
any kind I am not getting the email which I am sending to myself. Any help would be appreciated.
System.Web.Mail .SmtpMail.SmtpS erver = "127.0.0.1"
System.Web.Mail .SmtpMail.Send( TextBox1.Text, TextBox2.Text,
TextBox3.Text, TextBox4.Text)
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Paul Lamonby |
last post by:
Hi,
I am sending a file from the server as an email attachment. The file
is being attached no problem and sending the email, but I get an error
when I try to open it saying it is corrupt. Obviuosly, the file is
fine on the server, so the attachment code I am using must be
corrupting it, but I dont know what it is:
// send email with attachment
function emailAttachment($to, $subject, $message, $name, $email,
|
by: praba kar |
last post by:
Dear All,
I have doubt regarding mail sending smtplib
module. The below code is I used to send a mail.
##########################################
import email.Message
import email.Utils
import mimetypes
import os,string
|
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 check your mail from this IP or SMTP Auth before sending
to BSmith@Juno.com
Here's the FULL...
|
by: Ant |
last post by:
Hi, I'm using the MailMessage & smtpMail classes in System.Web.Mail to send
mail, however it's not sending any emails.
I'm using it on a Windows 2003 server.
The simplest way to use this is
smtpMail.Send("from@here.com", to@there.com, "Message subject", "Message
Body")
I'm sending it to my own email address on a different server using a dummy
|
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 have written to send a test message:
-----Code Begins: Sensitive Information Replaced by -----...
| |
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 an email To helen@HerMail.com
From ade@MyMail.com Cc Subject A test with Finlistener #1. The body...
|
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: bleachie |
last post by:
Hey,
I just need some help, my form seems to not send me all of the 'guestNames' and 'guestEmails' forms.
i use this function to add more guestnames and guestemail fields based on the number of guests added.
form.php
function createGuestNameAndEmailElements()
{
|
by: Markgoldin |
last post by:
I am sending an XML data from not dontnet process to a .Net via socket
listener.
Here is a data sample:
<VFPData>
<serverdata>
<coderun>updateFloor</coderun>
<area>MD2</area>
<zone>BOXING</zone>
<status>Running</status>
<job>1000139233</job>
|
by: happyse27 |
last post by:
Hi All,
I am trying for weeks how to send email from windows pc, which from my gmail account to my hotmail account. Using net::smtp module sending email failed,Kindly assist. (for the item d it is working for normal email servers, but NOT with gmail server, I am very puzzled still!!)
Codes(item c below) It keeps complaining and logs and codes are below.
a) apache access logs
---------------------------------
127.0.0.1 - - "GET...
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |