|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Question regarding the System.Net.Mail and System.Net.Mime namespaI hope somebody from Microsoft can explain me why the low level API of these
two namespaces is not public ; for example, we'd like to transfer email contents directly on a Socket or into a MemoryStream, and to do that, we would be stuck to use SmtpClient to save the email into a pickup directory then reread the file, which is a waste of time and system resources. Why isn't the MailMessage.Send method public, or at least protected ? Because of that, we are forced to use or develop or adapt a third party library, which is a shame since the method already exists in the framework ! Regards, François Lemaire If you want Microsoft to tell you something, you need to contact Microsoft.
These are public newsgroups, and most questions are answered by non-Microsoft employees. Microsoft only answers questions posted to specific dotnet newsgroups by people paying for the privilege. Good luck. Robin S. ----------------------------------------- Show quote "François Lemaire" <FranoisLema***@discussions.microsoft.com> wrote in message news:9BCE5A8B-58C9-46DD-92B6-BD5A5408C489@microsoft.com... >I hope somebody from Microsoft can explain me why the low level API of >these > two namespaces is not public ; for example, we'd like to transfer email > contents directly on a Socket or into a MemoryStream, and to do that, we > would be stuck to use SmtpClient to save the email into a pickup > directory > then reread the file, which is a waste of time and system resources. Why > isn't the MailMessage.Send method public, or at least protected ? Because > of > that, we are forced to use or develop or adapt a third party library, > which > is a shame since the method already exists in the framework ! > > Regards, > > François Lemaire |
|||||||||||||||||||||||