AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Mail command in linux with attachment3/13/2024 ![]() , That is the message with the Message-ID given in the `In-Reply-To:’.:d All deleted messages (for the undelete command).□ All old messages (any not in state read or new).Held 1 message in /var/spool/mail/root Mail command controls to manage mailbox ![]() To send an email from command line simply use Linux mail command as mentioned below ~]# mail -s "Testing Message" N 1 root Fri Mar 17 21:40 18/630 "Testing Email"Ĭontent-Type: text/plain charset=us-ascii $apt-get install mailutils Sending simple Email message from Command line Install mail utilities #yum install mailx* Complex tasks can also be achieved along with programs.Advantages Linux Mail Command Line utility Linux Mail command is dependent on sendmail / postfix email services, because without any mail services email can’t be routed. Let’s see in detailed information about mail utility. ![]() Linux Mail command will help us in send email command line utility. Sending email from Linux command line would he more helpful when we are trying to automate from programs / applications.
0 Comments
Read More
Leave a Reply. |