create e-mail with multiple attachments
hi,
i know it can't be that hard, and yet all my internet searches have come up empty for some reason.
here's what i want to do:
from within vb6, create an outlook express "new mail" (so the window actually pops up, i dont need vb6 to send the mail or anything), and then fill in recipient, subject, body etc... and attach one or more files.
how would i do this? thanx in advance.
Re: create e-mail with multiple attachments
Search our Forums because this has been asked several times already. ;)
Search for "ShellExecute + mailto:" but OE needs to be the default email client on the system. :thumb:
Re: create e-mail with multiple attachments
Re: create e-mail with multiple attachments
thanx for the quick reply, think i found it. i'm such a vb n00b hehe
Re: create e-mail with multiple attachments
Just found another link that might have something good : http://www.vbforums.com/showthread.php?t=79636
Re: create e-mail with multiple attachments
another thing... how can you find out the language of outlook express? I guess it's the same as the system language but i can't find out how to get that either :(
Re: create e-mail with multiple attachments
Outlook Express does not expose any valid COM interfaces so you can not program against it other then SendKeys type code. ;)
Re: create e-mail with multiple attachments
yeah but the problem is that the sendkeys are different in different languages... that sux. And I know for sure that the program will be used on at least english, spanish and french windows (and OE). So I need to find out the systemlanguage somehow.