Sponsored Content
Full Discussion: Send mail from command line
Top Forums Shell Programming and Scripting Send mail from command line Post 302543641 by DGPickett on Monday 1st of August 2011 02:47:30 PM
Old 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

command line send mail

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

Command line/Script to send E-mail with HTML body and binary attachment

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

Unable to send e-mail using mailx command

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

[SOLVED] Command line mail taking too long to send; unable to qualify my own domain name

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

Error in send mail command

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

Need to send mail using mail command

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

Not able to send the mail using mail and mailx command

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

Mail command to send attachements

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

How to send mail using find command?

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

Unable to send mail with 'mail' command

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
CAPISUITEFAX(1) 														   CAPISUITEFAX(1)

NAME
capisuitefax - sending faxes with the CapiSuite default scripts SYNOPSIS
capisuitefax [-q] [-n] [-u user] [-A adr] [-S subj] -d number file... capisuitefax [-q] -a id capisuitefax -h capisuitefax -l DESCRIPTION
The default scripts for CapiSuite come with the tool capisuitefax for sending faxes. It will be called with some parameters telling it which file to send (it currently only supports PostScript and PDF files) and to which number. It will then enqueue the job converted to the right format into the send queue from which it's collected by another CapiSuite script and sent to the destination. If the sending was completed successfully or failed finally after trying for some time, the according user will get an email telling him/her what has happened. OPTIONS
-a id Abort the job with the given id. To get a job id, use the -l option. -A adr The addressee of the fax. This option is (currently) only for informational purposes and will be quoted in the sent status mail. -d number The number which should be called (destination of the fax) -h Show a short commandline help -l Shows the jobs which are currently in the send queue. -n Don't use the configured dial prefix for this job. Useful for internal jobs. -q Be quiet, don't output informational messages -S subj A subject for the fax. This option is (currently) only for informational purposes and will be quoted in the sent status mail. -u user Send fax as another user. Only allowed if capisuitefax is called as user root. This is mainly helpful for realizing extensions to e.g. do network faxing. file... One or more PostScript/PDF files to send to this destination. More than one PostScript file will produce several separate fax jobs. SEE ALSO
capisuite(8), capisuite.conf(5), fax.conf(5), answering_machine.conf(5) AUTHOR
Gernot Hillier <gernot@hillier.de>. CAPISUITEFAX(1)
All times are GMT -4. The time now is 11:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy