Visual Basic & MAPI

Reply

Join Date: Feb 2007
Posts: 41
Reputation: Henry Schubel is an unknown quantity at this point 
Solved Threads: 3
Henry Schubel Henry Schubel is offline Offline
Light Poster

Visual Basic & MAPI

 
0
  #1
Feb 20th, 2009
I'm not even sure where to post this, but since I wrote the code in VB6, maybe here...

This is really more of an Outlook problem, but what I'm doing is programatically creating email. Here's the problem.

My VB6/Access application is installed on a Vista machine, and the host machine has Office 2007 with Outlook 2007. In Outlook, you can host multiple identifies, as you can with Outlook Express, but in the latest Outlook, you Send/Receive for all identities as the same time. When my program creates an email, it's always creating it with an identity not intended as the sender of the email. I need a way to tell Outlook, either programatically or with a setting, which identity to use as the sender. Second, with each email, the user gets a message box that forces them to identify the email type. When the message box appears, the email type has the addressees email address in it, and you have to manually change it to SMTP before you can send the message.

So...I need to be able to tell Outlook which senders ID to default to, and I need a way to specify the format as SMTP. If I can't do that, I get a message box for every email generated which kinda defeats the purpose of generating the mail programatically in the first place.

Ideas?
Last edited by Henry Schubel; Feb 20th, 2009 at 1:55 pm.
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 1,102
Reputation: cguan_77 has a little shameless behaviour in the past 
Solved Threads: 91
cguan_77's Avatar
cguan_77 cguan_77 is offline Offline
Veteran Poster

Re: Visual Basic & MAPI

 
0
  #2
Feb 20th, 2009
hi, check this article maybe it can guide you

http://www.everythingaccess.com/tuto...curity-Warning
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: Visual Basic & MAPI

 
0
  #3
Feb 21st, 2009
Your code working with the outlook object... what's it look like?
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 41
Reputation: Henry Schubel is an unknown quantity at this point 
Solved Threads: 3
Henry Schubel Henry Schubel is offline Offline
Light Poster

Re: Visual Basic & MAPI

 
0
  #4
Mar 8th, 2009
What's it look like? It's a thing of beauty !

What are you interested in. I'd be happy to share.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC