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

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 1152
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
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
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
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
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
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
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
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
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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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.