Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    hotmail notification setup

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 3 Posters 985 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Patian
      last edited by

      hi all,

      This should be very simple to setup, but i am not able to get it to work. Any advise is appreciated.

      I cut out the "com" to avoid label as spam by akismet

      Error message as follow:

      Could not send the message to yyy@gmail. -- Error: Failed to connect to ssl://smtp-mail.outlook. :587 [SMTP: Failed to connect socket: stream_socket_client(): unable to connect to ssl://smtp-mail.outlook. :587 (Unknown error) (code: -1, response: )]

      The setup as follow:
      smtp server: smtp-mail.outlook.
      port:587
      enable smtp over ssl/tls

      From: xxx.hotmail.
      to: yyy@gmail.

      user: xxx.hotmail.
      pwd: zzz

      mechanism: LOGIN

      The identical setting has been tested on a IP camera SMTP notification and it works

      Best Regards

      A 1 Reply Last reply Reply Quote 0
      • A
        azdeltawye @Patian
        last edited by

        @patian
        Hello,
        I get the same exact error when trying to use my Gmail acct. in pfsense. And also no issue authenticating to gmail with generic automation devices and security cameras...

        After trying unsuccessfully for several days l gave up..

        And yes, two-factor authentication is turned off on Gmail.

        GertjanG 1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @azdeltawye
          last edited by Gertjan

          @azdeltawye said in hotmail notification setup:

          I get the same exact error when trying to use my Gmail acct.

          What error ?
          This one :

          bf237de6-bfa8-42c8-870b-953fc9a696d2-image.png

          That's because 'unknown' mail clients like your pfSense will get refused out of the box.
          So, do what the link tells you to do so ^^

          This works for me :

          352fb043-344c-4307-ac09-32b2d817168c-image.png

          4f9f8110-5a4b-46ef-86db-166b87046b14-image.png

          And I received the mail - from myself == my pfSense.

          Btw :

          As the red link explains, you can not use your ordinary gmail mail password.
          You should create an "App" password, specifically for this mail client "pfSense".
          Call the App whatever you want, like "pfSense".
          You will receive a random generated password, like :

          157a49ab-7fde-4e82-abfa-29d957d170a3-image.png

          ( you will receive a mail from Google that you granted access to an App type device from Gmail )

          Use this password as the gmail password in the pfSense Notification settings.
          Just Copy Paste.

          If, in the future, you want to disable the "pfSense" access to you gmail acount, all you have to do is delete the special "pfSense App" entry password in your Google Account. So, even if you lost access or control over this device, you can make it stop using your mail.

          @azdeltawye said in hotmail notification setup:

          And yes, two-factor authentication is turned off on Gmail.

          Turn it back on. It's not the one bothering you.

          Btw : This

          @patian said in hotmail notification setup:

          smtp-mail.outlook. :587

          this is plain wrong as the tld is missing.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          P A 2 Replies Last reply Reply Quote 1
          • P
            Patian @Gertjan
            last edited by

            @gertjan

            For your information, I was not able to post on the forum unless I took out all the ".com" from the message content. As the Askimet flags it as spam. :(

            I read from the forum on how to go around it.

            I explained it in my first message.

            Does anyone got the notification work on hotmail?

            I prefer to use hotmail to send notification to my gmail.

            It is because gmail will eventually ban the smtp access if the system detects a lot of notification coming from your device.

            It happened to my outdoor IP camera motion detection. From time to time, i have to create new gmail account for sending out motion notification.

            Best Regards

            1 Reply Last reply Reply Quote 0
            • A
              azdeltawye @Gertjan
              last edited by

              @gertjan
              Hey THanks for the tip! It worked!!
              Never thought of generating and APP password...

              My not-so-smart 'smart' devices like NVR and IP cams were able to use the regular Gmail password.

              BTW you have to turn on Two Factor Authentication to allow the
              app password generator function to work..

              Thanks again!

              1 Reply Last reply Reply Quote 0
              • GertjanG Gertjan referenced this topic on
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.