Ad Widget

Collapse

Sending email notifications with gmail

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wesly1988
    Junior Member
    • Jul 2018
    • 3

    #1

    Sending email notifications with gmail

    I have been busy trying this for hours now. What am I missing here? Does anybody have any clues?

    I am trying to send notifications emails with zabbix to gmail. Have set up the email account as follow.
    Type: 'Email' SMTP Server: 'smtp.gmail.com' SMTP server Port: '25' SMTP HELO: 'gmail.com' SMTP email: '[username]@gmail.com' Connection security 'none' Authentication: 'username and password' Username '[username]' // without @gmail.com Password '[password]' Enabled 'checked'
    I have also created an action and a trigger. This works perfect.

    If I look at reports and audits I see the following;
    07/30/2018 04:44:31 PM wesley 111.108.30.208 Media type Updated 0 Media type [Email] 07/30/2018 04:43:28 PM wesley 111.108.30.208 Action Updated 0 Name: Asterisk Communication 07/30/2018 04:40:56 PM wesley 111.108.30.208 Action Updated 0 Name: Asterisk Communication 07/30/2018 04:40:32 PM wesley 111.108.30.208 Action Updated 0 Name: Asterisk Communication 07/30/2018 04:40:01 PM wesley 111.108.30.208 Action Updated 0 Name: Asterisk Communication 07/30/2018 04:39:46 PM wesley 111.108.30.208 Action Updated 0 Name: Asterisk Communication 07/30/2018 04:30:38 PM wesley 111.108.30.208 Media type Updated 0 Media type [Email] 07/30/2018 04:15:10 PM wesley 111.108.30.208 Media type Updated 0 Media type [Email]
    It seems to me that the function is working like it should, but I don't receive any emails. Am I doing something wrong here?

    I also set the non-secure apps options on in Gmail and I have opened port 25 on the server.

    Help is highly appreciated. As always Thank you!
  • wesly1988
    Junior Member
    • Jul 2018
    • 3

    #2
    The port they using in the example is wrong.
    It should be 587.

    but thank you
    made it work.

    Comment

    • ZaBeast
      Member
      • Sep 2019
      • 42

      #3
      At the link below you can find excellent step-by-step instructions on how to configure Zabbix email notifications via Gmail:
      Learn how to setup Zabbix alerts via Gmail, Office 365, or any mail server! Configure advance Zabbix email notifications & escalations and more!

      Comment

      • dave45
        Junior Member
        • Apr 2020
        • 1

        #4
        I also had an issue with Zabbix not being able to send messages and always receiving the error message "Login denied".
        What I ended up doing was to configure 2FA on my Google account and create an App password for Zabbix and everything just works by following this article https://support.google.com/accounts/answer/185833.

        Comment

        Working...