Re: sending email
From: Steve Lutz (slutz_at_nospam.comcast.net)
Date: 01/06/05
- Next message: Steve Lutz: "Re: ISS TCP?"
- Previous message: jtvc_at_sapo.pt: "Text field is empty"
- In reply to: barry: "sending email"
- Next in thread: barry: "Re: sending email"
- Reply: barry: "Re: sending email"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 6 Jan 2005 07:33:06 -0500
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:anyone@domain.com (put brackets around the email addresses, OE is
taken them out)
RCPT TO:myself@domain.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" <flagisup@ix.netcom.com> wrote in message
news:#nLphW68EHA.2700@TK2MSFTNGP14.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.SmtpServer = "127.0.0.1"
>
> System.Web.Mail.SmtpMail.Send(TextBox1.Text, TextBox2.Text, TextBox3.Text,
> TextBox4.Text)
>
>
- Next message: Steve Lutz: "Re: ISS TCP?"
- Previous message: jtvc_at_sapo.pt: "Text field is empty"
- In reply to: barry: "sending email"
- Next in thread: barry: "Re: sending email"
- Reply: barry: "Re: sending email"
- Messages sorted by: [ date ] [ thread ]