10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
is there any way Unix shell script can directly read a mail on a mail server
(Lotus notes) and save it as a text file in a unix directory ?
For eg mail can be at abc@xyz.com and the same should be stored at
home/script on def.com
Thanks in advance,
CD (2 Replies)
Discussion started by: cdprasad.ait
2 Replies
2. AIX
Hi,
I am new to UNIX and any help is greatly appreciated.
Requirement:
Need to check the directory and if the directory has some files then an email needs to be sent to the email ID on Lotus Notes.
I need help on sending an email to email ID on Lotus Notes notifying that the files... (3 Replies)
Discussion started by: neetutg
3 Replies
3. UNIX for Advanced & Expert Users
Hi everybody!
I needto send a mail with several attachments to a foreign recepient using the following command line:
neo$ (cat mailbody; uuencode file1 file1.txt; uuencode file2 file2.txt) | mailx -m -s "Mail with two attachments" john.hancock@mailserver.com
The result is just fine on... (3 Replies)
Discussion started by: marvin70
3 Replies
4. Shell Programming and Scripting
Hi All,
We have requirement to send lotus notes email attachment to mutiple users.
Each user has a separate file name ,but the file name and mail id will be same
please help urgent
Thanks (2 Replies)
Discussion started by: gwrmk
2 Replies
5. Shell Programming and Scripting
Hi All,
I am currently using the following script to send the single file to one/more email addresses. I need to send mutilple files at same time, are there anyway I could modify the script or write new one to accomplish the same.
Script
***************
#!/bin/ksh
# Author: Manish... (4 Replies)
Discussion started by: lapisguy
4 Replies
6. Shell Programming and Scripting
Hi,
is there any way Unix shell script can directly read a mail on a mail server
(Lotus notes) and save it as a text file in a unix directory ?
For eg mail can be at abc@xyz.com and the same should be stored at
home/script on def.com (0 Replies)
Discussion started by: misenkiser
0 Replies
7. UNIX for Dummies Questions & Answers
I am using mailx command to send automated emails from the Unix to Lotus notes. Recently we got a requirement to send all emails as encrypted emails. I am not sure how I can encrypt an email using unix. Please help!!
Thanks (3 Replies)
Discussion started by: Anamika
3 Replies
8. UNIX for Advanced & Expert Users
Does anyone know if you can run Notes on a SunBlade? This is the last program I need to completely get away from all MS boxes, if I can run my Notes on my Blade I won't need this ratty MS box!
Thanks!
JP (4 Replies)
Discussion started by: jpeery
4 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I have searched the FAQ and find that there is some threads related to this subject.
But can you please give an examples on how to send attachment to Lotus Notes email through UNIX?
Since i have gone through the RFC and the URL. But i still have no idea on it.
Please give some... (7 Replies)
Discussion started by: wilsonchan1000
7 Replies
10. UNIX for Dummies Questions & Answers
We have been trying to get an email from unix to Lotus Notes to work. We finally got it to work with the following code:
cat filename | uuencode filename | mailx -s "subject title" email address
Now our problem is that Lotus Notes doesn't show the paper clip icon, indicating an attachment... (3 Replies)
Discussion started by: cowgilm
3 Replies
Mail::Mbox::MessageParser::Grep(3) User Contributed Perl Documentation Mail::Mbox::MessageParser::Grep(3)
NAME
Mail::Mbox::MessageParser::Grep - A GNU grep-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,
'enable_grep' => 1,
} );
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 GNU grep-based mbox folder reader. It can only be used when GNU grep is installed on the system. Users must not
instantiate this class directly--use Mail::Mbox::MessageParser instead. The base MessageParser module will automatically manage the use of
grep and non-grep implementations.
METHODS AND FUNCTIONS
The following methods and functions are specific to the Mail::Mbox::MessageParser::Grep 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 file_name parameter is the filename of the mailbox. The 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.12.1 2009-08-09 Mail::Mbox::MessageParser::Grep(3)