Mail command to send attachements


 
Thread Tools Search this Thread
Operating Systems AIX Mail command to send attachements
# 8  
Old 02-17-2014
Quote:
Originally Posted by Yoda
If uuencode is missing then how about using base64?
yes, that (and a few other encoders/decoders) would work too as they can uuencode/decode as well, but to install it you'd need superuser rights and the thread opener said he doesn't have them. So the best advice i could think of is to get the admin to install it. Installing it is no big deal as it is on the standard distribution medium. It is not like you would have to extensively search for anything, just put the installation CD in and start installation.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. Shell Programming and Scripting

Sendmail to send attachements

Hello All, I have been trying to execute a script to send me alerts using a log file of a job which can be success or failed. But when I try to send log as attachment using sendmail it does not not send any email but job runs fine. I am not able to debug it. Please help to get the correct code.... (1 Reply)
Discussion started by: Rossdba
1 Replies

4. 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

5. 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

6. UNIX for Dummies Questions & Answers

Issues in sending mail with attachements

Hi I am using the below command to send mail from unix with body as well as attachment. But the attachment is in encoded form in the body itself. I am not receiving as attachment: (cat body_success.txt;uuencode Log.txt Log.txt)| mailx -s "success" $ToID I am receiving... (5 Replies)
Discussion started by: pandeesh
5 Replies

7. UNIX for Advanced & Expert Users

Problem while sending mail with attachements

Hi All, I am using mailx command in shell script to send mail with output files as attachment to my email id. When my colleague is running the shell script (script code mentioned below), he is getting the mail but without attachment. Attachment is appeared as junk characters in mail... (4 Replies)
Discussion started by: nishant_pathak_
4 Replies

8. 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

9. Shell Programming and Scripting

Send Attachements in Mail (CSHELL)

Hi All, Is there any way we can send attachement in a mail from the script using CSHELL. Thanks in Advance. (1 Reply)
Discussion started by: surfsg24
1 Replies

10. Linux

attachements with mail command

Is there any way to send attachments via "mail" command from the terminal? im writing a simple bash script to send my backups to my email address (2 Replies)
Discussion started by: C|[anti-trust]
2 Replies
Login or Register to Ask a Question
Log::Dispatch::Email::MailSend(3pm)			User Contributed Perl Documentation		       Log::Dispatch::Email::MailSend(3pm)

NAME
Log::Dispatch::Email::MailSend - Subclass of Log::Dispatch::Email that uses the Mail::Send module VERSION
version 2.32 SYNOPSIS
use Log::Dispatch; my $log = Log::Dispatch->new( outputs => [ [ 'Email::MailSend', min_level => 'emerg', to => [qw( foo@example.com bar@example.org )], subject => 'Big error!' ] ], ); $log->emerg("Something bad is happening"); DESCRIPTION
This is a subclass of Log::Dispatch::Email that implements the send_email method using the Mail::Send module. CHANGING HOW MAIL IS SENT
Since Mail::Send is a subclass of Mail::Mailer, you can change how mail is sent from this module by simply "use"ing Mail::Mailer in your code before mail is sent. For example, to send mail via smtp, you could do: use Mail::Mailer 'smtp', Server => 'foo.example.com'; For more details, see the Mail::Mailer docs. AUTHOR
Dave Rolsky <autarch@urth.org> COPYRIGHT AND LICENSE
This software is Copyright (c) 2011 by Dave Rolsky. This is free software, licensed under: The Artistic License 2.0 (GPL Compatible) perl v5.14.2 2012-05-25 Log::Dispatch::Email::MailSend(3pm)