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.
Need to test if working fine?, follow steps below.
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: https://www.digitalocean.com/community/tutorials/send-email-linux-command-line