473,395 Members | 1,856 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,395 software developers and data experts.

SMTP question with Vb.net 2003

If I execute the commands in vb.net to send an Email using the localhost IIS
server using system.web.mail namespace, is there a way for my program to
detect that the sending of the e-mail has failed or succeeded? I could not
find any code samples on how to do this. Is sending e-mail this way a
'blind' send?

If use use a program like outlook in office , I get a warning back that a
message could not be delivered, well sometimes. I got a program that sends
automated delivery advise of goods bought to customers, we would like to be
sure that the advise got through if possible.

Thanks for any insights,

Bob
Mar 4 '06 #1
1 1250
It depends on what you mean by fail. If you mean did it get there, then the
only way to check this is to give the email a valid return email address and
poll the box later to see if something came back with no Re: in the subject,
but even this is prone to error.

If by contrast you are asking did it actuall get sent then yes.

http://www.trainingon.net/Articles/Art141/Art141.html

--
Terry Burns
http://TrainingOn.net
"Robert Dufour" <bd*****@sgiims.com> wrote in message
news:OK**************@TK2MSFTNGP15.phx.gbl...
If I execute the commands in vb.net to send an Email using the localhost
IIS
server using system.web.mail namespace, is there a way for my program to
detect that the sending of the e-mail has failed or succeeded? I could not
find any code samples on how to do this. Is sending e-mail this way a
'blind' send?

If use use a program like outlook in office , I get a warning back that a
message could not be delivered, well sometimes. I got a program that sends
automated delivery advise of goods bought to customers, we would like to
be
sure that the advise got through if possible.

Thanks for any insights,

Bob

Mar 4 '06 #2

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

Similar topics

4
by: Gerhard | last post by:
Hi, I some asp.net beta 2 code that works fine on an XP Pro machine, but on a Windows 2003 Server gets the following error: System.Net.Mail.SmtpFailedRecipientException {"Mailbox unavailable....
7
by: William Case | last post by:
Hi Folks, Does anyone have a line on some well written black box code that will handle SMTP mailing sessions and can be integrated into a VBA app? Thanks.
7
by: Razzie | last post by:
Hey all, I need to connect to an SMTP server and get a notification when it gets a new mail to send. I want to be able to 'read' that email (retrieve recipient information for example). Is that...
1
by: Comconix | last post by:
I have some ideas that I would like to try in eliminating DoS, unwanted SMTP connections/sessions, etc. to my Exchange server. To do this I need to write code that examines each SMTP attempt to...
3
by: dale zhang | last post by:
Hi, I write an asp.net web application. It has a “Contact Us” page, where users fill in their email, subject and text and hit send. Then the email will go to my hard coded yahoo email...
6
by: Brian M | last post by:
I have an ASP.NET application using .NET Framework 1.1 running on a Windows 2003 server. The application uses SMTP to send emails. This application was moved from an IIS 5 machine where it worked...
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...
1
by: Benny Ng | last post by:
Dear All, Now I just finished my winform application. And a part of that is to send email reminder to the users. It's working fine in the server that with SMTP service in Windows 2003. But now...
1
by: Michael D. Ober | last post by:
I am writing an application that needs to email to specific users on our Exchange server and need to query it to see if the SMTP address I will be sending to exists. The application will be...
5
by: Chris Gage | last post by:
I'm a longtime *nix guy and am fairly comfortable "over there" although I am a developer and not a sysadmin, mostly J2EE stuff. I recently got the Microsoft "Action Pack" as a partner. It has...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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
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
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...

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.