Web Hosting Talk







View Full Version : AspMail & Windows 2003


kingpcgeek
05-16-2003, 02:07 PM
I am in the processing of moving several of my sites to a new server with Windows Server 2003. I use AspMail quite a bit. I am getting the error "554 5.5.2 No valid recipients" when trying to send on the new server. This is the same exact page I have on a 2000 server and it works correctly, there is a recipient

I have run the ServerObjects Component Troubleshooter and everything is registered and installed as it should except for one item, it tell me the IIS Version was not found.

Obviously it does not recognize the new IIS6. It also doesn't seem to like new IIS6 since it bombs out on an error that does not exist.

Question? Does anyone know of a mail component that has the same syntax for the methods. ASPEmail is close but it does a horrible job with HTML email which I need to use. JMail will work but its methods are different enough it would take a lot of editing.

I would send an email to ServerObjects to see if they are planning on updating AspMail to work in 2003 but what is the point. I sent a tech support question in three times in the span of three week and never received a response. I am a owner of multiple copies of the software, and I did send in the email request in the proper format. If I didn't have tons of pages to rewrite I would be long gone.

WALoeIII
05-18-2003, 01:38 AM
www.linux.org
httpd.apache.org
www.mysql.com

WineIsGood
05-22-2003, 03:00 PM
You can use CDONTS which comes with the box for free. I use it all the timefor HTML email and it's fine. If you intend to use .NET be aware that it comes with its own SMTP mail object class which is rather neat and easy to use.
-Dave

kingpcgeek
05-22-2003, 03:23 PM
Actually CDONTS is not available in 2003. I was just hoping to find a COM that had the same object and method structure as AspMail so I didn't have to do massive edits to all of my pages.

It turned out to be a relay problem. I played with the smtp settings and got it working. AspMail does work fine in 2003.

banner
05-22-2003, 05:23 PM
CDONTS isn't available, but you should be able to use CDO (a newer replacement of CDONTS).

Oh, and the .NET SMTPMail class is just a wrapper for CDO not a complete replacement.

my_forum_id
05-22-2003, 06:49 PM
cdonts is replace by cdosys in 2003, however if you need to use cdonts for legacy sites you can copy the dll over from a windows 200 server and register it and it works fine.

WineIsGood
05-22-2003, 09:37 PM
CDONTS is just a com dll which can be registered and used like any other legacy com dll, as the previous poster suggested. Simply do a search for "how to use legacy com dlls in your asp.net application" and it will describe how to use asp compatibility mode, etc.
HTH
-Dave

kingpcgeek
05-22-2003, 09:41 PM
I have never used CDONTS or don't plan to. I just wanted to get AspMail working in 2003 so I didn't have to rewrite hundreds of lines of code.