Link to home
Start Free TrialLog in
Avatar of maonas
maonas

asked on

VB6 App Notify on MS Outlook Share Calendar

Hi there,
I have the scenario:
- User1 have a MS Outlok Shared Calendar
- User2 have rights to access the calendar and read/write rights
I want to make an app in VB6 that wil do: when User2 do something in the User1 calendar (e.g.: create an appointment) User1 (calendar owner) will be automaticly notified by email.

Please tell me who can I do this.
Thank you very much!
Avatar of David Lee
David Lee
Flag of United States of America image

Hi maonas,

Yes, this is possible, but there's an issue you need to be aware of.  Sending email from code will trigger Outlook's built-in security causing a dialog-box to pop up warning that a program is accessing the maibox and asking for permission to continue.  The only way around this is to use a third-party tool.  Also, where do you plan to run this application at?  If it's not on User1 or User2's computer, then the computer it's on will have to have Outlook, be connected to User1's profile, and potentially know User1's password.

Cheers!
Avatar of maonas
maonas

ASKER

The app should be on User1's computer under user1's domain accout with MS Outlook.
Ok.  I'll get the code posted shortly (within the next 24 hours).
ASKER CERTIFIED SOLUTION
Avatar of David Lee
David Lee
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of maonas

ASKER

Thank you BlueDevilFan
The solution it's great
Thank you, and you're welcome.
Avatar of maonas

ASKER

I think i have a problem when User2 add an appointment to User1's calendar the item.Organizer from Private Sub olkCalendar_ItemAdd(ByVal Item As Object) is "User1" not "User2".

Please help!