05-31-2010
ELM
Quote:
Originally Posted by
ldaliosmane
How to delete old Emails from HP UX system?
Thanks
After login:
You have Mail !
ELM
"d" for delete (On each mail you want to delete)
"q"
Answer "Delete messages?" with yes
Regards
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear friends:
I have these data files:
fileaa
fileab
fileac
filead
I want to email these file to someone. How can I email EACH SINGLE FILE with a wild card character?
mail john@mail.com<fileaa
mail john@mail.com<fileab
...............................ac... (4 Replies)
Discussion started by: bobo
4 Replies
2. UNIX for Dummies Questions & Answers
I have a program the will split a large file into smaller files. It works great. I, however, have problem of email these file out to other people:
I may have 1 or more files afer SPLIT
datafileaa
datafileab
datafileac
manually:
mailx -s "data" email@email.com<datafileaa
mailx -s... (5 Replies)
Discussion started by: bobo
5 Replies
3. Shell Programming and Scripting
Hi,
I would like to send an email with more than one attachement. I am using uuencode. I want to achive by suing uuencode. Also please let me know other ways.
-Thambi (7 Replies)
Discussion started by: thambi
7 Replies
4. UNIX for Dummies Questions & Answers
I am trying to find the email log file that would have info on users downloading their pop mail. Our email is hosted on a unix server running apache. I am not sure the exact version of mail software running, but when I telnet to the mail server the response I get is this "+OK POP3 v2003.83rh... (3 Replies)
Discussion started by: mstarcom
3 Replies
5. Shell Programming and Scripting
Hey folks
Thank you for helping me.I find this website so useful and handy.My latest issue is about notifying change in files say file.txt,file2.sh ...etc to a group of people using sendmail.We are using bash here.
--CoolKid (4 Replies)
Discussion started by: coolkid
4 Replies
6. Shell Programming and Scripting
Hi,
New to Unix and trying to do something -
I am trying to zip bunch of file and email -
/sbin/sh
If i use mail then I can not specify subject -
uuencode file.zip file.zip | mail -s "testfile" mailadd@group.com
Error is - mail: illegal option -- s
If i use mailx then I can specify... (7 Replies)
Discussion started by: bhush782003
7 Replies
7. Shell Programming and Scripting
Hi,I would like to send all the files in a particular folder to an e-mail id .I am able to send a particular file via email but that gets displayed in the email as content using the mailx option. I just want to view it in the mailbox as an attached file. Could you please help me out in... (1 Reply)
Discussion started by: arunkumarmc
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I need to zip 4 files and send an email attaching the zipped files...
Pls help..
Win
---------- Post updated at 10:49 AM ---------- Previous update was at 10:36 AM ----------
Hi,
I need to convert 4 text files into xls,zip these 4 files and send an email attaching the... (2 Replies)
Discussion started by: win4luv
2 Replies
9. UNIX for Dummies Questions & Answers
Dear Members,
I am trying to send a file as an attachment from the command prompt in Linux.
I am using the following:
(echo "Find attached Exception Report"; uuencode $DATA_TOP/out/data/$err_rpt_file $err_rpt_file)|/bin/mailx -s "***Exceptions Found" davidk@xyz.com Here err_rpt_file... (2 Replies)
Discussion started by: sandeep_1105
2 Replies
10. UNIX for Beginners Questions & Answers
Hi all,
we have a requirement , we need to check the files availability in the unix folder and their record counts need to be emailed as attached format
Files Count
File_1 123
File_2 1898
File_3 29
File_4 456
File_5 123 (2 Replies)
Discussion started by: KK230689
2 Replies
LEARN ABOUT DEBIAN
email::sender::transport::smtp::tls
Email::Sender::Transport::SMTP::TLS(3pm) User Contributed Perl Documentation Email::Sender::Transport::SMTP::TLS(3pm)
NAME
Email::Sender::Transport::SMTP::TLS - Email::Sender with Net::SMTP::TLS (Eg. Gmail)
VERSION
version 0.10
SYNOPSIS
use Email::Sender::Simple qw(sendmail);
use Email::Sender::Transport::SMTP::TLS;
use Try::Tiny;
my $transport = Email::Sender::Transport::SMTP::TLS->new(
host => 'smtp.gmail.com',
port => 587,
username => 'username@gmail.com',
password => 'password',
helo => 'fayland.org',
);
# my $message = Mail::Message->read($rfc822)
# || Email::Simple->new($rfc822)
# || Mail::Internet->new([split /
/, $rfc822])
# || ...
# || $rfc822;
# read L<Email::Abstract> for more details
use Email::Simple::Creator; # or other Email::
my $message = Email::Simple->create(
header => [
From => 'username@gmail.com',
To => 'to@mail.com',
Subject => 'Subject title',
],
body => 'Content.',
);
try {
sendmail($message, { transport => $transport });
} catch {
die "Error sending email: $_";
};
DESCRIPTION
Email::Sender replaces the old and sometimes problematic Email::Send library, while this module replaces the Email::Send::SMTP::TLS.
It is still alpha, but it works. use it at your own risk!
ATTRIBUTES
The following attributes may be passed to the constructor:
host - the name of the host to connect to; defaults to localhost
port - port to connect to; defaults to 587
username - the username to use for auth; required
password - the password to use for auth; required
helo - what to say when saying HELO; no default
allow_partial_success - if true, will send data even if some recipients were rejected
PARTIAL SUCCESS
If "allow_partial_success" was set when creating the transport, the transport may return Email::Sender::Success::Partial objects. Consult
that module's documentation.
AUTHOR
Fayland Lam <fayland@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Fayland Lam.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-25 Email::Sender::Transport::SMTP::TLS(3pm)