By Nay
How Can I Acess my Webmail?
Can I read and send emails by Console SSH?
I am using CentoS on Apache.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
In order to use email, you would need to install a mail application, but you may not want to do that: https://www.digitalocean.com/community/tutorials/why-you-may-not-want-to-run-your-own-mail-server
What kind of webmail application are you using? With more detail, we may be able to offer assistance.
Yes, you can read and send emails via SSH using the console. Here’s how:
sudo apt-get install mailutils
sudo yum install mailx
echo "Email body text" | mail -s "Subject here" recipient@example.com
mail to list and read emails:mail
Enter to read the next message.? for help.q to quit.You need a properly configured mail server (like Postfix) on your server to send and receive emails. Also, you’ll need to use safe ports lik 456 or 587
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.