Mailbox using any SMTP email
500
Examples to use it:
docker run --rm \
-v /opt/data/folder_files:/tmp/folder_files \
-e SMTP_HOST=smtp.gmail.com \
-e SMTP_PORT=587 \
-e [email protected] \
-e [email protected] \
-e SMTP_PASS=your_app_password \
mail-sender \
[email protected] \
"Your OpenVPN Config" \
"Hi User, your file is attached." \
/tmp/user_file_path
- name: Send .ovpn using mail container with SMTP secrets
shell: >
docker run --rm
-v {{ openvpn_data_dir }}/{{ item.name }}.ovpn:/tmp/{{ item.name }}.ovpn
-e SMTP_HOST={{ smtp_host }}
-e SMTP_PORT={{ smtp_port }}
-e SMTP_FROM={{ smtp_from }}
-e SMTP_USER={{ smtp_user }}
-e SMTP_PASS={{ smtp_pass }}
mail-sender
{{ item.email }}
"Your OpenVPN Config"
"Hi {{ item.name }}, your config is attached."
/tmp/{{ item.name }}.ovpn
loop: "{{ vpn_email_recipients }}"
Content type
Image
Digest
sha256:e8cb9a4b5…
Size
60.5 MB
Last updated
over 1 year ago
docker pull camilo8aa/mail-sender:1.0.17