03-10-2005
Actually, I couldn't find an example of (re)directing a file to mailx (or mail) in the man pages (could just be Solaris).
One example: $ mailx -s"test"
myuseremail@mydomain.com < /thepath/thefile
Also search this site for mailx, email, and/or attachments for more info.
9 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
After the recent upgrade, email notifications are back on. I have noticed that some email addresses are bouncing back as not valid. Please insure that your email address is correct because I'm going to start deleting accounts with invalid email addresses. (0 Replies)
Discussion started by: Neo
0 Replies
2. Post Here to Contact Site Administrators and Moderators
I have removed my email address from the posted email. what else do I need to do?
Thanks
K-one (1 Reply)
Discussion started by: K-ONE
1 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
How do I send an email using malix where email address contains a #.
I have a email address like this : #test@test.com
I want to send email like malix -s "TEST" #test@test.com < SOMEFILE
I tried \# but doesn't work. Please let me know how we can achieve this?
I am in... (1 Reply)
Discussion started by: jingi1234
1 Replies
4. IP Networking
I have RedHat 9.0 installed on three of my servers (PIII - 233MHz) and want that they share a common IP address so that any request made reaches each of the servers.
Can anyone suggest how should I setup my LAN. I'm new to networking in Linux so please elaborate and would be thankful for a timely... (2 Replies)
Discussion started by: Rakesh Ranjan
2 Replies
5. Post Here to Contact Site Administrators and Moderators
Hello,
Is there a link somewhere to my profile where I can change my email address to my new work email address? I have a new job and would like to receive a notification of responses to my new work address - how can I get that address to you without posting it online for everyone to see?
... (1 Reply)
Discussion started by: tekster757
1 Replies
6. Shell Programming and Scripting
Hi all,
I have a file with X number of lines.
Somewhere within each line will be an email address following the format:
<telephone_number>@domain.net
Each line is not a set length and there are no delimiters to work with.
I want to write a script that extracts the telephone number... (3 Replies)
Discussion started by: mandriver
3 Replies
7. Shell Programming and Scripting
I am sending email with attachment using mail and uuencode command.
Ex:
(echo "$EMAIL_BODY"; uuencode $FILE ATTACH.TXT) || mail "$EMAIL_ID" -s "$EMAIL_SUB"
I am getting email from "applmgr@rigelapp01.us.dell.com". I want to change this email address into... (1 Reply)
Discussion started by: balajiora
1 Replies
8. HP-UX
Hi Friends,
I am facing one issue with my hpux server.
I used to send mail from the hpux server directly to the customer id.
By default the from address includes the complete hostname(eg:- user1@hostname.domain.com). My domain name is registered, but this individual hostname is not... (1 Reply)
Discussion started by: arumon
1 Replies
9. Forum Support Area for Unregistered Users & Account Problems
I tried to re-register using my new email address which is
<firstname>@<surname>.me
But it never sent out the email confirmation. I had to hit the back button and use my gmail address instead and it came through instantly.
Is there a problem with using .me addresses? (1 Reply)
Discussion started by: frustin
1 Replies
LEARN ABOUT SUSE
log::dispatch::email
Log::Dispatch::Email(3) User Contributed Perl Documentation Log::Dispatch::Email(3)
NAME
Log::Dispatch::Email - Base class for objects that send log messages via email
SYNOPSIS
package Log::Dispatch::Email::MySender
use Log::Dispatch::Email;
use base qw( Log::Dispatch::Email );
sub send_email
{
my $self = shift;
my %p = @_;
# Send email somehow. Message is in $p{message}
}
DESCRIPTION
This module should be used as a base class to implement Log::Dispatch::* objects that send their log messages via email. Implementing a
subclass simply requires the code shown in the SYNOPSIS with a real implementation of the "send_email()" method.
CONSTRUCTOR
The constructor takes the following parameters in addition to the standard parameters documented in Log::Dispatch::Output:
o subject ($)
The subject of the email messages which are sent. Defaults to "$0: log email"
o to ($ or @)
Either a string or a list reference of strings containing email addresses. Required.
o from ($)
A string containing an email address. This is optional and may not work with all mail sending methods.
o buffered (0 or 1)
This determines whether the object sends one email per message it is given or whether it stores them up and sends them all at once.
The default is to buffer messages.
METHODS
o send_email(%p)
This is the method that must be subclassed. For now the only parameter in the hash is 'message'.
o flush
If the object is buffered, then this method will call the "send_email()" method to send the contents of the buffer and then clear the
buffer.
o DESTROY
On destruction, the object will call "flush()" to send any pending email.
AUTHOR
Dave Rolsky, <autarch@urth.org>
perl v5.12.1 2009-09-22 Log::Dispatch::Email(3)