Recently I discovered the following; every new Terminal window that opened under macOS showing the mysterious notice
You have mail. . In this tutorial, you’ll learn how to manage (read, delete, etc.) the mails from this notice.
What causes this noticeGoogle Mail App
This notice message is seems to be a self explanatory, but… At first I thought that this is about emails from the Mail app, but everything was clean there. After a short web-search, it turned out that this notice was created by the console tool called “mail”, which is built into every macOS. This tool provides a functionality to send mail internally. Some apps use this functionality for various reasons.
How to manage it
It is not recommended to use the rm method since you can mistakenly remove wrong file and it is no longer in trash. But if you must: Instructions. Type sudo rm –f (with a space after the f and not including the quotes) to delete a file. Type sudo rm –rf to delete a folder. Drag and drop the files you wish to delete onto the open Terminal window. The files you drop on the Terminal window. Remove files from Trash, including ones you can’t delete by simply emptying the trash. Get rid of files that are invisible to you within Finder (usually system or root files, for example,.htaccess). Delete files and folders in cases when Finder is unresponsive. Note: The Mac command line delete file feature is final and irreversible. In the Terminal app on your Mac, choose Terminal Quit Terminal. Quit a shell session In the Terminal app on your Mac, in the window running the shell process you want to quit, type exit, then press Return. This ensures that commands actively running in the shell are closed. Jul 31, 2014 How to Completely Remove Apps & Software in Mac OS X by Manual Terminal Uninstall Jul 31, 2014 - 28 Comments Most apps in Mac OS X can be uninstalled easily by dragging them into the Trash from the /Applications/ folder, and many others come with accompanying uninstall applications that will clean house and completely remove the apps too.
Once we know what tool is creating the notice, we can use it to manage the mails. Managing the mails is a really easy process. Now, step by step guide.
Jul 11, 2020 Place the cursor over the icon of the Dock item you wish to remove, and then either right-click or control-click the icon. A pop-up menu will appear. Select the Options Remove from Dock item from the pop-up Dock menu. The Dock item will be removed.
Read each mail individually and delete
Viewing the content of the mail(s) may help you identify what attempted to send the mail(s).
Launch the Terminal app from the Utilities folder of your Applications folder, or use Spotlight to find it.
Copy clip app mac. Type the following command to see the list of mails you’ve received:
Type
t to see the content of the first mail.
You can also view a specific mail by entering its number at the
? prompt. 3, for example, will show you the contents of the third message. Mac app that can open a pub documents.
You can scroll down using the “down-arrow” ( ↓ ) key. To jump to the end of the mail use the “spacebar” key.
How To Delete The Mail App From Mac
Once you have read the mail type
d to delete it, or type n to view the next mail.
When done, type
q to save the changes and quit the Mail tool.
Delete all mails
Launch the Terminal app from the Utilities folder of your Applications folder, or use Spotlight to find it.
Type the following command to see the list of mails you’ve received:
Type the following to delete all the mails:
When done, type
q to save the changes and quit the Mail tool.
Delete all mails without using the Mail tool
If you are not interested in determining the source of the mails and just want to get rid of them, it may be easier to do so without using the mail tool (which may be somewhat fiddly). Instead, you can use the following command to delete all the mails (replace the “USERNAME” with your username):
Warning! Do not forget to replace the
USERNAME with your username before pressing the Enter key.
Note! This command will prompt us to enter our computer password. Enter your password when prompted. It’s normal that the password you enter is not displayed. This is how the password is entered on the command line. Just enter your password, and then press the Enter key.
Conclusion
That’s it, you’re done. Now you have read and deleted the internal mails. So simple isn’t it?
I hope this article has helped you learn how to manage (read, delete, etc.) the internal mails that was created by the console tool called “mail”. If this article helped you then please leave a comment
How To Remove Mail App From Mac Terminal Password
Thanks for reading!
Mail App Windows 10
Arthur is a designer and full stack software engineer. He is the founder of Space X-Chimp and the blog My Cyber Universe. His personal website can be found at arthurgareginyan.com.
Follow Arthur
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |