Click here to Skip to main content
15,891,725 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionMSMQ Remote QUeue Pin
kotteeswaran12-Jan-06 11:29
kotteeswaran12-Jan-06 11:29 
QuestionWebservice Question Pin
Steve Messer12-Jan-06 10:51
Steve Messer12-Jan-06 10:51 
QuestionDo you know any money / multi-currency api for .NET? Pin
Johannes Hansen11-Jan-06 9:32
Johannes Hansen11-Jan-06 9:32 
AnswerRe: Do you know any money / multi-currency api for .NET? Pin
Christian Graus11-Jan-06 11:10
protectorChristian Graus11-Jan-06 11:10 
GeneralRe: Do you know any money / multi-currency api for .NET? Pin
Johannes Hansen11-Jan-06 22:50
Johannes Hansen11-Jan-06 22:50 
QuestionSmtpClient 2.0 Framework Pin
James Simpson11-Jan-06 6:02
James Simpson11-Jan-06 6:02 
AnswerRe: SmtpClient 2.0 Framework Pin
Dave Kreskowiak11-Jan-06 7:19
mveDave Kreskowiak11-Jan-06 7:19 
GeneralRe: SmtpClient 2.0 Framework Pin
James Simpson11-Jan-06 22:27
James Simpson11-Jan-06 22:27 
Dave Kreskowiak wrote:
The SmtpClient class is a wrapper for the CDONTS COM Component, and its NewMail class. It is NOT a full .NET implementation of a SMTP client.


I think you are refering to the 1.0/1.1 version of the Web.Mail classes, the new one (2.0) appears to be a ground up implementation of an Smtp Client which would work standalone


Dave Kreskowiak wrote:
If you have to guarantee a QUIT command being sent, you'll have to implement your own SMTP client in your code. Just Google for "C# SMTP Client" and you'll find a bunch of examples.


Its not that I need the QUIT Command sending, it is workable. If you created a forms app with a button to send a simple mail through the local SMTP server (lets assume IIS), run the application, click the button to send the mail, then restart the IIS SMTP Service, and click send again the application will fall over because the connection was closed, even though the connection has been reopened. We have an inhouse smtp service which causes exactly the same problem because it has a timeout on it, if this is normal behaviour then someone using the SmtpClient would need to wrap it in a Try Catch to resend under these conditions. I would have hoped that the SmtpClient would clean itself up and attempt to reconnect to the server itself. Or send a QUIT message after the message has been sent to the server.

Thanks, James

James Simpson
Web Developer
imebgo@hotmail.com

P S - This is what part of the alphabet would look like if Q and R were eliminated
Mitch Hedberg

GeneralRe: SmtpClient 2.0 Framework Pin
Dave Kreskowiak12-Jan-06 9:06
mveDave Kreskowiak12-Jan-06 9:06 
Questionmedia player control? Pin
pgcnet11-Jan-06 2:33
pgcnet11-Jan-06 2:33 
AnswerRe: media player control? Pin
Christian Graus11-Jan-06 11:11
protectorChristian Graus11-Jan-06 11:11 
QuestionPivotTable Pin
ckruger11-Jan-06 2:00
ckruger11-Jan-06 2:00 
QuestionHow to find my windows service ( SOS ) Pin
Texas_CodeMaster10-Jan-06 14:37
Texas_CodeMaster10-Jan-06 14:37 
Questioncomo limpiar consola Pin
yero10-Jan-06 9:38
yero10-Jan-06 9:38 
AnswerRe: como limpiar consola Pin
Dave Kreskowiak10-Jan-06 10:03
mveDave Kreskowiak10-Jan-06 10:03 
QuestionCreating mailbox in Exchange 2003 from asp.net web application Pin
VPR10-Jan-06 8:29
VPR10-Jan-06 8:29 
AnswerRe: Creating mailbox in Exchange 2003 from asp.net web application Pin
Curtis Schlak.10-Jan-06 9:09
Curtis Schlak.10-Jan-06 9:09 
GeneralRe: Creating mailbox in Exchange 2003 from asp.net web application Pin
VPR10-Jan-06 21:30
VPR10-Jan-06 21:30 
QuestionProgramming own Browser in .NET 2.0 Pin
tommy_tanaka10-Jan-06 3:44
tommy_tanaka10-Jan-06 3:44 
AnswerRe: Programming own Browser in .NET 2.0 Pin
Curtis Schlak.10-Jan-06 4:58
Curtis Schlak.10-Jan-06 4:58 
AnswerRe: Programming own Browser in .NET 2.0 Pin
mitooki13-Jan-06 6:12
mitooki13-Jan-06 6:12 
GeneralRe: Programming own Browser in .NET 2.0 Pin
tommy_tanaka13-Jan-06 6:25
tommy_tanaka13-Jan-06 6:25 
Questionc# and javascript functions Pin
ckruger10-Jan-06 3:02
ckruger10-Jan-06 3:02 
AnswerRe: c# and javascript functions Pin
Guffa10-Jan-06 6:40
Guffa10-Jan-06 6:40 
Question.net built in classes Pin
pyro_3k10-Jan-06 2:49
pyro_3k10-Jan-06 2:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.