I'm looking for a sample of some code that will take the output from a file and generate an email that will include that text as an attachment. the script is in the borne shell. any help? (2 Replies)
Hi
A) I am able to send eMail using mailx from a UNIX ( solaris 8 ) host to my Outlook-email-ID : FName.Surname@Citigroup.com ( This is NOT my actual -eMail-ID). But in Outlook the "From :" eMail address is displayed as
" usr1@unix-host1.unregistered.email.citicorp.com " .i.e the words... (2 Replies)
hi,
i've created a script that sends out an email using the mailx and uuencode command. the script is ok, but when a 5MB attachment is sent, there are time that the intended recepients does not receive any email. i tested it and the issue is intermitent. please help on how to troubleshoot.
i... (3 Replies)
Hello All,
This is a common question that I found lot of results in the forums.
I am trying to use uuencode to attach a file and send email. I have no issues sending email, but not able to attach any files using sendmail.
Is uuencode part of sendmail or does 'uuencode' utility need to be... (1 Reply)
hi
plz help me in sending a mail with some data in body and an attachment as some txt file.
currently i am able to send mail with some body content, i need an example how to send the same along with attachment.
thanks in advance
-bali (2 Replies)
Hi,
Could anyone help me to find soultion for the issue to send email attachment as read only.
I can change the file permission in Linux and can send the email attachment from Linux. But my requirment is user can read the attachment but should not modified it . even user save the attachment... (4 Replies)
The below code is not working. I am able to send only inline html or only attachment. When trying to do both, only inline html is sent without attachment. Please help!
#!/bin/ksh
(echo "Subject: Test Mail - HTML Format"
echo "MIME-Version: 1.0"
echo "Content-Type: text/html"
echo... (1 Reply)
Hi All,
The below code is working fine for me.
mailx -s hello abc@xyz.com <<EOT
Hello !!!
How are you?
Regards
Rahul
EOT
But i am not able to send csv file with the mail .Getting just themail but not the attachment.
uuencode /path/s1.csv | mailx -s hello abc@xyz.com <<EOT... (9 Replies)
I am attempting to write a script where I can pass in parameters ( to , from, the location of a pdf attachment ) and send an email that has HTML for the body content and a PDF as an attachment.
I have failed to achieve this with sendmail and mutt. I recently found this.
If there are any... (2 Replies)
I am unable to send email with attachment using the mailx command. Without the attachment, the email goes through file.
This is the command I use.
Works : $ echo "Test" | mailx -s "Test" username@website.com
Fails : $echo "Test" | mailx -a all-dss-accounts.txt -s "Test"... (3 Replies)
Discussion started by: nkarthik_mnnit
3 Replies
LEARN ABOUT DEBIAN
pius
PIUS(1) General Commands Manual PIUS(1)NAME
pius - PGP Individual UID Signer
SYNOPSIS
pius [options] -s <signer-keyid> <keyid> [<keyid> ...]
pius [options] -A -r <keyring-path> -s <signer-keyid>
DESCRIPTION
pius The PGP Individual UID Signer (PIUS) is a tool for individually signing all of the UIDs on a set of keys and encrypt-emailing each one
to it's respective email address. This drastically reduces the time and errors involved in signing keys after a keysigning party.
OPTIONS --version
show program's version number and exit
-h or --help
show this help message and exit
-a or --use-agent
Use pgp-agent instead of letting gpg prompt the user or every UID. [default: false]
-A or --all-keys
Sign all keys on the keyring. Requires -r.
-b PATH or --gpg-path=PATH
Path to gpg binary. [default: /usr/bin/gpg]
-e or --encrypt-outfiles
Encrypt output files with respective keys.
-d or --debug
Enable debugging output.
-H HOSTNAME or --mail-host
Hostname of SMTP server. [default: localhost]
-i or --interactive
Use the pexpect module for signing and drop to the gpg shell for entering the passphrase. [default: false]
-I or --import
Also import the unsigned keys from the keyring into the default keyring. Ignored if -r is not specified, or if it's the same as the
default keyring.
-m EMAIL or --mail
Email the encrypted, signed keys to the respective email addresses. EMAIL is the address to send from. See also -H and -p.
-M FILE or --mail-text
Use the text in FILE as the body of email when sending out emails instead of the default text. To see the default text use --print-
default-email. Requires -m.
-n EMAIL or --override-email
Rather than send to the user, send to this address. Mostly useful for debugging.
-o OUTDIR or --out-dir
Directory to put signed keys in. [default: /tmp/pius_out]
-O or --no-pgp-mime
Do not use PGP/Mime when sending email.
-p or --cache-passphrase
Cache private key passphrase in memory and provide it to gpg instead of letting gpg prompt the user for every UID. [default: true]
-P PORT or --mail-port
Port of SMTP server. [default: 25]
-r KEYRING or --keyring
The keyring to use. Be sure to specify full or relative path. Just a filename will cause GPG to assume relative to ~/.gnupg.
[default: ~/.gnupg/pubring.gpg]
-s SIGNER or --signer
The keyid to sign with (required).
-S or --mail-tls
Use STARTTLS when talking to the SMTP server.
-t TMP_DIR or --tmp-dir
Directory to put temporary stuff in. [default: /tmp/pius_tmp]
-T or --print-default-email
Print the default email.
-u USER or --mail-user
Authenticate to the SMTP server, and use username USER. You will be prompted for the password. Implies -S.
-v or --verbose
Be more verbose.
AUTHOR
PIUS was written by Phil Dibowitz <phil@ipom.com>
This manual page was written by Luke Cycon <lcycon@gmail.com>, for the Debian project (but may be used by others).
MARCH 2010 PIUS(1)