By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,985 Members | 2,907 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,985 IT Pros & Developers. It's quick & easy.

Send mail using Internet Explorer

P: 1
helo am doing a project based on a security webcam wich takes pictures and sends it to mail address..i plan to implement it using VB6.. can anyone pls help with the coding for sending mail..using internet xplorer..
Jan 16 '08 #1
Share this Question
Share on Google+
2 Replies


kadghar
Expert 100+
P: 1,295
helo am doing a project based on a security webcam wich takes pictures and sends it to mail address..i plan to implement it using VB6.. can anyone pls help with the coding for sending mail..using internet xplorer..
Have you tried using the CDO library? you wont use IE but it helps...

Expand|Select|Wrap|Line Numbers
  1. dim ob1 as object
  2. set obj1 = createobject("mapi.session")
and use LOGON, OUTPUT.MESSAGES(.ADD , .SUBJECT, .TEXT, .RECIPIENTS.ADD, .RECIPIENTS.NAME, etc)

Give it a try, it's not that hard, and write again if you have any more specific doubt.

If you want to use IE try with

Expand|Select|Wrap|Line Numbers
  1. dim obj1 as object
  2. set obj1 = createobject("internetexplorer.application")
and use NAVIGATE, etc...

but you'll have to login using the page's format, and... well, it's doable, but if i had no good reason to use it, i'd use CDO or some other method (there's a nice activeX form chilkat, but you have to download it and all that stuff)

HTH
Jan 16 '08 #2

Expert 5K+
P: 8,434
Ignore me - I'm just registering an interest in this thread so I can see what happens. :)
Jan 17 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.