473,769 Members | 6,404 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 "developmen t" 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="Syst em.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.Subjec t = "Test E-mail"
objEmail.Body = "This is a test!"

SmtpMail.SmtpSe rver = "localhost"

try
SmtpMail.Send(o bjEmail)
outError.innerH TML = "<u><b>Emai l sent.</b></u>"
catch objError as Exception
' Display error details
outError.innerH TML = "<u><b>Erro r while trying to mail
message</b></u><br>"
outError.innerH TML += objError.Messag e & "<br>"
outError.innerH TML += "<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 1979
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.goo gle.com...
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 "developmen t" 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="Syst em.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.Subjec t = "Test E-mail"
objEmail.Body = "This is a test!"

SmtpMail.SmtpSe rver = "localhost"

try
SmtpMail.Send(o bjEmail)
outError.innerH TML = "<u><b>Emai l sent.</b></u>"
catch objError as Exception
' Display error details
outError.innerH TML = "<u><b>Erro r while trying to mail
message</b></u><br>"
outError.innerH TML += objError.Messag e & "<br>"
outError.innerH TML += "<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.goo gle.com...
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 "developmen t" 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="Syst em.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.Subjec t = "Test E-mail"
objEmail.Body = "This is a test!"

SmtpMail.SmtpSe rver = "localhost"

try
SmtpMail.Send(o bjEmail)
outError.innerH TML = "<u><b>Emai l sent.</b></u>"
catch objError as Exception
' Display error details
outError.innerH TML = "<u><b>Erro r while trying to mail
message</b></u><br>"
outError.innerH TML += objError.Messag e & "<br>"
outError.innerH TML += "<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******* *******@TK2MSFT NGP10.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.goo gle.com...
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 "developmen t" 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="Syst em.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.Subjec t = "Test E-mail"
objEmail.Body = "This is a test!"

SmtpMail.SmtpSe rver = "localhost"

try
SmtpMail.Send(o bjEmail)
outError.innerH TML = "<u><b>Emai l sent.</b></u>"
catch objError as Exception
' Display error details
outError.innerH TML = "<u><b>Erro r while trying to mail
message</b></u><br>"
outError.innerH TML += objError.Messag e & "<br>"
outError.innerH TML += "<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
2032
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 continue the processing from each thread. My service starts fine (gives me no errors, etc), but it doesn't seem to start the new threads. I am new to windows services, so I don't know if I'm doing something wrong. Should I maybe be doing this...
5
2636
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 depending on member expiration dates. When the form is submitted, the code loops through the form contents and sends an email to those members that meet the selected criteria. All this worked perfectly when I was sending text emails, but since I
2
9242
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 - I see hebrew, it is just sending by myself using *.aspx scripts). In web.config I have the following : <configuration> <system.web>
5
1949
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 send emails outside of my domain that is to hotmail ,yahoo or indiatimes,etc.But i m able to send thru Outlook Express that configured with this smtp server Also my server requires Authentication?How to go about it in my project
2
1604
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 correct way to do this -- a service would be better) however at present I am left working with what I have. I am attempting to send a mailshot of 2008 emails. I tried this from a webserver within the corporate LAN and it worked,
2
1089
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, that my messages are not seen on the newsgroups, and even somethimes they are rejected. When I am sending the message directly via my ISP provider
4
3134
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 getting a SMTP script running. While the Drupal feedback module and the new account creation works fine in terms of sending of mails, I am having some problems with the sending of password reminder emails. warning: Cannot modify header information -...
14
9901
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' toAddress = 'sridhar_kasturi@satyam.com' msg = "Subject: Hello\n\nThis is the body of the message." import smtplib
2
3432
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 emails, it is not sending them to the email addresses provided. It is accepting the emails just not sending them. I have created a domain and list of email users who recieve the emails. My english is not gud, but please help me out somehow. I want...
0
9587
marktang
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...
0
9423
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,...
0
10211
Oralloy
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...
1
9993
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,...
1
7406
isladogs
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...
0
6672
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();...
0
5298
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2815
bsmnconsultancy
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...

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.