473,727 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

I have an ASP.NET page that sends a Mail.MailMessag e 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********@myd omain1.com;"
Mail.SmtpMail.S end(mailmsg)
mailmsg.To = "my************ **@verizon.net; "
Mail.SmtpMail.S end(mailmsg)
mailmsg.To = "my********@myd omain2.com;"
Mail.SmtpMail.S end(mailmsg)
When this code is run (the mailmsg object is created beforehand) it is
successfully sent to my********@mydo main1.com and my********@mydo main2.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********@hotm ail.com
http://www.nathansokalski.com/
Nov 23 '05 #1
3 1829
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********@hot mail.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
I have an ASP.NET page that sends a Mail.MailMessag e 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********@myd omain1.com;"
Mail.SmtpMail.S end(mailmsg)
mailmsg.To = "my************ **@verizon.net; "
Mail.SmtpMail.S end(mailmsg)
mailmsg.To = "my********@myd omain2.com;"
Mail.SmtpMail.S end(mailmsg)
When this code is run (the mailmsg object is created beforehand) it is
successfully sent to my********@mydo main1.com and my********@mydo main2.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********@hotm ail.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.SmtpSe rver = "RelayServer.My Domain.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********@hot mail.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
I have an ASP.NET page that sends a Mail.MailMessag e 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********@myd omain1.com;"
Mail.SmtpMail.S end(mailmsg)
mailmsg.To = "my************ **@verizon.net; "
Mail.SmtpMail.S end(mailmsg)
mailmsg.To = "my********@myd omain2.com;"
Mail.SmtpMail.S end(mailmsg)
When this code is run (the mailmsg object is created beforehand) it is
successfully sent to my********@mydo main1.com and my********@mydo main2.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********@hotm ail.com
http://www.nathansokalski.com/

Nov 23 '05 #3

Nathan Sokalski wrote:
I have an ASP.NET page that sends a Mail.MailMessag e 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_b lock/>

--
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
3377
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, etc and I don't see anything. Should the mail object work in a console app? I've changed the addresses shown for this message. The actual programm had valid addresses. The entire program is:
2
2027
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; if(XmlAttachmentPath.Length !=0) {
2
2444
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 Unable to relay for PatrickHill@aol.com" error. here is the code: Dim msgMail As New MailMessage msgMail.To = "PatrickHill@aol.com" msgMail.From = TextBox1.Text
5
2237
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 this class that will send email, however my class will not seem to recognise the system.web.mail.mailmessage. my first impression on this is that I may have to use some sort of third
2
2209
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 following error: System.Runtime.InteropServices.COMException: The "SendUsing" configuration value is invalid. I then tried using: SmtpMail.SmtpServer to "localhost", and got the following: System.Runtime.InteropServices.COMException: The server...
3
1175
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 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...
34
18263
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 "127.0.0.1". 4. Authentication: "Anonymous access" only. 5. Outbound connection listen to TCP 25. Besides,
4
2364
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 fields to MailMessage Object????. mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1")
0
8891
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
8752
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
9406
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...
0
9260
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9185
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,...
0
9120
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4521
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
4786
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3228
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.