Server Sendmail
Installation of sendmail in the server droplet / machine
Last updated
Installation of sendmail in the server droplet / machine
Last updated
This guide is focus more on Linux OS
Firstly, install Sendmail using the command:
Now configure /etc/hosts file. To find the hostname, use the command:
Then type the command:
On the line starting with 127.0.0.1, add the hostname to the end so it looks the same as:
Now press Ctrl+x, then βYβ to save and exit.
Run Sendmailβs config and answer βYβ to everything
Now restart Apache with the command:
Congrats!, your server can now send an email using our recruit application.
You can use the following instructions to send email using the sendmail command:
For example, I have created a file
file.txt
with the following text:
The command for sending the message will be:
You can use -s option to specify the email subject.
Reference: