1. Create the email body.
To: address@example.com
Subject: Subject
Content-Type: text/html; charset="us-ascii"
/* You can of course add more header lines if necessary. */
2. You of course have to replace the To address and the subject line.
3. Save this as mail_html.html.
4. Use sendmail to send this message:
# /usr/sbin/sendmail address@example.com < mail_html.html
No hay comentarios:
Publicar un comentario