sendmail's Examples

This command would send a content of zabbix_agentd.conf to rajesh@gmail.com in email body.

sendmail rajesh@gmail.com  < /etc/zabbix/zabbix_agentd.conf

The Linux sendmail command sends emails by reading a properly formatted message from a file or standard input and routing it via SMTP.

sendmail user@example.com < email.txt

DevOpsSchool
Typically replies within an hour

DevOpsSchool
Hi there 👋

How can I help you?
×
Chat with Us