The express way to send mail from Ruby.

Send email in one command:
Pony.mail(:to => 'someone@example.com', :body => 'hello')

Pony uses /usr/sbin/sendmail to send mail if it
is available, otherwise it uses SMTP to localhost.

Also, you may need rubygem-smtp_tls if you want to
send via tls/ssl and are using ruby < 1.8.7

WWW: http://github.com/benprew/pony

PR:		ports/150116
Submitted by:	Eric Freeman <freebsdports at chillibear.com>
This commit is contained in:
Philip M. Gollucci 2010-08-30 21:49:13 +00:00
parent 63e560a5d7
commit b19aebac9b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260220
4 changed files with 38 additions and 0 deletions

View file

@ -599,6 +599,7 @@
SUBDIR += rubygem-actionmailer
SUBDIR += rubygem-mail
SUBDIR += rubygem-mailfactory
SUBDIR += rubygem-pony
SUBDIR += rubygem-tmail
SUBDIR += sa-stats
SUBDIR += sa-utils

View file

@ -0,0 +1,22 @@
# Ports collection makefile for: rubygem-pony
# Date created: 30 Aug 2010
# Whom: Eric Freeman <freebsdports@chillibear.com>
#
# $FreeBSD$
#
PORTNAME= pony
PORTVERSION= 1.0
CATEGORIES= mail rubygems
MASTER_SITES= RG
MAINTAINER= freebsdports@chillibear.com
COMMENT= The express way to send mail from Ruby
RUN_DEPENDS= rubygem-mail>=2.0:${PORTSDIR}/mail/rubygem-mail
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (rubygem/pony-1.0.gem) = aa8b08e5b2d14b1ca1427273043b5da7
SHA256 (rubygem/pony-1.0.gem) = 98314dedc90e36a7e3a1a970294159fa43ba81609e80444f143206daa4e07904
SIZE (rubygem/pony-1.0.gem) = 9216

View file

@ -0,0 +1,12 @@
The express way to send mail from Ruby.
Send email in one command:
Pony.mail(:to => 'someone@example.com', :body => 'hello')
Pony uses /usr/sbin/sendmail to send mail if it
is available, otherwise it uses SMTP to localhost.
Also, you may need rubygem-smtp_tls if you want to
send via tls/ssl and are using ruby < 1.8.7
WWW: http://github.com/benprew/pony