10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have jpg file in my server. I am facing difficulty while sending the image in body . appreciate your help to fix to below code.
echo "--FILEBOUNDARY"
echo "Content-Type: image/jpg"
echo "Content-Disposition: inline; filename=\"tick.jpg\""
echo... (3 Replies)
Discussion started by: Jewel
3 Replies
2. UNIX for Dummies Questions & Answers
Hi and good day,
In Terminal I tried mv *.rtf.rtf *.rtf to get rid of double rtf extensions ( which came about from some other process),
but this doesn't work.
I don't know why.
Also it should be for the main and for subfolders.
with -R?
Anyway, any assistance would be greatly... (6 Replies)
Discussion started by: OmarKN
6 Replies
3. Shell Programming and Scripting
Hi Friends,
I am trying to send a graph in Body of HTML Email which is generated using a SAS Code. But, I am not able to see the picture, Instead seeing a red cross mark in Email Body.
Could you please help me in fixing this problem? Also, I do not have a Shared Place (or) a web server to... (0 Replies)
Discussion started by: Samuels
0 Replies
4. Shell Programming and Scripting
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)
Discussion started by: thulasidharan2k
1 Replies
5. Shell Programming and Scripting
Hi,
Our requirement is to send an attachment and content in a single mail. I am using the below command to send attachement.
---------------------
(uuencode $exp_file $exp_file) |mailx -s "$email_subject" $EmailRecipients
--------------------
I m not able to send any message in the... (4 Replies)
Discussion started by: ashwin3086
4 Replies
6. Shell Programming and Scripting
Hi,
I ftp the .jpg file from windows to unix machine, now i need to send the jpg file as body to (not as attachment) outlook, can anyone send the sample code for this? (1 Reply)
Discussion started by: vasu.g
1 Replies
7. Shell Programming and Scripting
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)
Discussion started by: balireddy_77
2 Replies
8. Shell Programming and Scripting
Hi all,
i am working with CSH, i want to know that
how to send a mail in UNIX shell script (CSH) with attachment as well as message body.
i know that how to send a mail with attachment and message body. but i want know both things in a single mail
Suggession would be appreciate.
... (1 Reply)
Discussion started by: psiva_arul
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have been trying to shoot an email with the email body to be obtained from a file.
Can someone please help me with it..
I have been trying to use the MAILX commad for the same.
mailx -s "test email" -r sender@test.com < file.txt
but it sends the file as an attachment,while i... (3 Replies)
Discussion started by: rohit.shetty84
3 Replies
10. UNIX for Dummies Questions & Answers
Hi,
How to send send body along with attachment in a mail
given below is code to send mail with attachemnt.its working fine
but i need to send some message as body of the mail.
uuencode /prod/applc/ds_data/mac/working/nullctry.csv "nullctry.csv" | mailx -s "List Of Attendance"... (6 Replies)
Discussion started by: rajendragora
6 Replies
LedgerSMB::Mailer(3pm) User Contributed Perl Documentation LedgerSMB::Mailer(3pm)
NAME
LedgerSMB::Mailer - Mail output for LedgerSMB
SYNOPSIS
COPYRIGHT
#====================================================================
# LedgerSMB
# Small Medium Business Accounting software
# http://www.ledgersmb.org/
#
# Copyright (C) 2006
# This work contains copyrighted information from a number of sources
# all used with permission.
#
# This file contains source code included with or based on SQL-Ledger
# which # is Copyright Dieter Simader and DWS Systems Inc. 2000-2005
# and licensed under the GNU General Public License version 2 or, at
# your option, any later version. For a full list including contact
# information of contributors, maintainers, and copyright holders,
# see the CONTRIBUTORS file.
#
# Original Copyright Notice from SQL-Ledger 2.6.17 (before the fork):
# Copyright (C) 2002
#
# Author: DWS Systems Inc.
# Web: http://www.sql-ledger.org
#
# Contributors:
#
# Original Author and copyright holder:
# Dieter Simader dsmimader@sql-ledger.com
#====================================================================
METHODS
LedgerSMB::Mailer->new(...)
Create a new Mailer object. If any arguments are passed in, a message that uses them will be automatically prepared but not sent.
$mail->prepare_message(to => $to, from => $from, ...)
Prepares and encodes base message for sending or adding attachments.
Arguments
to, from, cc, bcc
Address fields for the email.
subject
The subject for the email.
message
The message body for the email.
contenttype
The conttent type for the body of the message, not for any attachments.
notify
Sets the Disposition-Notification-To header (read receipt request) for the message. This header will only be added if a from address
is set.
$mail->attach(data => $data, file => $file, filename => $name, strip => $strip)
Add an attachment to the prepared message. If $data is specified, use the value of that variable as the attachment value, otherwise attach
the file given by $file. If both a file and data are given, the data is attached. filename must be given and is used to name the
attachment.
$strip is an optional string to remove from the filename send with the attachment.
$mail->send
Sends a prepared message using the method configured in ledgersmb.conf.
perl v5.14.2 2012-03-26 LedgerSMB::Mailer(3pm)