Re: [PATCH] ldirectord: Allow sending email via external SMTP server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Attached is a new patch. This one adds two new subs:
ld_emailalert_net_smtp and ld_emailalert_mail_send. If an SMTP server
is set in ldirectord.cf, then ld_emailalert_net_smtp will be called
and the email will be sent via SMTP. If an SMTP server is not set in
ldirectord.cf then ld_emailalert_mail_send will be called and the
email will be sent via the Mail::Send methods.

Let me know what you think.

Caleb

On Tue, May 5, 2009 at 6:47 AM, Simon Horman <horms@xxxxxxxxxxxx> wrote:
> On Fri, May 01, 2009 at 01:42:06PM -0600, Caleb Anthony wrote:
>> I think that's a good idea, I'll see what I can do to get a patch that
>> adds that functionality.
>
> Great, thanks.
>
> --
> Simon Horman
>  VA Linux Systems Japan K.K. Satellite Lab in Sydney, Australia
>  H: www.vergenet.net/~horms/            W: www.valinux.co.jp/en
>
>

Attachment: ldirectord.patch
Description: Binary data


[Index of Archives]     [Linux Filesystem Devel]     [Linux NFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [X.Org]

  Powered by Linux