PDA

Click to See Complete Forum and Search --> : Sending Mail through VB


jdxah
Jan 8th, 2001, 08:16 AM
I am new to VB programming and am in need of some help from the experts!

I work in an IT department for a large manufacturing company and just to teach myself a little VB, decided to write a Helpdesk App in my spare time for use by myself and a couple other people in the department.

My question is this: I want to allow users to send E-mail notifications from within the application and was experimenting with CDONTS. The problem is the e-mail portion only worked originally from two W2K PCs including mine and not from 3 other NT4 PCs and one other W2K PC. I was forced to repair my installation of W2K (Don't make the mistake of upgrading to IE5.5 if you are running W2K!!!) and now my PC will not send mail either.

I tried to fix the NT4 PCs using a CDO for WINNT installation that I downloaded to no avail.

Does anyone have any suggestions on why CDONTS is not living up to its abilities for me or what other methods are out there to get the job done for me? Please Help!

Thanks.

JoshT
Jan 8th, 2001, 10:07 AM
IIRC, CDONTS runs on NT Server, not NT workstation. I'm unsure what updates MS did to it for Win2000.

Josh

Clunietp
Jan 8th, 2001, 12:10 PM
Microsoft has switched to CDOSYS (version 6 i think) for windows 2000 mailing solutions as opposed to CDO 1.2.1. As Josh mentioned, CDONTS is used for NT Servers that have the SMTP service installed.

I prefer to program against the MS outlook object model for sending mail through my Win32 clients (my company uses Outlook), or you can alternatively use plain old CDO (which I probably should use instead now that I think about it -- oh well :) )

Hope this helps

Tom

jdxah
Jan 8th, 2001, 03:42 PM
Thank you for your help on this problem you guys. I am happy to report that I found just what I needed on http://www.freevbcode.com (a link which I found in a different post)

It's vbSendMail.dll and is even easy enough for a newbie like myself to implement!