05-24-2014
sendmail is a MTA (Mail Transfer Agent). You need a MDA (Mail Delivery Agent) to handle incoming email. An MDA accepts mail from an MTA and performs the actual delivery to a user's mailbox. A user then uses a MUA (Mail User Agent) to read their mailbox.
There are many MDAs available. procmail is a very common one.
This User Gave Thanks to fpmurphy For This Post:
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script that send email using sendEmail (CentOS shell)
script is:
sendEmail -vvv -u "TestCompany, Inc.: USB Added" -f user@domain.com -t To@domain.com -s ASPMX.L.GOOGLE.com -m "USB Activity" -o tls=aut
o username=user3@domain.com password=password
So far this works fine.
Now i... (5 Replies)
Discussion started by: kashif.live
5 Replies
2. Solaris
Hello
I need your kind help for configuring email on Solaris 10 so I can send reports from the system to my management and my colleagues.
I have the IP address of the email server of my company and the port 2525. I went through many documents online with no luck.
Can any one help me... (4 Replies)
Discussion started by: samer.odeh
4 Replies
3. Shell Programming and Scripting
Hello,
I would like to send email message to my mail list.
I have been running linux based server and I submitted this process manually up to now.
I would like to send each individual with a shell script.
In ssh panel, I tested below command and it works smoothly.
sendEmail -t... (1 Reply)
Discussion started by: baris35
1 Replies
4. Solaris
Hi Guys,
I am trying to send email from solaris server using sendemail utility. I want to send multi content email. For example, i want to send email body with html file and a attachment of txt file. I using below code but the html not render correctly in email body.
(
echo "To:... (2 Replies)
Discussion started by: tharmendran
2 Replies
5. UNIX for Dummies Questions & Answers
SCO Unix OpenServer v6.
We use the script below for sending mass emails with attachments.
sendemail -f $From_user -o message-file=/u/fg4/data/EmailDefaultBody.html -u $su
bj -s $MAIL_SRVR -xu $MAIL_USER -xp $MAIL_PSWD -a $emlname.pdf -t $MAILTO
MAIL_SVR=SMPTOUT.SECURESERVER.NET
... (0 Replies)
Discussion started by: jet47
0 Replies
6. Shell Programming and Scripting
Hi everyone,
I try to send an email with "sendemail", I created four variables for do cleaner but it doesn't work :( below :
#!/bin/bash
sender=$(X@x.com)
recipient=$(x@x.com)
subject=$(Files Copy)
server=$(x.x.x.x)
/usr/bin/sendemail -f $sender -t $recipient -u $subject -m blablabla... (2 Replies)
Discussion started by: Arnaudh78
2 Replies
7. Shell Programming and Scripting
Hi,:)
I try this :
#!/bin/bash
sender="me@example.com"
recipient="you@example.com"
subject="TEST FILE"
server="0.0.0.0"
file=$(cat file.txt)
/usr/bin/sendemail -f $sender -t $recipient -u $subject -m $file
My file.txt:
BLABLALA
BLABLABLA (7 Replies)
Discussion started by: Arnaudh78
7 Replies
LEARN ABOUT DEBIAN
mail::message::construct::bounce
Mail::Message::Construct::Bounce(3pm) User Contributed Perl Documentation Mail::Message::Construct::Bounce(3pm)
NAME
Mail::Message::Construct::Bounce - bounce a Mail::Message
SYNOPSIS
$message->bounce(To => 'you')->send;
DESCRIPTION
Complex functionality on Mail::Message objects is implemented in different files which are autoloaded. This file implements the
functionality related to bouncing messages off to other destinations.
METHODS
Constructing a message
$obj->bounce([RG-OBJECT|OPTIONS])
The program calling this method considers itself as an intermediate step in the message delivery process; it therefore leaves a resent
group of header fields as trace.
When a message is received, the Mail Transfer Agent (MTA) adds a "Received" field to the header. As OPTIONS, you may specify lines
which are added to the resent group of that received field. "Resent-*" is prepended before the field-names automatically, unless
already present.
You may also specify an instantiated Mail::Message::Head::ResentGroup (RG) object. See Mail::Message::Head::ResentGroup::new() for the
available options. This is required if you want to add a new resent group: create a new "Received" line in the header as well.
If you are planning to change the body of a bounce message, don't! Bounced messages have the same message-id as the original message,
and therefore should have the same content (message-ids are universally unique). If you still insist, use Mail::Message::body().
example:
my $bounce = $folder->message(3)->bounce(To => 'you', Bcc => 'everyone');
$bounce->send;
$outbox->addMessage($bounce);
my $rg = Mail::Message::Head::ResentGroup->new(To => 'you',
Received => 'from ... by ...');
$msg->bounce($rg)->send;
DIAGNOSTICS
Error: Method bounce requires To, Cc, or Bcc
The message bounce() method forwards a received message off to someone else without modification; you must specified it's new
destination. If you have the urge not to specify any destination, you probably are looking for reply(). When you wish to modify the
content, use forward().
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::Construct::Bounce(3pm)