473,497 Members | 2,166 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Mail.SmtpMail.Send won't send to one of my addresses

I have an ASP.NET page that sends a Mail.MailMessage to several email
addresses (all mine). However, one of the addresses, the one ending in
@verizon.net, does not seem to be recieving the message even though the
other addresses are. I know the spelling is correct because I have tried
sending messages from my other accounts to this address and have recieved
them successfully. I also do not know of any junkmail filter that would
delete the emails sent using ASP.NET (I have also looked in the junkmail box
for this address, and it is empty). The code used to send the emails is as
follows:
mailmsg.To = "my********@mydomain1.com;"
Mail.SmtpMail.Send(mailmsg)
mailmsg.To = "my**************@verizon.net;"
Mail.SmtpMail.Send(mailmsg)
mailmsg.To = "my********@mydomain2.com;"
Mail.SmtpMail.Send(mailmsg)
When this code is run (the mailmsg object is created beforehand) it is
successfully sent to my********@mydomain1.com and my********@mydomain2.com
but is not sent to the verizon address. I do not recieve any errors of any
kind that I have noticed.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/
Nov 23 '05 #1
3 1799
Are you sending email from a dynamic IP? A lot of domains won't accept
emails from dynamic ip's. AOL.com is one, and bigpond.au is another.

It has been my experience that SmtpMail will not tell you whether or not
the mail is accepted. So you never know if the email made it.

"Nathan Sokalski" <nj********@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I have an ASP.NET page that sends a Mail.MailMessage to several email
addresses (all mine). However, one of the addresses, the one ending in
@verizon.net, does not seem to be recieving the message even though the
other addresses are. I know the spelling is correct because I have tried
sending messages from my other accounts to this address and have recieved
them successfully. I also do not know of any junkmail filter that would
delete the emails sent using ASP.NET (I have also looked in the junkmail
box
for this address, and it is empty). The code used to send the emails is as
follows:
mailmsg.To = "my********@mydomain1.com;"
Mail.SmtpMail.Send(mailmsg)
mailmsg.To = "my**************@verizon.net;"
Mail.SmtpMail.Send(mailmsg)
mailmsg.To = "my********@mydomain2.com;"
Mail.SmtpMail.Send(mailmsg)
When this code is run (the mailmsg object is created beforehand) it is
successfully sent to my********@mydomain1.com and my********@mydomain2.com
but is not sent to the verizon address. I do not recieve any errors of any
kind that I have noticed.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

Nov 23 '05 #2
Nathan:

I do not know all the specifics of how your mail system is setup, so I will
just make some general comments. The SmtpMail class has a static property
called SmtpServer in which you can set the outgoing SMTP mail server. The
default for this property is the local SMTP server. If you are behind a
firewall, the local Smtp server may be prevented from forwarding email
directly to the Internet. In this case, you could use the SmtpServer
property to specify a different mail server which does have permission to
relay messages to the Internet (I believe Microsoft refers to these
Internet-enabled SMTP servers as "smart hosts"). For example:

SmtpMail.SmtpServer = "RelayServer.MyDomain.com"

If that does not solve the issue, maybe you can explain your mail server
setup in more detail.

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.
"Nathan Sokalski" <nj********@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I have an ASP.NET page that sends a Mail.MailMessage to several email
addresses (all mine). However, one of the addresses, the one ending in
@verizon.net, does not seem to be recieving the message even though the
other addresses are. I know the spelling is correct because I have tried
sending messages from my other accounts to this address and have recieved
them successfully. I also do not know of any junkmail filter that would
delete the emails sent using ASP.NET (I have also looked in the junkmail box
for this address, and it is empty). The code used to send the emails is as
follows:
mailmsg.To = "my********@mydomain1.com;"
Mail.SmtpMail.Send(mailmsg)
mailmsg.To = "my**************@verizon.net;"
Mail.SmtpMail.Send(mailmsg)
mailmsg.To = "my********@mydomain2.com;"
Mail.SmtpMail.Send(mailmsg)
When this code is run (the mailmsg object is created beforehand) it is
successfully sent to my********@mydomain1.com and my********@mydomain2.com
but is not sent to the verizon address. I do not recieve any errors of any
kind that I have noticed.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

Nov 23 '05 #3

Nathan Sokalski wrote:
I have an ASP.NET page that sends a Mail.MailMessage to several email
addresses (all mine). However, one of the addresses, the one ending in
@verizon.net, does not seem to be recieving the message even though the
other addresses are. I know the spelling is correct because I have tried
sending messages from my other accounts to this address and have recieved
them successfully.


If you are using an SMTP server outside the US you may be running into
this problem:

<http://www.theregister.co.uk/2005/01/14/verizon_email_block/>

--
Larry Lard
Replies to group please

Nov 23 '05 #4

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

Similar topics

5
3359
by: ES | last post by:
Hello, I have very simple console app that attempts to send an email using system.web.mail. I compiles and runs without any errors but doesn't send anything. I've checked the badmail folder,...
2
2008
by: Venkat | last post by:
I use this code : MailMessage mail = new MailMessage(); mail.From = FromAddress; mail.To = MailAddress; mail.Subject = Subject; mail.Body = MessageText; mail.BodyFormat = MailFormat.Html;...
2
2426
by: Patrick Hill | last post by:
Hello, I have a web form that is a email page. When the user fills out the form and clicks send there is a "The server rejected one or more recipient addresses. The server response was: 550 5.7.1...
5
2212
by: martin | last post by:
Hi, I have created a class that is totally seperate from my web application. However this class is used extensivly by the web application for stuff like data access. I wish to add a function to...
2
2194
by: Steven K | last post by:
Hello, I am using the following to send mail. It works on my web server, but not on my personal machine (which is running ASP.Net). I tried setting SmtpMail.SmtpServer to "", but get the...
3
1156
by: Nathan Sokalski | last post by:
I have an ASP.NET page that sends a Mail.MailMessage to several email addresses (all mine). However, one of the addresses, the one ending in @verizon.net, does not seem to be recieving the message...
34
18134
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow...
4
2345
by: Max | last post by:
hi I am using System.Web.Mail.MailMessage with System.Web.Mail.SmtpMail to send mail. now the my question is, Is it compulsory to add fields smtpauthenticate, sendusername and sendpassword...
0
6991
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...
0
7160
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,...
0
7196
jinu1996
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...
0
7373
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5456
agi2029
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,...
1
4897
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...
0
4583
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...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
286
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...

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.