sjn78 Posted May 28, 2003 Posted May 28, 2003 I have setup my program using outlooks dll's to send email. I am a little unsure how dll's work, but here is the question. What if the program runs on a pc without outlook? What will happen? Will it throw an error and not send the email, or can it manage with the dll's alone. Thanks Steve Quote
hog Posted May 28, 2003 Posted May 28, 2003 you need to trap the error and inform the user outlook is required. Quote My website
sjn78 Posted May 28, 2003 Author Posted May 28, 2003 Ok, since the dll's I am using are from Outlook would they work with outlook express or is there another set or dll's for that? Would be good if that worked since express comes on most pc's with windows nowadays. Thanks for your help. Quote
Camaro Z28 Posted May 29, 2003 Posted May 29, 2003 What is it you are wanting to do? Send mail or something?? Quote Visual Basic Code Source FREE Visual Basic Source Code
sjn78 Posted May 29, 2003 Author Posted May 29, 2003 yes, i am trying to send mail. I have a database that stores names and emails. It is a bit like a mail program, but it is only used to send messages. I have tried using the mail that comes with vb without any success. Thanks Steve Quote
AndreRyan Posted May 29, 2003 Posted May 29, 2003 If you use Outlook DLLs, the user needs Outlook, it won't work on Outlook Express because although the names are the same they use different DLLs(msoe.dll for OE) Quote .Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
*Experts* DiverDan Posted May 29, 2003 *Experts* Posted May 29, 2003 You might have better luck accessing their default email program. System.Diagnostics.Process.Start("mailto:whoever@whereever.com") Quote Member, in good standing, of the elite fraternity of mentally challenged programmers. Dolphins Software
sjn78 Posted May 29, 2003 Author Posted May 29, 2003 Ok, that was what I was looking for in the beginning but got sidetracked and used outlook. Thanks DiverDan Quote
sjn78 Posted May 29, 2003 Author Posted May 29, 2003 Now when using the mailto process, is there a way to fill in fields such as the subject and body? Thanks Steve Quote
*Gurus* divil Posted May 29, 2003 *Gurus* Posted May 29, 2003 mailto:address@domain.com?subject=mysubject&body=mybody Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
sjn78 Posted May 29, 2003 Author Posted May 29, 2003 Thanks for that...saved me a lot of hassles. Quote
Recommended Posts