10-23-2006
Enter the number of the message. The it displays that msg.
If you are interested in watching Message 21, do the following
$mail
<This lists some messages with Subject and the sender name and etc. details>
Now, Type 21 and press enter
The Message 21 will be displayed
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how can I check mail quota, and then how can I send mail to user whose quota get full??? :confused:
For this which script must I use? (8 Replies)
Discussion started by: emreatlier
8 Replies
2. Shell Programming and Scripting
Hi,
I'd like to somehow schedule a task on my webserver, such that my account's mail is checked every 10-15 minutes and:
a) any new e-mails received from a particular address are POST-ed to a PHP webpage on my server.
b) any new e-mails received from a different particular address are... (2 Replies)
Discussion started by: stujones
2 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to find a command to check what mail is being sent to my sendmail server... Can't seem to find it... anyone know how to do this? (1 Reply)
Discussion started by: kingdbag
1 Replies
4. Shell Programming and Scripting
Hi,
We run an application called meta which reads user information from database and updates in LDAP.For that we have some scripts to check the uniqueness of mail ids between the existing LDAP and Database.It works fine when people enter mail ids in proper format (xxx.yyy@abc.com) but if it... (2 Replies)
Discussion started by: prolay
2 Replies
5. Shell Programming and Scripting
Hi - I am trying to send email from unix box but none were delivered. I have tried multiple commands like mailx, mail or sendmail. But none of them worked. can you please let me know how to check if I have the right permissions to send the mail or not? (1 Reply)
Discussion started by: ahmedwaseem2000
1 Replies
6. Shell Programming and Scripting
A friend of mine is switching his email from one University server to a different one. He is using the tcsh, and on his current server, the shell will tell him (when the prompt is displayed) if there is new mail. The new server, where he also has the tcsh, does not do this by default. I got him... (0 Replies)
Discussion started by: kermit
0 Replies
7. UNIX for Advanced & Expert Users
I want to check the mail attachement size before sending the mail.
I coded:
IF FILESIZE > XBYTES THEN
MESSAGE "Mail attachment size exceeds limit"
ELSE
SEND MAIL.
But I want to know the quantifier.
To get the XBYTES, I used
ls -ltr filename | awk '{print $5}'
into a variable, now,... (1 Reply)
Discussion started by: harishkumardola
1 Replies
8. Shell Programming and Scripting
I know the command mailq can check the pending mail in mqueue , and also have another command to check POSIX mail queue in server , now I will regularly check the mqueue manually , it is time consuming , would advise the script that could help to check the mail queue , and then send the details to... (3 Replies)
Discussion started by: ust3
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am trying to write a script which will check if the filesize is grather than 0 KB, compress the file and send to the email list else if the file size is zero KB don't send a mail update the log
if
then
echo "Validate the file" | mailx -s " There are errors : " ${EMAIL_LIST}
else... (5 Replies)
Discussion started by: mora
5 Replies
10. Shell Programming and Scripting
We use Redhat server , we always use mailq to check any pending mail in mailq , when run the command mailq , it shows all existing pending mail would advise how to write a script to show the pending mails which are older than 24 hours , ( if possible , then send this pending mail info to... (9 Replies)
Discussion started by: ust3
9 Replies
LEARN ABOUT DEBIAN
mail::message::convert::mailinternet
Mail::Message::Convert::MailInternet(3pm) User Contributed Perl Documentation Mail::Message::Convert::MailInternet(3pm)
NAME
Mail::Message::Convert::MailInternet - translate Mail::Message to Mail::Internet vv
INHERITANCE
Mail::Message::Convert::MailInternet
is a Mail::Message::Convert
is a Mail::Reporter
SYNOPSIS
use Mail::Message::Convert::MailInternet;
my $convert = Mail::Message::Convert::MailInternet->new;
my Mail::Message $msg = Mail::Message->new;
my Mail::Internet $intern = $convert->export($msg);
my Mail::Internet $intern = Mail::Internet->new;
my Mail::Message $msg = $convert->from($intern);
use Mail::Box::Manager;
my $mgr = Mail::Box::Manager->new;
my $folder = $mgr->open(folder => 'Outbox');
$folder->addMessage($intern);
DESCRIPTION
The Mail::Internet class of messages is very popular for all kinds of message applications written in Perl. However, the format was
developed when e-mail messages where still small and attachments where rare; Mail::Message is much more flexible in this respect.
Converters between message objects
Other converters
METHODS
Constructors
Mail::Message::Convert::MailInternet->new(OPTIONS)
See "METHODS" in Mail::Message::Convert
Converting
$obj->export(MESSAGE, OPTIONS)
Returns a new message object based on the information from a Mail::Message object. The MESSAGE specified is an instance of a
Mail::Message.
example:
my $convert = Mail::Message::Convert::MailInternet->new;
my Mail::Message $msg = Mail::Message->new;
my Mail::Internet $copy = $convert->export($msg);
$obj->from(OBJECT, OPTIONS)
Returns a new Mail::Message object based on the information from a Mail::Internet object.
example:
my $convert = Mail::Message::Convert::MailInternet->new;
my Mail::Internet $msg = Mail::Internet->new;
my Mail::Message $copy = $convert->from($msg);
$obj->selectedFields(HEAD)
See "Converting" in Mail::Message::Convert
Error handling
$obj->AUTOLOAD()
See "Error handling" in Mail::Reporter
$obj->addReport(OBJECT)
See "Error handling" in Mail::Reporter
$obj->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK])
Mail::Message::Convert::MailInternet->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK])
See "Error handling" in Mail::Reporter
$obj->errors()
See "Error handling" in Mail::Reporter
$obj->log([LEVEL [,STRINGS]])
Mail::Message::Convert::MailInternet->log([LEVEL [,STRINGS]])
See "Error handling" in Mail::Reporter
$obj->logPriority(LEVEL)
Mail::Message::Convert::MailInternet->logPriority(LEVEL)
See "Error handling" in Mail::Reporter
$obj->logSettings()
See "Error handling" in Mail::Reporter
$obj->notImplemented()
See "Error handling" in Mail::Reporter
$obj->report([LEVEL])
See "Error handling" in Mail::Reporter
$obj->reportAll([LEVEL])
See "Error handling" in Mail::Reporter
$obj->trace([LEVEL])
See "Error handling" in Mail::Reporter
$obj->warnings()
See "Error handling" in Mail::Reporter
Cleanup
$obj->DESTROY()
See "Cleanup" in Mail::Reporter
$obj->inGlobalDestruction()
See "Cleanup" in Mail::Reporter
DIAGNOSTICS
Error: Package $package does not implement $method.
Fatal error: the specific package (or one of its superclasses) does not implement this method where it should. This message means that
some other related classes do implement this method however the class at hand does not. Probably you should investigate this and
probably inform the author of the package.
SEE ALSO
This module is part of Mail-Box distribution version 2.105, built on May 07, 2012. Website: http://perl.overmeer.net/mailbox/
LICENSE
Copyrights 2001-2012 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See
http://www.perl.com/perl/misc/Artistic.html
perl v5.14.2 2012-05-07 Mail::Message::Convert::MailInternet(3pm)