|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SMTP question with Vb.net 2003If 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 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 Show quoteHide quote "Robert Dufour" <bduf***@sgiims.com> wrote in message news:OKz9246PGHA.2816@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 > >
Is it worth while in developing VB.NET or C#.NET
tranferring data from Access to SQL Server Express Baffeled by Treeview Nodes Index!!!!! crazy UserControl Problem with Hashtable Class in a module or class in a class? Multiple references in the same project. Is there an expected return difference between the following two codes WMI Conversion Very Unpredictable ListBox Behaviour |
|||||||||||||||||||||||