Using Outlook's dll's

sjn78

Well-known member
Joined
May 4, 2003
Messages
255
Location
Australia
I have setup my program using outlooks dlls to send email.

I am a little unsure how dlls 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 dlls alone.

Thanks

Steve
 
you need to trap the error and inform the user outlook is required.
 
Ok, since the dlls I am using are from Outlook would they work with outlook express or is there another set or dlls for that?

Would be good if that worked since express comes on most pcs with windows nowadays.

Thanks for your help.
 
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
 
If you use Outlook DLLs, the user needs Outlook, it wont work on Outlook Express because although the names are the same they use different DLLs(msoe.dll for OE)
 
You might have better luck accessing their default email program.

System.Diagnostics.Process.Start("mailto:whoever@whereever.com")
 
Ok, that was what I was looking for in the beginning but got sidetracked and used outlook.

Thanks DiverDan
 
Now when using the mailto process, is there a way to fill in fields such as the subject and body?

Thanks

Steve
 
Back
Top