SubEtha SMTP 2.0.1 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News SubEtha SMTP 2.0.1 (Default branch)
# 1  
Old 01-25-2008
SubEtha SMTP 2.0.1 (Default branch)

SubEthaSMTP is an easy to understand Java library that provides a receptive SMTP server component. By plugging this component into your Java application, you can easily receive SMTP mail using a simple abstract Java interface. Also included is a small sub-project called Wiser, an easy to use incoming mail testing framework. It is based on top of Apache MINA for high performance new I/O (NIO) operation. License: The Apache License 2.0 Changes:
An issue with Wiser not storing messages for re-use has been fixed. Major refactoring to prevent OOM and improve perfs when dealing with large attached files. The returned hostname is now locahost when null. A -1 value has been added to override limits on setMaxConnections() and setMaxRecipients(). Handling of auth mechanisms has been fixed to require a configured auth mechanism when needed. A missing space char in the extended HELO AUTH string has been fixed. This release will prevent an SLF4J error on startup by linking the jdk14 logging facility.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
Email::Send::SMTP(3pm)					User Contributed Perl Documentation				    Email::Send::SMTP(3pm)

NAME
Email::Send::SMTP - Send Messages using SMTP SYNOPSIS
use Email::Send; my $mailer = Email::Send->new({mailer => 'SMTP'}); $mailer->mailer_args([Host => 'smtp.example.com:465', ssl => 1]) if $USE_SSL; $mailer->send($message); DESCRIPTION
This mailer for "Email::Send" uses "Net::SMTP" to send a message with an SMTP server. The first invocation of "send" requires an SMTP server arguments. Subsequent calls will remember the the first setting until it is reset. Any arguments passed to "send" will be passed to "Net::SMTP->new()", with some exceptions. "username" and "password", if passed, are used to invoke "Net::SMTP->auth()" for SASL authentication support. "ssl", if set to true, turns on SSL support by using "Net::SMTP::SSL". SMTP can fail for a number of reasons. All return values from this package are true or false. If false, sending has failed. If true, send succeeded. The return values are "Return::Value" objects, however, and contain more information on just what went wrong. Here is an example of dealing with failure. my $return = send SMTP => $message, 'localhost'; die "$return" if ! $return; The stringified version of the return value will have the text of the error. In a conditional, a failure will evaluate to false. Here's an example of dealing with success. It is the case that some email addresses may not succeed but others will. In this case, the return value's "bad" property is set to a list of bad addresses. my $return = send SMTP => $message, 'localhost'; if ( $return ) { my @bad = @{ $return->prop('bad') }; warn "Failed to send to: " . join ', ', @bad if @bad; } For more information on these return values, see Return::Value. ENVELOPE GENERATION The envelope sender and recipients are, by default, generated by looking at the From, To, Cc, and Bcc headers. This behavior can be modified by replacing the "get_env_sender" and "get_env_recipients" methods, both of which receive the Email::Simple object and their only parameter, and return email addresses. SEE ALSO
Email::Send, Net::SMTP, Net::SMTP::SSL, Email::Address, Return::Value, perl. AUTHOR
Current maintainer: Ricardo SIGNES, <rjbs@cpan.org>. Original author: Casey West, <casey@geeknest.com>. COPYRIGHT
Copyright (c) 2004 Casey West. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.4 2009-07-12 Email::Send::SMTP(3pm)