spf-dkim-dmarc-demo/sender/scripts/send_newsletter.sh

25 lines
655 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
sendmail -f info@newsletter.expediteur.example -F "Newsletter" \
destinataire@destinataire.example <<EOF
Subject: NEWSLETTER: Ne manquez pas nos soldes! 💰🛒
Content-Type: text/html; charset=utf-8
<html>
<body>
<p>Bonjour bonjour!</p>
<p>
Nous allons bientôt entamer la période des soldes. Profitez-en pour
faire de bonnes affaires chez nous!
</p>
<p>
Dans le prochain numéro de cette newsletter, nous vous proposerons
quelques offres <strong>irrésistibles</strong>. Ne les manquez pas!
</p>
<p>Cordialement,</p>
<p>Le marketing.</p>
</body>
</html>
EOF