473,320 Members | 2,104 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,320 software developers and data experts.

Problem sending emails through AOL connection

Hi,

I'm attempting to send emails for the first time using ASP.NET, so I'm
hoping there's just a beginner's error going on here for me. But my
emails aren't reaching their destination, and I don't know why.

My "development" machine is just my home machine. I'm connected to
the Internet via an AOL dialup connection.

I am running on XP Pro and my IIS server is (apparently) configured
correctly to allow my home machine to send emails:
IP Address: (All Unassigned)
Relay restrictions: All except the list below (list is blank)

(I don't leave that relay restrictions on that setting, since that
apparently exposes my server to spammer hijacking.)

My test webpage reports that the email is sent. My antivirus software
would seem to confirm this, since it scans it as it's being sent.

And yet it never reaches it's destination. I've tried to send it to
an AOL account and a Yahoo account, with no luck.

Does AOL block this sort of thing? Or can anyone think why this is
happening, or what I can investigate to find out more information?

My ASP.NET code is as follows:

<%@ page language="vb" %>

<%@ import namespace="System.Web.Mail" %>

<script runat="server">
sub Page_Load()
Dim objEmail as New MailMessage()
objEmail.To = "(My AOL account)"
objEmail.From = "(My real website account)"
objEmail.Subject = "Test E-mail"
objEmail.Body = "This is a test!"

SmtpMail.SmtpServer = "localhost"

try
SmtpMail.Send(objEmail)
outError.innerHTML = "<u><b>Email sent.</b></u>"
catch objError as Exception
' Display error details
outError.innerHTML = "<u><b>Error while trying to mail
message</b></u><br>"
outError.innerHTML += objError.Message & "<br>"
outError.innerHTML += "<b>Error reported by:</b> " &
objError.Source
end try
end sub
</script>

<html>

<body>

<form id="theForm" runat="server">
<div id="OutError" runat="server" />
</form>

</body>

</html>
Nov 18 '05 #1
3 1956
do you have iis smtp server installed ? if yes have you configured it to
relay the messages to aol's smtp server ? or say yahoo's smtp server ?
you need to configure the relay or set up your own domains smtp before you
can use localhost...

--
Regards,
HD
Once a Geek.... Always a Geek
"Steve Thurston" <ST********@aol.com> wrote in message
news:aa**************************@posting.google.c om...
Hi,

I'm attempting to send emails for the first time using ASP.NET, so I'm
hoping there's just a beginner's error going on here for me. But my
emails aren't reaching their destination, and I don't know why.

My "development" machine is just my home machine. I'm connected to
the Internet via an AOL dialup connection.

I am running on XP Pro and my IIS server is (apparently) configured
correctly to allow my home machine to send emails:
IP Address: (All Unassigned)
Relay restrictions: All except the list below (list is blank)

(I don't leave that relay restrictions on that setting, since that
apparently exposes my server to spammer hijacking.)

My test webpage reports that the email is sent. My antivirus software
would seem to confirm this, since it scans it as it's being sent.

And yet it never reaches it's destination. I've tried to send it to
an AOL account and a Yahoo account, with no luck.

Does AOL block this sort of thing? Or can anyone think why this is
happening, or what I can investigate to find out more information?

My ASP.NET code is as follows:

<%@ page language="vb" %>

<%@ import namespace="System.Web.Mail" %>

<script runat="server">
sub Page_Load()
Dim objEmail as New MailMessage()
objEmail.To = "(My AOL account)"
objEmail.From = "(My real website account)"
objEmail.Subject = "Test E-mail"
objEmail.Body = "This is a test!"

SmtpMail.SmtpServer = "localhost"

try
SmtpMail.Send(objEmail)
outError.innerHTML = "<u><b>Email sent.</b></u>"
catch objError as Exception
' Display error details
outError.innerHTML = "<u><b>Error while trying to mail
message</b></u><br>"
outError.innerHTML += objError.Message & "<br>"
outError.innerHTML += "<b>Error reported by:</b> " &
objError.Source
end try
end sub
</script>

<html>

<body>

<form id="theForm" runat="server">
<div id="OutError" runat="server" />
</form>

</body>

</html>

Nov 18 '05 #2
I've heard that AOL has effectively blocked ports 110 and 25 for third party
mail server use. You might want to ask their support if that is the case.

http://www.corp.aol.com/contact.html

"Steve Thurston" <ST********@aol.com> wrote in message
news:aa**************************@posting.google.c om...
Hi,

I'm attempting to send emails for the first time using ASP.NET, so I'm
hoping there's just a beginner's error going on here for me. But my
emails aren't reaching their destination, and I don't know why.

My "development" machine is just my home machine. I'm connected to
the Internet via an AOL dialup connection.

I am running on XP Pro and my IIS server is (apparently) configured
correctly to allow my home machine to send emails:
IP Address: (All Unassigned)
Relay restrictions: All except the list below (list is blank)

(I don't leave that relay restrictions on that setting, since that
apparently exposes my server to spammer hijacking.)

My test webpage reports that the email is sent. My antivirus software
would seem to confirm this, since it scans it as it's being sent.

And yet it never reaches it's destination. I've tried to send it to
an AOL account and a Yahoo account, with no luck.

Does AOL block this sort of thing? Or can anyone think why this is
happening, or what I can investigate to find out more information?

My ASP.NET code is as follows:

