Sponsored Content
Operating Systems Linux Ubuntu Sendemail... is there a receivemail? Post 302903102 by raylier on Saturday 24th of May 2014 12:02:04 PM
Old 05-24-2014
Sendemail... is there a receivemail?

Hello,

I installed the
Code:
sendemail

program for commandline/script outgoing mail. It works great. I was wondering if there is some simple program to receive mail. Something like the sendemail program...

Grtz
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sendEmail: Script and Array

I have a script that send email using sendEmail (CentOS shell) script is: sendEmail -vvv -u "TestCompany, Inc.: USB Added" -f user@domain.com -t To@domain.com -s ASPMX.L.GOOGLE.com -m "USB Activity" -o tls=aut o username=user3@domain.com password=password So far this works fine. Now i... (5 Replies)
Discussion started by: kashif.live
5 Replies

2. Solaris

Solaris 10 Sendemail with Attachment

Hello I need your kind help for configuring email on Solaris 10 so I can send reports from the system to my management and my colleagues. I have the IP address of the email server of my company and the port 2525. I went through many documents online with no luck. Can any one help me... (4 Replies)
Discussion started by: samer.odeh
4 Replies

3. Shell Programming and Scripting

SendEmail - Script reading database file with sleep command

Hello, I would like to send email message to my mail list. I have been running linux based server and I submitted this process manually up to now. I would like to send each individual with a shell script. In ssh panel, I tested below command and it works smoothly. sendEmail -t... (1 Reply)
Discussion started by: baris35
1 Replies

4. Solaris

Send multi content email using sendemail utility

Hi Guys, I am trying to send email from solaris server using sendemail utility. I want to send multi content email. For example, i want to send email body with html file and a attachment of txt file. I using below code but the html not render correctly in email body. ( echo "To:... (2 Replies)
Discussion started by: tharmendran
2 Replies

5. UNIX for Dummies Questions & Answers

Sendemail Error - Authentication... failed

SCO Unix OpenServer v6. We use the script below for sending mass emails with attachments. sendemail -f $From_user -o message-file=/u/fg4/data/EmailDefaultBody.html -u $su bj -s $MAIL_SRVR -xu $MAIL_USER -xp $MAIL_PSWD -a $emlname.pdf -t $MAILTO MAIL_SVR=SMPTOUT.SECURESERVER.NET ... (0 Replies)
Discussion started by: jet47
0 Replies

6. Shell Programming and Scripting

SendEmail and Variable

Hi everyone, I try to send an email with "sendemail", I created four variables for do cleaner but it doesn't work :( below : #!/bin/bash sender=$(X@x.com) recipient=$(x@x.com) subject=$(Files Copy) server=$(x.x.x.x) /usr/bin/sendemail -f $sender -t $recipient -u $subject -m blablabla... (2 Replies)
Discussion started by: Arnaudh78
2 Replies

7. Shell Programming and Scripting

Sendemail how to send an email with a subject variable

Hi,:) I try this : #!/bin/bash sender="me@example.com" recipient="you@example.com" subject="TEST FILE" server="0.0.0.0" file=$(cat file.txt) /usr/bin/sendemail -f $sender -t $recipient -u $subject -m $file My file.txt: BLABLALA BLABLABLA (7 Replies)
Discussion started by: Arnaudh78
7 Replies
NEWMAIL(1)							  Mail Utilities							NEWMAIL(1)

NAME
newmail - biff like tool for the terminal SYNOPSIS
newmail [-b] [-h] [-i interval] [-r] [-w] [ mbox [...]] DESCRIPTION
The newmail program monitors a given set of mailboxes and looks for new mail. If new mail is received the sender and subject will be writ- ten on the terminal it was started from. By default newmail puts itself in the background so the console is still usable. newmail is able to monitor arbitrary numbers of mailbox files. If no mailbox was specified on the commandline it will monitor the default mailbox, which may be overwritten by the MAIL environment variable. If more than one mailbox is being monitored, a prefix is printed for each mail line so the user can distinguish between the different mail- box files. By default the prefix is the name of the mailbox without its path. If a mailbox is specified as path=string then string will be used as prefix for mails received in the mailbox denoted by path. newmail is able to decode header lines when non-ascii characters are transported. They will be displayed properly if the locale (LC_CTYPE) is set accordingly. OPTIONS
-b Ring a bell after one or more incoming mails have been detected for at least one mailbox. -h Print a help message. -i interval Set the interval between two mailbox checks to interval seconds. The default is 60 seconds which is suffient for the terminal. For the use inside of a window or dock application a lower value may be prudent. -r Emit raw data from the mail. This will bypass routines to decode character encodings used for mail headers as described in RFC 2047. This may be useful for window applications that want to decode the strings on their own. -w Run as window application. This will prevent newmail from moving itself into the background so its output can be used as input for a window application. This will also change the output format slightly and prevent a bell to be rung after new mail has been received. OUTPUT FORMAT
The output format differs from being read by humans and programs (-w). newmail: >> Mail from <from> - <subject> >> Priority mail from <from> - <subject> >> <folder>: Mail from <from> - <subject> >> <folder>: Priority mail from <from> - <subject> newmail -w: <from> - <subject> Priority: <from> - <subject> <folder>: <from> - <subject> <folder>: Priority: <from> - <subject> It should be easy for third party programs which are interested in such information to parse the output when newmail is running with the -w option. ENVIRONMENT
newmail supports the following environment variables: LANG Locale setting for the output character set. LC_CTYPE Locale setting only for the output character set. MAIL Full path of the user's spool mailbox. NOTES
This program is inspired by the newmail program from the Elm interactive mail program. It is a rewrite from scratch though. Many thanks go to Dave Taylor and the Elm Development Group who have provided me with a great mail program for several years. Many addi- tional thanks go to the former lead developer Dave Taylor who started the program back in 1986. SEE ALSO
locale(7). AUTHOR
Joey Schulze <joey@infodrom.org> Infodrom Oldenburg February 8th, 2006 NEWMAIL(1)
All times are GMT -4. The time now is 06:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy