10 More Discussions You Might Find Interesting
1. Red Hat
Hello,
I have issue with my Zimbra Mail Server 6.0.7. In that i have configured HTTPS for client login and for whole session. but it stills communicate in http based authentication. due to that some sniffing software are easily sniffing details.
So how do i configure completely HTTPS in... (3 Replies)
Discussion started by: Chintanghanti
3 Replies
2. UNIX Desktop Questions & Answers
Hi All,
I' m having a pretty strange issue, when I sent an outlook email that is forwarded by rule for example (email sent every day at certain time) to the server is not going through, i cant see it arriving at the Maildir or i have also a procmail rule log that also not reaching... could... (0 Replies)
Discussion started by: Skyline88
0 Replies
3. Solaris
Solaris server does not receive email from other servers any more. For example, If we send mail from server A to server B, mail is not reaching server B and there is no message or warning about failure of sending mail in server A. What may be the issue of this?
Thankyou in advance!! (1 Reply)
Discussion started by: learner46
1 Replies
4. Shell Programming and Scripting
Here is the code:
<?php
//new function
function loadini($path) {
$fp = fopen($path, "r");
$fpcontents = fread($fp, filesize($path));
fclose($fp);
return $fpcontents;
}
$to = "test@test.com";
$nameto = "notme";
$from = "test";
$namefrom = "Who From"; ... (0 Replies)
Discussion started by: galford
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
---------- Post updated at 04:12 AM ---------- Previous update was at 04:09 AM ----------
This is the scripts..
Date=`date +"%m/%d/%y %H:%M:%S "`
echo "Run on $Date"
echo "Run on $Date" >&2
# Setting Variables
PassDir=$PS_HOME/autosys/pass # Location of the... (0 Replies)
Discussion started by: sonja
0 Replies
6. Programming
If anybody has a c/c++ code of send mail via smtp with or without authorization for Linux, I will be very grateful.
Thank's. (0 Replies)
Discussion started by: LuckyStr
0 Replies
7. UNIX for Advanced & Expert Users
Hi all,
I was trying to configure SMTP server with my linux box. I made changes to the /etc/mail/sendmail.cf whereby editing the line
DAEMON_OPTIONS(`Port=<port number>,Addr=<mail server name>, Name=MTA')dnl
after this ive created a new sendmail.cf file by using the command
m4... (4 Replies)
Discussion started by: amit_kv1983
4 Replies
8. UNIX for Advanced & Expert Users
Hi all,
I need to send mail to a particular email id using a local mail server.This mail shall contain the content of a file. I don't have any idea how to do it. Can anyone guide me ,where to start proceeding for it. Any guide or study material would appreciated. (1 Reply)
Discussion started by: amit_kv1983
1 Replies
9. UNIX for Dummies Questions & Answers
Hello,
Firstly, appologies, i am a windows man but i'm picking things up really quickly.!
We have some Unix boxes on our estate that route mail to a Windows SMTP server. This doesn't seem to work and after looking at the message headers it looks like the mail is getting bounced. :(
-----... (4 Replies)
Discussion started by: M2TTJ
4 Replies
10. IP Networking
I want to send e-mail from my yahoo account.
But
mail -s "title" *@yahoo.com < line.txt
is from my local address to *@yahoo.com.
How can i do this? (1 Reply)
Discussion started by: Euler04
1 Replies
Mail::Mailer(3) User Contributed Perl Documentation Mail::Mailer(3)
NAME
Mail::Mailer - Simple interface to electronic mailing mechanisms
INHERITANCE
Mail::Mailer
is a IO::Handle
SYNOPSIS
use Mail::Mailer;
use Mail::Mailer qw(mail); # specifies default mailer
$mailer = Mail::Mailer->new;
$mailer = Mail::Mailer->new($type, @args);
$mailer->open(\%headers);
print $mailer $body;
$mailer->close
or die "couldn't send whole message: $!
";
DESCRIPTION
Sends mail using any of the built-in methods. As TYPE argument to new(), you can specify any of
"sendmail"
Use the "sendmail" program to deliver the mail.
"smtp"
Use the "smtp" protocol via Net::SMTP to deliver the mail. The server to use can be specified in @args with
$mailer = Mail::Mailer->new('smtp', Server => $server);
The smtp mailer does not handle "Cc" and "Bcc" lines, neither their "Resent-*" fellows. The "Debug" options enables debugging output
from "Net::SMTP".
You may also use the "Auth => [ $user, $password ]" option for SASL authentication. To make this work, you have to install the
Authen::SASL distribution yourself: it is not automatically installed.
"smtps"
Use the smtp over ssl protocol via Net::SMTP::SSL to deliver the mail. Usage is identical to "smtp". You have to install Authen::SASL
as well.
$mailer = Mail::Mailer->new('smtps', Server => $server);
"qmail"
Use qmail's qmail-inject program to deliver the mail.
"testfile"
Used for debugging, this displays the data to the file named in $Mail::Mailer::testfile::config{outfile} which defaults to a file named
"mailer.testfile". No mail is ever sent.
"Mail::Mailer" will search for executables in the above order. The default mailer will be the first one found.
METHODS
Constructors
Mail::Mailer->new(TYPE, ARGS)
The TYPE is one of the back-end sender implementations, as described in the DESCRIPTION chapter of this manual page. The ARGS are
passed to that back-end.
$obj->open(HASH)
The HASH consists of key and value pairs, the key being the name of the header field (eg, "To"), and the value being the corresponding
contents of the header field. The value can either be a scalar (eg, "gnat@frii.com") or a reference to an array of scalars ("eg,
['gnat@frii.com', 'Tim.Bunce@ig.co.uk']").
DETAILS
ENVIRONMENT VARIABLES
PERL_MAILERS
Augments/override the build in choice for binary used to send out our mail messages.
Format:
"type1:mailbinary1;mailbinary2;...:type2:mailbinaryX;...:..."
Example: assume you want you use private sendmail binary instead of mailx, one could set "PERL_MAILERS" to:
"mail:/does/not/exists:sendmail:$HOME/test/bin/sendmail"
On systems which may include ":" in file names, use "|" as separator between type-groups.
"mail:c:/does/not/exists|sendmail:$HOME/test/bin/sendmail"
BUGS
Mail::Mailer does not help with folding, and does not protect against various web-script hacker attacks, for instance where a new-line is
inserted in the content of the field.
SEE ALSO
This module is part of the MailTools distribution, http://perl.overmeer.net/mailtools/.
AUTHORS
The MailTools bundle was developed by Graham Barr. Later, Mark Overmeer took over maintenance without commitment to further development.
Mail::Cap by Gisle Aas <aas@oslonett.no>. Mail::Field::AddrList by Peter Orbaek <poe@cit.dk>. Mail::Mailer and Mail::Send by Tim Bunce
<Tim.Bunce@ig.co.uk>. For other contributors see ChangeLog.
LICENSE
Copyrights 1995-2000 Graham Barr <gbarr@pobox.com> and 2001-2007 Mark Overmeer <perl@overmeer.net>.
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.18.2 2014-01-05 Mail::Mailer(3)