|
-
Mar 2nd, 2012, 10:38 AM
#1
Re: MAPISession.SignOn Not Setting SessionID Win 7
This doesn't fix the problem but it's a suggestion.
Microsoft and other large vendors have completely given up on using email to send crash reports and feedback from within programs. Lots of this is simply due to "hardening" against exploits within the global SMTP network, operating systems, email clients, and email servers. MAPI in particular is losing ground as a practical tool because the pressure of exploits has led Microsoft to stop including a local mail client in Windows out of the box and for that matter even corporate users are moving to hosted Web-based mail like GMail.
That last point was the deal-killer for me, and adoption of 3rd party hosted email is only growing.
You appear to be using the VB6 MAPI controls, which in turn use Simple MAPI which is sometimes not provided by some email client software and has erratic support at best in current Windows versions.
In light of this you might consider doing what others do. Most Microsoft products seem to use some sort of Web Service to phone home with these kids of posts now. I've moved to WebDAV because it requires less infrastructure development on the server side (you can "rent" hosted WebDAV space cheaply or even for free).
You still want to pop up a dialog informing the user, and perhaps even offer them a "don't send" opt-out button. And you still might want to offer a "see details" button to pop up a secondary dialog or expanded window showing them what you are going to send. You might even offer them a "save details to disk" button for the truly paranoid.
But email is basically dead for this kind of thing.
-
Mar 2nd, 2012, 12:11 PM
#2
Thread Starter
New Member
Re: MAPISession.SignOn Not Setting SessionID Win 7
incidentals: Yes my code is Identical to the code you found. It's where I got it from but I couldn't find the address in by history. My code throws on .Compose so I don't get a chance to set .AddrssResolveUI or .RecipDisplayName. I've tried moving .Compose down but all that does is push the problem of no SessionID to .MsgSubject where I get a "Property is read only when not using a compose buffer.
Nightwalker83: Your code need Redemption or Outlook. I can't tell my customers to switch to Outlook. It looks like Redemption needs outlook too.
The problem is I can't tell my customers to all switch over to Outlook, at that point my software becomes too expensive for them. My code above works i xp. How do I make it work in Windows 7?
I know that email is on its way out but I currently have a little over a thousand customers that want user their desktop email client. So That is what I'm attempting to facilitate.
dilettante: I currently am using a form I made that does what you suggest, throws the output to a save as and transmits it to another system they have access to. But now they need to email this data to their customers and they want it sent as an attachment to their desktop email client.
So the code about works in XP. In windows 7 I can right click on a file in Explorer, Select Send To -> Mail Recipient and the default mail Client (as set by Default Programs) opens to it's compose screen with that file as it's attachment (Hell if it's a jpg it even asks what size you want it!) There must be a way to tap into this space magic from VB. I'm trying to figure out how
Tags for this Thread
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
|