I've written a a script which generates a report file, saved to a unix directory. I need to transfer it, via email, to some users. The command I'm using in my script is:
(note that subject & cur_address are set in the script prior to this line)
cat /u/sandyl/sm_o_commdt_archive/c | uuencode... (3 Replies)
I've written a a script which generates a report file, saved to a unix directory. I need to transfer it, via email, to some users. The command I'm using in my script is:
(note that subject & cur_address are set in the script prior to this line)
cat /u/sandyl/sm_o_commdt_archive/c | uuencode... (3 Replies)
Hi,
I have a syntax for mail attachment as
$EMAIL "Wrapper $wrapper_script_name has failed" " $wrapper_script_name has Failed " $failed_email_address
and $EMAIL is as below
MSGSub=${1}
MSGText=${2}
RMAIL=${3}
#set LANG=''
export LANG=''
echo "${MSGSub}" | mailx -s "${MSGText}" ... (1 Reply)
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)
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)
Hello all,
i am on hp-ux 11.23...i am trying to send an email as an attachement but it dose not seem to work...after reading on google i found that we can use uuencode to send file at attachement...here is my file and the syntax
$ cat test.txt
NAME
---------
TEST
$ uuencode... (7 Replies)
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)
I am looking for a method that would allow me to replace an existing file with one from an email attachment. Any way of scripting this, so when an email comes in from a particular email id, it takes the attached file, and replaces an existing file. (4 Replies)
I am looking for a method that would allow me to replace an existing file with one from an email attachment. Any way of scripting this, so when an email comes in from a particular email id, it takes the attached file, and replaces an existing file. (6 Replies)
I have a shell script that runs on our webserver logs, and grabs various useful data and then outputs this data to a .csv file.
What I want to do now is schedule a cronjob to run this script for me each week at a designated time, AND email the .csv file that is created as an attachment to... (1 Reply)
Discussion started by: xdawg
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)