How send a mail with no iteraction of the user

Copper Contributor

Hi, I'm Ruben Dario Fernandez from Uruguay.

I'm developer using Fivewin and I try send a mail with no iteraction of the user, (silent), but Outlook

show me a message with three possibilitty. "Allow" , "Not Allow", and "Help".

If I "Allow" the mail send it. But I want send it silently, with no iteraction with the user.


Last night Mr. Alvin from Microsoft try to help me, without result.


Best regards

Ruben Dario Fernandez


1 Reply


To send an email silently without user interaction in Outlook, you will need to use a method that bypasses the Outlook security prompts. The Outlook security prompts are designed to prevent automated processes from sending emails without user consent to improve security.

One way to achieve this is by using an Outlook add-in or an external application that can send emails programmatically. Here are a few options to consider:

  1. Outlook Add-ins:
    • You can create an Outlook add-in using Visual Studio that allows you to send emails programmatically without triggering security prompts. These add-ins can be installed on the user's Outlook client and have the necessary permissions to send emails.
    • This approach requires development skills and familiarity with the Outlook API. You will need to obtain the necessary permissions and publish the add-in.
  2. SMTP Server:
    • You can use an SMTP server to send emails silently without involving the Outlook client. This method doesn't require user interaction.
    • You can use programming languages like C#, Python, or any other language with SMTP libraries to send emails via an SMTP server.
  3. Scheduled Task or Automation:
    • If you want to automate email sending at specific intervals or in response to certain events, you can create a scheduled task or script that sends emails using an SMTP server. This can be done in the background without user interaction.

Here is a simplified example in Python using the smtplib library to send an email through an SMTP server:

Python code (untested):

import smtplib
from email.mime.text import MIMEText

# Email configuration
sender_email = "email address removed for privacy reasons"
receiver_email = "email address removed for privacy reasons"
subject = "Subject"
message = "Your message body"

# SMTP server settings
smtp_server = ""
smtp_port = 587
smtp_username = "your_username"
smtp_password = "your_password"

# Create the email message
msg = MIMEText(message)
msg["Subject"] = subject
msg["From"] = sender_email
msg["To"] = receiver_email

# Connect to the SMTP server and send the email
    with smtplib.SMTP(smtp_server, smtp_port) as server:
        server.login(smtp_username, smtp_password)
        server.sendmail(sender_email, receiver_email, msg.as_string())
        print("Email sent successfully.")
except Exception as e:
    print(f"Error sending email: {str(e)}")


Replace the placeholders with your actual email and SMTP server details. This code sends an email using Python and should work without user interaction as long as you have the correct SMTP server credentials.

Please note that sending emails programmatically without user consent should be done responsibly and for legitimate purposes, as email misuse may violate privacy and legal regulations.


My knowledge of this topic is limited, but since no one has answered it for at least one day or more, I entered your question in various AI. The text and the steps are the result of various AI's put together.


My answers are voluntary and without guarantee!


Hope this will help you.

Was the answer useful? Mark them as helpful and like it!

This will help all forum participants.