Forum: Ruby on Rails ActionMailer without rails

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Matias S. (Guest)
on 2006-05-12 11:00
(Received via mailing list)

Could someone post here a simple example of sending a mail throught a
smtp server from ActionMailer but *outside* rails??

I mean, a simple script starting with:

require 'rubygems'
require_gem 'actionmailer'

#stuff that sends some text by smtp

I've been trying but I can't get it to work.

Thanks everybody.
Tom M. (Guest)
on 2006-05-12 11:46
(Received via mailing list)
Why not just use the Rails environment with script/runner?

Just curious, and wondering whether it's really worth the time?

-- Tom M.
This topic is locked and can not be replied to.