Sponsored Content
Top Forums Shell Programming and Scripting Help needed for sending email attachment Post 302923253 by Corona688 on Friday 31st of October 2014 01:50:21 PM
Old 10-31-2014
What do you have? Do you have any MTA at all?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sending email w/ ftp log as attachment

Can this be done? Code samples welcome and encouraged. (2 Replies)
Discussion started by: idesaj
2 Replies

2. Programming

C code for Sending Email with attachment

Hi, I need the C code for Sending Email with attachment through SMTP protocol, running under linux platform. Thanks (1 Reply)
Discussion started by: Mr coder
1 Replies

3. Shell Programming and Scripting

sending an attachment through email

As a part of requirement I need to send out mails with attachment from UNIX. I have to take query the Oracle DB and send the result of the query in an attachment through mail. I use the following script for the same. #!/bin/csh #!/bin/bash #!/bin/ksh ATTFILE=/folder1/test.xls cd... (1 Reply)
Discussion started by: Sgiri1
1 Replies

4. Shell Programming and Scripting

Sending Email with Attachment

Hi, I want to send an email with multiple attachment using uuencode and mail command. I am able to send with one attachment Ex:uuencode abc.txt abc.txt | mail test@test.com -s "Test3" Can anyone reply with syntax. Regards BS (3 Replies)
Discussion started by: balajiora
3 Replies

5. Shell Programming and Scripting

Sending email and attachment file using Perl

I am trying to send an email body of information and also attachment using perl script, but I am only able to send the body but not an attachment. is there around it without using "use MIME::Lite;" module. $user = "bataf\@xyz.com"; $subjectt = "mail from perl"; open(MAIL, "| mailx -s... (1 Reply)
Discussion started by: bataf
1 Replies

6. UNIX for Dummies Questions & Answers

Sending email with attachment and body

Hi I want to able to attach a file to a email and send it with a body the body of the email is within the "body" file, and the attachment in "atch" if i send like below it will send the email correctly /usr/sbin/sendmail me@you.com< body And when i send the attachment alone... (3 Replies)
Discussion started by: sridanu
3 Replies

7. Shell Programming and Scripting

sending an email with attachment

Hi, Please help me in sending an e-mail with attachment through unix mailx command is not present in our unix box. (4 Replies)
Discussion started by: dudd9
4 Replies

8. Shell Programming and Scripting

Sending a file as an attachment to email

The file is located under appl/batchdata/ file name: storesales.txt I am using following code because uuencode is not present. I am not getting the data in file but i am getting the blank file with same name as an email attachment. ( echo "from: sch@xxxx.com" echo "to:sch@xxxx.com" echo... (2 Replies)
Discussion started by: skatpally
2 Replies

9. Shell Programming and Scripting

Sending attachment with email without using uuencode and mutt

Hi All, do we have any option for sending attachment with email except using uuencode and mutt, because if i use these utilities then i will have to install them separately which is not feasible at time. please suggest on this. (2 Replies)
Discussion started by: lovelysethii
2 Replies

10. Red Hat

Sending email with message body and attachment

Hello experts!! I am trying to send an email with message body and attachment.but i am getting any one like message body or attachment. I tried below command: (echo "subject:test";echo "MIME-Version: 1.0";echo "content-transfer-encoding:base 64";echo "content-type:txt;name=test.txt";cat... (2 Replies)
Discussion started by: Devipriya Ch
2 Replies
WHOM(1) 							     [nmh-1.5]								   WHOM(1)

NAME
whom - report to whom a message would go SYNOPSIS
whom [-alias aliasfile] [-check | -nocheck] [-draftfolder +folder] [-draftmessage msg] [-nodraftfolder] [-server servername] [-port port- name/number] [-sasl] [-saslmech mechanism] [-snoop] [-user username] [-tls] [-notls] [file] [-draft] [-version] [-help] DESCRIPTION
Whom is used to expand the headers of a message into a set of addresses and optionally verify that those addresses are deliverable at that time (if -check is given). The -draftfolder +folder and -draftmessage msg switches invoke the nmh draft folder facility. This is an advanced (and highly useful) fea- ture. Consult the mh-draft(5) man page for more information. If nmh is using the SMTP MTA, the -server and the -port switches can be used to override the default mail server (defined by the /etc/nmh/mts.conf servers entry). The -snoop switch can be used to view the SMTP transaction. (Beware that the SMTP transaction may con- tain authentication information either in plaintext or easily decoded base64.) If nmh has been compiled with SASL support, the -sasl switch will enable the use of SASL authentication with the SMTP MTA. Depending on the SASL mechanism used, this may require an additional password prompt from the user (but the ".netrc" file can be used to store this password). -saslmech switch can be used to select a particular SASL mechanism, and the the -user switch can be used to select a authoriza- tion userid to provide to SASL other than the default. If SASL authentication is successful, nmh will attempt to negotiate a security layer for session encryption. Encrypted data is labelled with `(encrypted)' and `(decrypted)' when viewing the SMTP transaction with the -snoop switch. The -saslmaxssf switch can be used to select the maximum value of the Security Strength Factor. This is an integer value and the exact meaning of this value depends on the underlying SASL mechanism. A value of 0 disables encryption. If nmh has been compiled with TLS support, the -tls and -notls switches will require and disable the negotiation of TLS support when con- necting to the SMTP MTA. Encrypted data is labelled with `(tls-encrypted)' and `(tls-decrypted)' when viewing the SMTP transction with the -snoop switch. The files specified by the profile entry "Aliasfile:" and any additional alias files given by the -alias aliasfile switch will be read (more than one file, each preceded by -alias, can be named). See mh-alias(5) for more information. FILES
$HOME/.mh_profile The user profile PROFILE COMPONENTS
Path: To determine the user's nmh directory Draft-Folder: To find the default draft-folder Aliasfile: For a default alias file postproc: Program to post the message SEE ALSO
mh-alias(5), post(8) DEFAULTS
`file' defaults to <mh-dir>/draft `-nocheck' `-alias' defaults to /etc/nmh/MailAliases CONTEXT
None BUGS
With the -check option, whom makes no guarantees that the addresses listed as being ok are really deliverable, rather, an address being listed as ok means that at the time that whom was run the address was thought to be deliverable by the transport service. For local addresses, this is absolute; for network addresses, it means that the host is known; for uucp addresses, it (often) means that the UUCP network is available for use. MH.6.8 11 June 2012 WHOM(1)
All times are GMT -4. The time now is 12:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy