473,378 Members | 1,387 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Security problem within MAPI/Outlook

I have an application sending e-mail within my organization based on an
existing MAPI session. The users are using Outlook as the primary e-mail
program. Based on the security updates within Outlook I am no longer able to
automate the internal mailing trough my VB program, because the user must
approve of the program to get access to the address book every time an
e-mail is processed. Is there a workaround that enable this kind of
functionality. (All my clients are connected to the same Exchange Server)

TIRislaa
Nov 21 '05 #1
2 1251
Q
Hello there,

isn't it better to use System.Web.Mail instead of MAPI.
I used to use MAPI to send e-mail from within my vb-application and I
experienced the same problem.

Now, I'm using System.Web.Mail and I don't have these problems anymore!

Example:
Imports System.Web.Mail
Dim MyMail as SMTPMail
Dim MyMessage as new MailMessage
MyMail.SMTPServer = 'your server name
MyMessage.To = ' the TO-addressee
MyMessage.From = 'the from addressee
MyMessage.Subject = "This is the subject of your message"
.....
MyMail.Send(MyMessage)
....

Hope this helps!

Regards,

Q
"Tor Inge Rislaa" <no*************@rislaa.no> wrote in message
news:KZ******************@news4.e.nsc.no...
I have an application sending e-mail within my organization based on an
existing MAPI session. The users are using Outlook as the primary e-mail
program. Based on the security updates within Outlook I am no longer able
to
automate the internal mailing trough my VB program, because the user must
approve of the program to get access to the address book every time an
e-mail is processed. Is there a workaround that enable this kind of
functionality. (All my clients are connected to the same Exchange Server)

TIRislaa

Nov 21 '05 #2
Q
Hello again,

If I remember correctly, you can check with MAPI if the addressee that you
are using is correct.
I don't know anymore how this is done but,
I thought that if you don't perform this check you won't have these
problems.
But I'm not very sure of this.

Could you keep me informed if any of these solutions were any good?

Regards,

Q
"Tor Inge Rislaa" <no*************@rislaa.no> wrote in message
news:KZ******************@news4.e.nsc.no...
I have an application sending e-mail within my organization based on an
existing MAPI session. The users are using Outlook as the primary e-mail
program. Based on the security updates within Outlook I am no longer able
to
automate the internal mailing trough my VB program, because the user must
approve of the program to get access to the address book every time an
e-mail is processed. Is there a workaround that enable this kind of
functionality. (All my clients are connected to the same Exchange Server)

TIRislaa

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Siegfried Heintze | last post by:
Does the Outlook API supersede MAPI? If I implement a SPAM filter using MAPI to automatically delete messages from the message store, will other clients like Eudora benefit? If I implement a...
4
by: Kurt | last post by:
Hi I am using CDO 1.21 from C# in order to iterate through the entries in a users outlook address book (as OOM was too slow). Basically I take the Name field from each "message" and insert it into...
3
by: Yavuz Bogazci | last post by:
Hi, i am connecting to my outlook via vb.net and mapi. When i want to access an Mailitem an get its properties i get an Security Message form Outlook popping up saying somethin like "A program...
3
by: Siegfried Heintze | last post by:
Does the Outlook API supersede MAPI? If I implement a SPAM filter using MAPI to automatically delete messages from the message store, will other clients like Eudora benefit? If I implement a...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.