08-01-2011
Older UNIX needs 'mailx' to send with '-s subject', and of course the email flow must be configured off the host. You say 'I tried' but not what happened!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I am trying to send mail in ubuntu. I have installed postfix. In Redhat I could just type:
mail name@domain.com
I get the error that the command mail is not found. Does anyone know if there is a different command line to send mail? Can I install the command?
Thanks,
Eric (1 Reply)
Discussion started by: ejbrever
1 Replies
2. AIX
I apoligize for the cross-post but I'm not getting much in the way of help in the dummies forum:
I'm trying to script sending an e-mail message on an AIX 5.x server with the following requirements:
1. command line switch to specify file name containing message body in HTML format
2. command... (3 Replies)
Discussion started by: G-Man
3 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
Can you please help me in solving this. I am facing some problem sending mails.
If I use like this, I am able to send mail the mail
echo "This is an automated e-mail; please do not reply." | mailx -s "Good Morning ." 'abc@xys.com'
But if I use like this, then I am unable to send... (1 Reply)
Discussion started by: manas6
1 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I'm having a problem with my mail. When I send mail, it takes a long time for the send to complete.
In the below, datestamp is just a simple script to put in a no-white-space date/time stamp.
$ datestamp ; mail woodnt; datestamp
02-05-10@193844
Subject: test
timer
Cc: ... (0 Replies)
Discussion started by: Narnie
0 Replies
5. Shell Programming and Scripting
Hi,
I am getting the following error while running send mail command from a shell script?
Insufficient disk space; try again later
How to handle this error? (1 Reply)
Discussion started by: AhmedLakadkutta
1 Replies
6. Fedora
Hi Guys,
Am tried with the mail & mailx command to send mail to other localhost machine, Which are all connected in a LAN. I can not able to send, Either it wont display any error message at that time and later am receiving a failure mail.. But i can send and receive (from-to) in my machine..... (28 Replies)
Discussion started by: Adhi
28 Replies
7. Shell Programming and Scripting
Hi All,
I am trying to send a mail from linux server but could'nt able to send the mail.
I tried the below syntax's so far but no luck.
mail -s “Hello world” abc@xyz.com < /usr/g/txt.log
cat "txt.log" | mailx -s "Hello world" abc@xyz.com
mailx -s “Hello world” abc@xyz.com <... (2 Replies)
Discussion started by: scriptscript
2 Replies
8. AIX
I tried the below command
uuencode data.txt | mailx -s “Test Mail” “mrp@xyz.com”
But I get the below error
ksh: uuencode: not found.
Null Message body; hope that' ok
which clearly tell that uuencode utility is not found.
Is there any other way to send attachments with mail through... (7 Replies)
Discussion started by: rpm120
7 Replies
9. Shell Programming and Scripting
Hello,
I wanted to send mail to multiple receiptant by using uuencode with find command.
I have used the below find command to search a file, which generating daily at the particular time. .
find . -type f -mtime -1 -printf '%f %TH:%TM\n' | awk '$NF>"06:40" && $NF<"06:50" {print $1}'
I... (2 Replies)
Discussion started by: pokhraj_d
2 Replies
10. UNIX for Advanced & Expert Users
I am unable to cause the 'mail' command to send mail from my linux ubuntu 15.10 computer. File 'mail.log' typically reports Connection timed out.
I issue the command:
mail -s "my subject" recipient@domain.com < filenamewhere filename is a file containing my message.
Specifically, the... (3 Replies)
Discussion started by: tcnm
3 Replies
LEARN ABOUT DEBIAN
amc-mailing
AMC-MAILING(1) Auto Multiple Choice AMC-MAILING(1)
NAME
AMC-mailing - mail PDF annotated completed answer sheets to students
SYNOPSIS
auto-multiple-choice mailing [--xmlargs args.xml] --projet project-dir --students-list students-list.csv [--list-encoding encoding]
--email-column col --sender sender-email --subject subject --text email-body [--debug file.log]
[transport arguments...]
DESCRIPTION
The command AMC-mailing.pl sends by email the PDF annotated completed answer sheets to the students. Email addresses are taken from the
students list file.
--projet project-dir
Gives the project directory.
--students-list students-list.csv
sets the students list file name.
--list-encoding encoding
selects an encoding for file students-list.csv (default is utf-8).
--email-column col
sets the name of the column containing the email addresses of the students in the students list file.
--sender sender-email
sets the sender email.
--subject subject
sets the subject of the emails to send.
--text email-body
sets the body text of the emails to send.
--transport transport
sets the transport to use. transport may be sendmail or SMTP.
--debug file.log
gives a file to fill with debugging information.
TRANSPORT ARGUMENTS
Depending on the value used for argument transport, the following arguments can be added:
Transport sendmail
--sendmail-path path
sets the path to the sendmail command (defaults to /usr/sbin/sendmail).
Transport SMTP
--smtp-host host
sets the SMTP hostname (defaults to smtp).
--smtp-port port
sets the port to use (default value is 25).
ARGUMENTS IN A XML FILE
To avoid encoding problems, one can place some arguments in a XML file and use the --xmlargs file.xml argument as the first command
argument. Here is an exemple of such a file:
<?xml version="1.0" encoding="UTF-8"?>
<arguments>
<arg>--sender</arg><arg>Bienvenue <paamc@passoire.fr></arg>
<arg>--text</arg><arg>Voila votre copie corrigee</arg>
<arg>--subject</arg><arg>QCM</arg>
</arguments>
AUTHORS
Alexis Bienvenue <paamc@passoire.fr>
Main author
Jean Berard
Translation from French
Georges Khaznadar
Translation from French
COPYRIGHT
Copyright (C) 2008-2012 Alexis Bienvenue
This document can be used according to the terms of the GNU General Public License, version 2 or later.
Auto Multiple Choice 1.1.1 06/19/2012 AMC-MAILING(1)