A
Adrian
What does this error mean?
Could not access CDO Message Object.
Many thanks.
Could not access CDO Message Object.
Many thanks.
Adrian said:What does this error mean?
Could not access CDO Message Object.
Adrian said:What does this error mean?
Could not access CDO Message Object.
Chad Z. Hower aka Kudzu said:CDO simply isnt installed on many systems... You can try this:
http://www.codeproject.com/csharp/IndySMTP.asp
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Get your ASP.NET in gear with IntraWeb!
http://www.atozed.com/IntraWeb/
What do you mean by running - that the pc is connected to the server?Make sure the SMTP service is running on the machine your using to send
mail. This is a good link for troubleshooting Mail related issues.
http://www.systemwebmail.com/faq/4.aspx
sending local smtp mail changed from the CDONTS COM+ package to the CDOFrom Windows 2000 server to 2003 server, the default component for
Jeffrey Palermo said:Adrian,
sending local smtp mail changed from the CDONTS COM+ package to the CDO
package. If you have a late version of outlook installed, you'll
probably have the CDO package installed. You can either make a com
interop assembly to use CDONTS or install the CDO package on the
server. System.Web.Mail uses CDO.
Best regards,
Jeffrey Palermo
Jeffrey Palermo said:Adrian,
sending local smtp mail changed from the CDONTS COM+ package to the CDO
package. If you have a late version of outlook installed, you'll
probably have the CDO package installed. You can either make a com
interop assembly to use CDONTS or install the CDO package on the
server. System.Web.Mail uses CDO.
Best regards,
Jeffrey Palermo
Adrian said:Yes I know about Indy. The trouble is the license. It cannot be
redistributed.
Chad Z. Hower aka Kudzu said:You dont understand the license very well if you think it cannot be
redistributed. Where did you get this impression? In fact Indy has two
licenses you can choose from, both of which allow free redistribution.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Make your ASP.NET applications run faster
http://www.atozed.com/IntraWeb/
Adrian said:If I have FreeSMTP.Net.dll and
Indy.Sockets.dll in an application
I am not allowed to sell that application
commercially. That is what I understand.
If that is not so, could you please direct me
to where I can read anything to the
contrary?
Jon Skeet said:http://www.indyproject.org/License/BSD.iwp talks about one form of the
Indy licence which doesn't seem to stop you from selling it
commercially.
The FreeSMTP.Net library appears to only be freely distributable for
non-profit applications, but I don't see what that has to do with your
claim that Indy can't be redistributed.
Adrian said:Thank very much you for this information.
I will now have to find out whether Indy can work
together with System.Web.Mail. As you will
understand I am not familiar with this area
of expertise. Any further tips would be greatly
appreciated.
Hi John,
Thank very much you for this information.
I will now have to find out whether Indy can work
together with System.Web.Mail. As you will
understand I am not familiar with this area
of expertise. Any further tips would be greatly
appreciated.
Adrian.
Jon Skeet said:Using Indy means you don't have to use System.Web.Mail at all - why
would you particularly want to?
Peter Wone said:Pointless Interop is not something I'd encourage. Do you really need
to call the Indy components? There is native dotnet SMTP support and
if that's not enough the superb socket classes make it trivial to
implement a simple protocol like SMTP.
Consider this article of mine
http://www.codeproject.com/useritems/EmailMessage.asp
Does it do attachments? Yes and no. It certainly does multipart mime
encoding but it doesn't support attachments in the sense in which most users
would conceive them. Once again this would be trivial to implement - I just
didn't see the point. EmailMessage class is designed to send a web page as
the content of the message. If you want attachments just put in hyperlinks
to the files on a webserver. It means people don't have to collect the
attachments unless they really want them.
(As for it being trivial - in your article you make mention of an
earlier version of your class having no error checking etc. Such things
take time in my experience, but are vital for production systems.)
And I'm sure that's good for many uses, but not all of them. I don't
see why you think it's actually a bad idea to use Indy.
I don't think it's a bad idea to use Indy - from Delphi. I just think that
if I can write a fancy mailer in 300 lines of pure managed code - and I
did - then it's wrong to write 600 lines of interop.