Hi Guys, I have written a play for sending an email. I am able to send an email but in receivers inbox it's going into spam folder. Can someone please help so that mail will go in inbox. Thanks in advance.
- name: Mail sending Using mail Module mail: host: localhost port: 25 to: [email protected] subject: Ansible Port Configuration Output body: <pre> {{ lookup('file', "./output/{{ inventory_hostname }}.txt") }} </pre> delegate_to: localhost -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/0271ddb2-e27b-4c1b-92d4-78993716f5ddn%40googlegroups.com.
