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)
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,
I have a shell script which send email with an attachment in the form of an email. However, the when I open the attachment, all the data comes in one column. How do I format the data in the excel sheet while sending the email?
Thanks (8 Replies)
I am using the following command to send PDF attachment with a mail.
uuencode <attachment.pdf> <attachment.pdf>|mailx -s <subject> <mail_id> < <Message_file.txt>
This one send the message with attachment. I would like send PDF attachment with the mail
Can any one help with this issue ?
... (0 Replies)
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)
i know its pretty repeated query, but i need to post it in this new thread coz i need it urgently
uuencode /var/tmp/chandra/emaillist.txt emaillist.txt | mail -s "message with encoded attachment"
am unable to send the attachment emaillist.txt present in the path /var/tmp/chandra/
Is... (11 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)
hi..
Could somebody help me how to sent an attachment using sendmail command and the content is HTML format ?.
Below is my code to sent the email as HTML but i do not know how to sent the attachment, please help me
To: "BAHARIN HASAN"<baharin.hasan@gmail.com>
from: "DATAONE SDN... (4 Replies)
Hi All,
I want to send a file as an attachment through cron job.Is this possible using cronjob nd if it i, can you please let me know how to do this?
Thanks (2 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)
Discussion started by: jvsrvcs
2 Replies
LEARN ABOUT DEBIAN
pycmail
pycmail(1) General Commands Manual pycmail(1)NAME
pycmail - mail sorter
SYNOPSIS
pycmail [-d debuglevel] [-t] [-c conffile] [file1 file2 file3 ...]
DESCRIPTION
pycmail is a mail sorter similar to procmail, written in python, using python syntax for mail delivery.
OPTIONS
file1 file2 ... read mails from file1 file2 ... instead of from stdin (useful for mail postprocessing)
-d level, --debuglevel level
set debuglevel to level.
-t testing mode. No mail delivery will be done. Use in conjuction with -d
-c conffile, --config=conffile
use file conffile as a user configuration file (instead of ~/.pycmailrc )
-D define
add define to the DEFINES list (this can be tested later in the .pycmailrc to modify the behaviour). Can be repeated several times
to add more strings.
USAGE
pycmail should be invoked automatically from the .forward file when mail arrives.
Default debuglevel is 0, which means pycmail tries to deliver mail in almost foolproof way: if there is any error in ~/.pycmailrc file,
mail will be delivered to the default mailbox (such as /var/spool/mail/USERNAME ).
If the debuglevel is 1, any error in ~/.pycmailrc file will be printed, resulting in bounced mail (but pycmail will still try to deliver
the mail to default mailbox).
Higher debuglevels will print more information about the actual mail processing. The bigger the debuglevel, the more detailed information
is printed.
To test your configuration, do something like this:
formail -s pycmail -d 2 -t < your_test_mailbox_file
SEE ALSO procmail(1), lockfile(1), formail(1)AUTHOR
Radovan Garabik <garabik @ kassiopeia.juls.savba.sk>
2006-10-17 pycmail(1)