| | |
Visual Basic & MAPI
![]() |
•
•
Join Date: Feb 2007
Posts: 41
Reputation:
Solved Threads: 3
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?
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.
![]() |
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Total control in one form.....
- Next Thread: Report Form Queries, pls.. help
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






