# AWX Email Notification

**URL:** <https://forum.ansible.com/t/awx-email-notification/37233>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 15, 2022, 11:04am UTC](https://forum.ansible.com/t/awx-email-notification/37233 "2022-10-15T11:04:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_Vandyy\_Vines](https://avatars.discourse-cdn.com/v4/letter/t/7993a0/32.png) [@The\_Vandyy\_Vines](https://forum.ansible.com/u/The_Vandyy_Vines)\
**Post date:** [October 15, 2022, 11:04am UTC](https://forum.ansible.com/t/awx-email-notification/37233/1 "2022-10-15T11:04:59Z")

</div>

**Can anyone help me in steps to set up the email notif in awx**  
**Gone through :** [https://docs.ansible.com/ansible-tower/latest/html/userguide/notifications.html](https://docs.ansible.com/ansible-tower/latest/html/userguide/notifications.html)  
Doubts are?

1. Is it the Host/Server where AWX GUI is installed or some other host?
2. is it the Port of AWX GUI which is 80/443 or is it Mail Client/SMTP port and what port number ?
3. is it my user made on AWX GUI server or from root user ?
4. and also do i need to set up a mail service container in my local host ( awx) or its in built ?

Please advise

---

<div class="post-metadata">

**Author:** ![Alex\_Shishko](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@Alex\_Shishko](https://forum.ansible.com/u/Alex_Shishko)\
**Post date:** [October 15, 2022, 2:34pm UTC](https://forum.ansible.com/t/awx-email-notification/37233/2 "2022-10-15T14:34:11Z")

</div>

Hello. You can’t configure gmail as smtp because **after 30 may 2022 year** Google don’t support third party mail clients.

I have example with public mail system of “Yandex company”.

Register on [https://yandex.com/](https://yandex.com/) your mail account and watch this video tutorial.  
[https://youtu.be/tVoPkYfFgS4](https://youtu.be/tVoPkYfFgS4)

сб, 15 окт. 2022 г. в 14:05, Vandana Thakur \<[vandanakec@gmail.com](mailto:vandanakec@gmail.com)\>:

---

<div class="post-metadata">

**Author:** ![The\_Vandyy\_Vines](https://avatars.discourse-cdn.com/v4/letter/t/7993a0/32.png) [@The\_Vandyy\_Vines](https://forum.ansible.com/u/The_Vandyy_Vines)\
**Post date:** [October 15, 2022, 6:08pm UTC](https://forum.ansible.com/t/awx-email-notification/37233/3 "2022-10-15T18:08:39Z")

</div>

The issue is different here:

```auto
[Errno 101] Network is unreachable : The setup you gave lead me here --> Where must be the logs to decipher the issue in AWx ( is ut awx_We or awx_task ?)

```

```auto
  -> And also do i need to set up a mail service container in my local host ( awx) or its in built ?

```

```auto
Target is just to get an email via AWX 

```

```auto

```

```auto

```

```auto

```

```auto

```

```auto

```

---

<div class="post-metadata">

**Author:** ![Alex\_Shishko](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@Alex\_Shishko](https://forum.ansible.com/u/Alex_Shishko)\
**Post date:** [October 16, 2022, 9:46am UTC](https://forum.ansible.com/t/awx-email-notification/37233/4 "2022-10-16T09:46:55Z")

</div>

```auto
And also do i need to set up a mail service container in my local host ( awx) or its in built ?

```

No, you don’t. Because AWX notification is using like mail client, for example like outlook that connect to mail server.

Do you have access to the Internet on the host with AWX?

I use MicroK8S for AWX deployment

And do this command for checking internet access in pods:  
linux@awx:~$ kubectl get pods -n awx  
NAME READY STATUS RESTARTS AGE  
awx-operator-controller-manager-5d9949568d-lhhxv 2/2 Running 9 (25m ago) 172d  
awx-postgres-0 1/1 Running 4 (25m ago) 172d  
awx-77b6cccc9d-gbmvk 4/4 Running 15 (25m ago) 172d

Then:  
linux@awx:~$ kubectl exec -n awx -i -t awx-77b6cccc9d-gbmvk --container awx-web – /bin/bash  
bash-5.1$

Then:

bash-5.1$ curl [https://automationtools.me](https://automationtools.me)

And it return me internet page. Pod awx-web has internet access!

сб, 15 окт. 2022 г. в 14:05, Vandana Thakur \<[vandanakec@gmail.com](mailto:vandanakec@gmail.com)\>:
