Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
Send mail confirmation dialog
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Bharanidharan Arul
16y
1.9k
1
Reply
Hello friends
I used Outlook interop to send a mail like this
Application OutlookApp = new ApplicationClass();
MailItem OutlookMail=(MailItem)OutlookApp.CreateItem(OlItemType.olMailItem);
OutlookMail.To = "
[email protected]
";
OutlookMail.Subject = "TEST";
OutlookMail.Body = "This is a test message";
OutlookMail.Send();
It is working fine. But before sending a mail, Outlook which is running in the background pops a dialog saying
A program is trying to send e-mail on your behalf.
Do you want to allow this?
If this is unexpected, it may be a virus and you should choose "No".
I don't want this dialog to appear. How to disable it?
Regards
Bharani
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
load C++ dll from C#
Getting HelpString info from a VB dll?