09-19-2012
Hi Pamu,
Thanks a lot... It is working as expected...
Once again thanks a lot...
Regards
Neethu
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I am working on UNIX (Solaris28). I would like to send an email in which the body will be in html format and, in the same mail, a xls file has to be attached.
I have tried this: the file is correctly attached but the body comes as html source and not formatted. If I do not attach the... (4 Replies)
Discussion started by: stefan.yu
4 Replies
2. UNIX for Dummies Questions & Answers
I'm trying to script sending an e-mail message on an AIX 5.x server with the following requirements:
1. command line switch to specify file name containing message body in HTML format
2. command line switch to specify file name of a binary attachment
3. command line or input file to specify... (4 Replies)
Discussion started by: G-Man
4 Replies
3. Shell Programming and Scripting
Hi
I am new to unix and scripting.I am trying to send a html file as an attachment.
SUBJECT="Type of Exceptions in Application"
TO=Sushovan.Samals@gmail.com
SPOOLFILE=/data/reg/tlogs/Monitor.html
#echo "Send the E-mail message..."
uuencode $SPOOLFILE $SPOOLFILE | mailx -s "$SUBJECT" $TO... (2 Replies)
Discussion started by: sushovan
2 Replies
4. UNIX for Advanced & Expert Users
Hello,
Getting an extra attachment when i send a mail using below code.
The body and the rest of the attachments look very fine.
The extra attachment to be exact has a name ATT00001.txt. :confused:
This is not part of my $attach_list.
BOUNDARY='------The Boundary-----'
print - "From:... (1 Reply)
Discussion started by: pgop
1 Replies
5. UNIX for Dummies Questions & Answers
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies
6. 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
7. Shell Programming and Scripting
#!/bin/ksh
(
echo "MIME-Version: 1.0"
echo "Content-Type: multipart/mixed; boundary=frontier"
echo "--frontier"
echo "Content-Type: text/html"
echo "Content-Disposition: inline"
echo "\n"
echo "<html><body><h1>this is html formatted text</h1></body></html>"
echo "--frontier"
echo... (1 Reply)
Discussion started by: thulasidharan2k
1 Replies
8. Shell Programming and Scripting
Hi,
I will get an email with a html attachment. I want to copy that html file to server in a particular location.
Is it possible to do this.. If yes could you please help me on this..
Regards
Neethu (1 Reply)
Discussion started by: Neethu
1 Replies
9. Shell Programming and Scripting
Hi Everyone,
I am facing problems in sending html mail with attachemnt.
I will able to send mail with attachment (plain text ) using mailx -s and uuencode command and
also html mail without attachment using sendmail option.
However I am not able to send html mail along with attachment.Either... (2 Replies)
Discussion started by: karthik adiga
2 Replies
10. Shell Programming and Scripting
Hi,
I am using the below code:
#!/bin/ksh
SUBJ="Send mail from Unix with file attachments"
TO=sudha.viswanathan@jpmorgan.com
CC=sudha.viswanathan@jpmorgan.com
(
cat << !
To : ${TO}
Subject : ${SUBJ}
Cc : ${CC}
!
cat << !
MIME-Version: 1.0
Content-Type: text/html
`cat... (1 Reply)
Discussion started by: sudvishw
1 Replies
LEARN ABOUT DEBIAN
mojomojo::controller::attachment
MojoMojo::Controller::Attachment(3pm) User Contributed Perl Documentation MojoMojo::Controller::Attachment(3pm)
NAME
MojoMojo::Controller::Attachment - Attachment controller
DESCRIPTION
MojoMojo supports attaching files to nodes. This controller handles administration and serving of these assets.
ACTIONS
auth
Return whether the current user has attachment manipulation rights (upload/delete).
unauthorized
Private action to return a 403 with an explanatory template.
default
Private action to return a 404 not found page.
attachments
Main attachment screen. Handles uploading of new attachments.
list
Display the list of attachments if the user has view permissions.
template: attachments/list.tt
plain_upload
Upload feature that uses the traditional upload technique.
check_file
Check if the file(s) uploaded could be added to the Attachment table.
flash_upload
Upload feature that uses flash
attachment
Find and stash an attachment.
defaultaction
Set the default action for an attachment which is forwarding to a view.
view
Render the attachment in the browser ("Content-Disposition: inline"), with caching for 1 day.
download
Forwards to "view" then forces the attachment to be downloaded ("Content-Disposition: attachment") and disables caching.
thumb
Thumb action for attachments. Makes 100x100px thumbnails.
inline
Show 800x600 inline versions of photo attachments.
delete
Delete the attachment from this node. Will leave the original file on the file system but delete its thumbnail and inline versions.
AUTHOR
Marcus Ramberg "marcus@nordaaker.com"
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2010-05-23 MojoMojo::Controller::Attachment(3pm)