09-22-2006
using mailx
or you could simply forward the whole file to your mailbox (in windows or anywhere you have your email client) -using this unix command "more {filename} | mailx {you@email.tld}" - of course larger files are not surgested to mail forward (100 MB+). Are the file(s) that big FTP transfer are also my surgestion to you.
Hope you make it work
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Could someone show me how to copy the contents of a file to the clipboard automatically without manually selecting its contents? I just want to press the "Paste Key" to show the results. I wish to use this in a ksh script.
I'm using Solaris.
Thanks! (5 Replies)
Discussion started by: ilak1008
5 Replies
2. UNIX for Dummies Questions & Answers
I have a file in windows that I need to copy to UNIX. How can I FTP binary to the UNIX server.
Thanks (2 Replies)
Discussion started by: abou202
2 Replies
3. Solaris
Hi
my OS is solaris 9 , we have requirement to copy 1 file from solaris box to windows machine , so which utility or commands any idea will be appreciated
Regards (3 Replies)
Discussion started by: maooah
3 Replies
4. Windows & DOS: Issues & Discussions
I am looking to start to code some shell scripts, php, and probably some other web stuff. Free is preferred. I was looking at rocketedit but I would rather just use free open source if possible. On my Mac I love to use TextWrangler, so is there a Windows equivalent?
For Vista/Win7 64bit
... (5 Replies)
Discussion started by: tlarkin
5 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am trying to figure out how to copy the contents of a file to the clipboard, then paste into a command. i.e copy contents of file /path/filename.txt to <command> <paste text>
Hope that makes sense. Basically tryting to copy the text for use in a command without having to open the... (8 Replies)
Discussion started by: JCA70
8 Replies
6. UNIX for Advanced & Expert Users
Hi,
I can paste what is in the CLIPBOARD but I can't get xterm copy. and in fact I think I'm not able to select well with the cursor (I don't want to use the mouse)...
here is my ~/.Xresources file :
XTerm*highlightSelection: true
XTerm*VT100.translations: #override \n\
None ... (5 Replies)
Discussion started by: xib.be
5 Replies
7. Shell Programming and Scripting
How to copy the complete content from a file in vi Editor to windows ( notepad ).
I can use " select " and paste it to windows but this is restricted to current page. Not allowing me to scroll down or up when selecting the content.:confused: (1 Reply)
Discussion started by: frintocf
1 Replies
8. UNIX and Linux Applications
Hi,
I would like to ask about the notepad++ text editor application, Although there are alternative and more great text editor in linux (gedit, geany, jedit) im still using the notepad++ sometimes cause for some of my own reason one of those is the minimalist text(what i mean is notepad++ has a... (2 Replies)
Discussion started by: jao_madn
2 Replies
9. UNIX for Dummies Questions & Answers
trying to add my Google analytics code to every page on my site.
I want to paste in into every file. I have it in Notepad++.
If I open a file in VI, using Putty to connect is it easy to just paste into the VI session? (3 Replies)
Discussion started by: waynehazle
3 Replies
10. Solaris
I'm searching a command to copy text to the clipboard.
xclip and xsel are commands which are available on several kind Linux and Unix OS, but is unfortenuately not available on solaris 10.
REF : xpt.sourceforge.net/techdocs/nix/x/general/xwin12-Xclipboard/single/
clipboard of openSolaris is... (9 Replies)
Discussion started by: droopy4u
9 Replies
LEARN ABOUT DEBIAN
mail::mbox::messageparser::perl
Mail::Mbox::MessageParser::Perl(3pm) User Contributed Perl Documentation Mail::Mbox::MessageParser::Perl(3pm)
NAME
Mail::Mbox::MessageParser::Perl - A Perl-based mbox folder reader
SYNOPSIS
#!/usr/bin/perl
use Mail::Mbox::MessageParser;
my $filename = 'mail/saved-mail';
my $filehandle = new FileHandle($filename);
my $folder_reader =
new Mail::Mbox::MessageParser( {
'file_name' => $filename,
'file_handle' => $filehandle,
} );
die $folder_reader unless ref $folder_reader;
# Any newlines or such before the start of the first email
my $prologue = $folder_reader->prologue;
print $prologue;
# This is the main loop. It's executed once for each email
while(!$folder_reader->end_of_file());
{
my $email = $folder_reader->read_next_email();
print $email;
}
DESCRIPTION
This module implements a Perl-based mbox folder reader. Users must not instantiate this class directly--use Mail::Mbox::MessageParser
instead. The base MessageParser module will automatically manage the use of faster implementations if they can be used.
METHODS AND FUNCTIONS
The following methods and functions are specific to the Mail::Mbox::MessageParser::Perl package. For additional inherited ones, see the
Mail::Mbox::MessageParser documentation.
$ref = new( { 'file_name' => <mailbox file name>, 'file_handle' => <mailbox file handle> });
<file_name> - The full filename of the mailbox
<file_handle> - An opened file handle for the mailbox
The constructor for the class takes two parameters. The optional file_name parameter is the filename of the mailbox. The required
file_handle argument is the opened file handle to the mailbox.
Returns a reference to a Mail::Mbox::MessageParser object, or a string describing the error.
BUGS
No known bugs.
Contact david@coppit.org for bug reports and suggestions.
AUTHOR
David Coppit <david@coppit.org>.
LICENSE
This software is distributed under the terms of the GPL. See the file "LICENSE" for more information.
HISTORY
This code was originally part of the grepmail distribution. See http://grepmail.sf.net/ for previous versions of grepmail which included
early versions of this code.
SEE ALSO
Mail::Mbox::MessageParser
perl v5.10.1 2009-08-09 Mail::Mbox::MessageParser::Perl(3pm)