<%@ page language="vb" %>

<%@ import namespace="System.Web.Mail" %>

<script runat="server">
sub Page_Load()
Dim objEmail as New MailMessage()
objEmail.To = "(My AOL account)"
objEmail.From = "(My real website account)"
objEmail.Subject = "Test E-mail"
objEmail.Body = "This is a test!"

SmtpMail.SmtpServer = "localhost"

try
SmtpMail.Send(objEmail)
outError.innerHTML = "<u><b>Email sent.</b></u>"
catch objError as Exception
' Display error details
outError.innerHTML = "<u><b>Error while trying to mail
message</b></u><br>"
outError.innerHTML += objError.Message & "<br>"
outError.innerHTML += "<b>Error reported by:</b> " &
objError.Source
end try
end sub
</script>

<html>

<body>

<form id="theForm" runat="server">
<div id="OutError" runat="server" />
</form>

</body>

</html>


Nov 18 '05 #3
Hi, Dave,

In trying to get the answers to your questions, I seem to have fixed
the problem, although I admit I'm not entirely certain how.

I *believe* the problem I had was that my machine wasn't in a default
domain (under System --> Computer Name --> Network ID). After taking
care of that, emails seem to work now. I never had to point my SMTP
service to AOL's SMTP server. I guess it just knows.

Thanks for your response,

Steve Thurston

"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message news:<u9**************@TK2MSFTNGP10.phx.gbl>...
do you have iis smtp server installed ? if yes have you configured it to
relay the messages to aol's smtp server ? or say yahoo's smtp server ?
you need to configure the relay or set up your own domains smtp before you
can use localhost...

--
Regards,
HD
Once a Geek.... Always a Geek
"Steve Thurston" <ST********@aol.com> wrote in message
news:aa**************************@posting.google.c om...
Hi,

I'm attempting to send emails for the first time using ASP.NET, so I'm
hoping there's just a beginner's error going on here for me. But my
emails aren't reaching their destination, and I don't know why.

My "development" machine is just my home machine. I'm connected to
the Internet via an AOL dialup connection.

I am running on XP Pro and my IIS server is (apparently) configured
correctly to allow my home machine to send emails:
IP Address: (All Unassigned)
Relay restrictions: All except the list below (list is blank)

(I don't leave that relay restrictions on that setting, since that
apparently exposes my server to spammer hijacking.)

My test webpage reports that the email is sent. My antivirus software
would seem to confirm this, since it scans it as it's being sent.

And yet it never reaches it's destination. I've tried to send it to
an AOL account and a Yahoo account, with no luck.

Does AOL block this sort of thing? Or can anyone think why this is
happening, or what I can investigate to find out more information?

My ASP.NET code is as follows:

<%@ page language="vb" %>

<%@ import namespace="System.Web.Mail" %>

<script runat="server">
sub Page_Load()
Dim objEmail as New MailMessage()
objEmail.To = "(My AOL account)"
objEmail.From = "(My real website account)"
objEmail.Subject = "Test E-mail"
objEmail.Body = "This is a test!"

SmtpMail.SmtpServer = "localhost"

try
SmtpMail.Send(objEmail)
outError.innerHTML = "<u><b>Email sent.</b></u>"
catch objError as Exception
' Display error details
outError.innerHTML = "<u><b>Error while trying to mail
message</b></u><br>"
outError.innerHTML += objError.Message & "<br>"
outError.innerHTML += "<b>Error reported by:</b> " &
objError.Source
end try
end sub
</script>

<html>

<body>

<form id="theForm" runat="server">
<div id="OutError" runat="server" />
</form>

</body>

</html>

Nov 18 '05 #4

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

Similar topics

8
by: Fabio Papa | last post by:
I am trying to write a windows service that sends emails to clients at specific times based on information in a sql db. Since this is done for multiple cities, I start a thread for each city and...
5
by: BaWork | last post by:
I have a web form where a client can select which site members to send an email to. This form is populated from the contents of the member table, so the form can have 0-x names listed on it...
2
by: Mr. x | last post by:
Hello, I am sending emails with Hebrew contents. When receiving emails - I cannot see the Hebrew characters (it is not outlook express configuration, because when receiving emails from friends -...
5
by: Pauravi | last post by:
Hi I am making a project that sends emails.I m using System.Web.Mail and smtpMail.Send() to send emails i have set my SmtpMail.SmtpServer to my remote serve The problem is I m not able to...
2
by: Marty | last post by:
Hi, I have a web based asp.net application that iterates through a bunch of email addresses that are stored in a database and sends email to them. Now I know this is not ideal (or even the...
2
by: Mr. x | last post by:
Hello, I have a problem of posting message to newsgroup server : news.microsoft.com. When I am sending the message directly via news.microsoft.com (using outlook express) there is a problem,...
4
by: splicemix | last post by:
Hi all, I have recently set up a Drupal website. I am a beginner. My shared host server does not allow nobody@localhost to send emails, and prevents access to php.ini, so I spent some time...
14
by: sridhar | last post by:
iam having user account on an exchangeserver. with that can i send an email using python? if iam using the following code iam getting error fromAddress = 'sridhar_kasturi@satyam.com'...
2
by: samvb | last post by:
Hello Guys, This is more a problem with Argosoft Mail Server Pro. I was able to send email from my php and I can see list of all emails sent in the Argosoft Emails window. But after recieiving the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.