Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Eventual Email Delivery System

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 eg
Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 .gitignore
Octocat-spinner-32 CHANGES
Octocat-spinner-32 Changes
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 README
Octocat-spinner-32 README.mkdn
Octocat-spinner-32 cpanfile
Octocat-spinner-32 dist.ini
Octocat-spinner-32 weaver.ini
README.mkdn

NAME

Email::Sender::Server - Eventual Email Delivery System

VERSION

version 1.000001

SYNOPSIS

$ ess help start

then ...

$ ess start

then ...

package main;

# eventual emailer
my $mailer  = Email::Sender::Server::Client->new;
my $receipt = $mailer->email(to => '...', subject => '...', body => '...');

maybe ...

$ ess config

# set some defaults in ./ess_data/ess.cfg

maybe ...

$ tree ./ess_data/

# ... peek behind the curtain

also, send email from the command-line ...

$ ess email to:anewkirk@ana.io from:you@yoursite.com subject:Howdy ...

# and/or pipe to stdin

$ cat textfile.txt | ess email :text to:anewkirk@ana.io  ...

DESCRIPTION

Email::Sender::Server is designed to provide a simple API for sending emails from your applications in a non-blocking fashion. It accomplishes this by separating the email creation and delivery events, thus email delivery becomes eventual in-that email messages are not required to be delivered immediately.

This is very much a work in-progress, more documentation soon to come, see Email::Sender::Server::Client for more usage exmaples.

METHODS

run

The run method is used to execute Email::Sender::Server::Controller commands. Most commands exit abruptly and prints to STDOUT. This method is intended to be used by a command-line interface.

use Email::Sender::Server;

# start the server with 1 worker
Email::Sender::Server::run('start', 'worker:1');

AUTHOR

Al Newkirk anewkirk@ana.io

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Al Newkirk.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Something went wrong with that request. Please try again.