-
Apr 29th, 2011, 01:34 PM
#1
Thread Starter
Member
Sending email with Outlook 2010 via VB6
Hi,
Does anybody know how could I send an email via vb6 and don't get the message of security of Outlook asking permission to send email in your name?
I'm using the mapi controls in vb6 and Outlook 2010. I already tryied to use a function in outlook that gets the parameters from vb, like Cc, Bcc, Subject, etc. but it didn't work at all.
IF SOMEBODY KNOW HOW TO DO THAT, PLEASE LET ME KNOW.
ANY HELP WOULD BE APPRECIATED.
-
Apr 29th, 2011, 01:40 PM
#2
Re: Sending email with Outlook 2010 via VB6
This was a security fix first added to Outlook 2000 to prevent spammers from silently hijacking your Outlook account after thay had zombied your PC.
If your program really needs to send email it should use the built in CDO for Windows and its own email credentials.
-
Apr 29th, 2011, 01:53 PM
#3
Thread Starter
Member
Re: Sending email with Outlook 2010 via VB6
Thanks dilettante for the tip.
I'll try that.
(Sorry for any misspelled word, I'm from Brazil.)
-
Apr 29th, 2011, 08:13 PM
#4
Re: Sending email with Outlook 2010 via VB6
You can do what you are asking using third-party components, information found here. Although, I suggest trying dilettante's method first. There are examples in the VB6 and Earlier code bank showing how to do this.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Apr 29th, 2011, 10:14 PM
#5
Re: Sending email with Outlook 2010 via VB6
You can also look at Outlook Redemption if you truly need to piggyback on the user's default Outlook account. It works through Extended MAPI, which VB6's standard Simple MAPI components cannot use.
-
Apr 29th, 2011, 10:35 PM
#6
Re: Sending email with Outlook 2010 via VB6
Originally Posted by dilettante
You can also look at Outlook Redemption if you truly need to piggyback on the user's default Outlook account. It works through Extended MAPI, which VB6's standard Simple MAPI components cannot use.
Yeah, I have an example of how to use Redemption to do this, just download the attachment in the first post.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
May 2nd, 2011, 10:00 AM
#7
Thread Starter
Member
Re: Sending email with Outlook 2010 via VB6
I downloaded your attachment at the link you posted, installed the redemption.dll, but I keep getting an error msg that says : "ActiveX Component can't create the object." and debugging it throws me to the following line : Set RDOSession = CreateObject("Redemption.RDOSession") at the apply function.
I already have Office 2010 installed, and I also made reference to the redemption.dll in the project's references.
Would you know what I can do to fix it?
-
May 2nd, 2011, 06:17 PM
#8
Re: Sending email with Outlook 2010 via VB6
Originally Posted by RSHEEP
Would you know what I can do to fix it?
No I don't! However, I can find out for you. I only have Microsoft Office 2003 so I am not sure what the problem is.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|