Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export REPLYTO=cms-replies@example.com
- mail -aFrom:cms-sends@example.com -s 'Testing'
- export REPLYTO=cms-replies@example.com
- mail -aFrom:cms-sends@example.com -s 'Testing'
- export REPLYTO=cms-replies@example.com
- mail -aFrom:cms-sends@example.com -s 'Testing'
- mail -s "Subject" user@address.com -- -f from@address.com < body
- echo "Hello there" | mail -s "testing" -r sender@company.com recipient@company.com
- mail
- mail -s "$(echo -e "This is the subjectnFrom: Paula <johny@paula.com>n
- Reply-to: 1232564@yourserver.comnContent-Type: text/htmln")"
- milas.josh@gmail.com < htmlFileMessage.txt
- mail -s "$SUBJECT" $MAILTO -- -F $MAILFROM -f ${MAILFROM}@somedomain.com
- echo test | mail -s "test" example@example.com -- -F'Some Name<example2@example.com>' -t
- mail to-addr ... -sendmail-options ...
- mail recepient@example.com -f from@example.com
- mail -s "Subject" user@address.com -- -f from@address.com
- apt-get install heirloom-mailx
- update-alternatives --config mailx
- mail -s "Testing from & replyto" -r "sender <sender@example.com>" -S replyto="sender@example.com" recipient@example.net < <(echo "Test message")
- echo "This is the body of the mail" | mail -s 'This is the subject' '<receiver-id1@email.com>,<receiver-id2@email.com>' -- -F '<SenderName>' -f '<from-id@email.com>'
- echo "email body" | mail -s "Subject here" -r from_email_address email_address_to
- echo "hi root"|mail -rsawrub@testingdomain.org -s'testinggg' root
- sudo apt-get install heirloom-mailx
- sudo vim /etc/ssmtp/ssmtp.conf
- mailhub=smtp.gmail.com:587
- FromLineOverride=YES
- AuthUser=???@gmail.com
- AuthPass=???
- UseSTARTTLS=YES
- sender='send@domain.com'
- recipient='recipient@domain.com'
- zipfile="results/file.zip"
- today=`date +%d-%m-%Y`
- mailSubject='My subject on the '$today
- read -r -d '' mailBody << EOM
- Find attached the zip file.
- Regards,
- EOM
- mail -s "$mailSubject" -r "Name <$sender>" -S replyto="$sender" -a $zipfile $recipient < <(echo $mailBody)
- export EMAIL=myfrom@example.com
- export REPLYTO=myreplyto@example.com
- mutt -s Testing chris@example.org
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement