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.
C7d5bc5b054035d95f287797c2595694?d=identicon&s=25 Matias Surdi (Guest)
on 2006-05-12 09: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.
59de94a56fd2c198f33d9515d1c05961?d=identicon&s=25 Tom Mornini (Guest)
on 2006-05-12 09: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 Mornini
This topic is locked and can not be replied to.