How can i send an email through UNIX mailx command
相关问题
- Why should we check WIFEXITED after wait in order
- UNIX Bash - Removing double quotes from specific s
- How to add sender name before sender address in py
- Android: Using Intent to send email - only offerin
- Verify if an email address exists or not
相关文章
- How do I make a forward e-mail link?
- Making new files automatically executable?
- Reverse four length of letters with sed in unix
- Extracting columns from text file using Perl one-l
- Problem with piping commands in C
- Debug HTML Email in Gmail App
- Sending email using php, gmail, and swiftmailer ca
- Makefile and use of $$
Its faster with MUTT command
Here you are :
PS. Body and subject should be kept within double quotes. Remove quotes from
FROM_EMAIL
andTo_EMAIL
while substituting email addresses.through
mailx
utility we can send a file fromunix
tomail server
. here in above code we can see first parameter is-s "subject of mail"
the second parameter ismail ID
and the last parameter is name of file which we want to attachCustomizing FROM address