Results 1 to 4 of 4

Thread: Get rid of annoying Outlook messages

  1. #1

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Get rid of annoying Outlook messages

    Is there a way one can write your own code that stop the popup window when your application attempt to send a mail?

    I can use Express ClickYes, but would like to write my own method taking care of this.
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Get rid of annoying Outlook messages

    I felt the need to comment on this even though I don't really have a solution. Microsoft added that feature to Outlook to help guard against worms and other malware sending e-mail without a user's permission. If there was an easy way to circumvent it then that would defeat the purpose. Microsoft has been roundly criticised for the lack of security in its software, and Outlook has been blamed for a large portion of the spread of worms in recent times. That "annoying" popup window is designed to protect the user and the e-mail using population in general.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Re: Get rid of annoying Outlook messages

    I agree with you jmcilhinney.

    It would be cool if MS itself distributed a licensed little tool one could use to automatically send mails, controlling the "problem". But on the other hand that is what anti-virus software is for.

    No wait..this can easily result into one long debate, and face it...There is no real "right" or "wrong" to the idea of automated mails.

    In my case, my application is completely innocent, sending mails to employees, but using the same code, I could send out trillions of mails with the click of a button.
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Get rid of annoying Outlook messages

    In VB6 we could write Add-Ins for Outlook. When we did that it would make available the Outlook Application object instance in the OnConnection procedure. This instance was the only Trusted instance and would eliminate most of the popups. I never had a project that needed to send emails from an add in and its been a while since I wrote one in VB6 but I dont think the Send ing popup was something that was surpressed.

    The security dialog is secure from any access to the message stream so you cant try to dismiss it via code.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width