Is there a gem for sending emails?
I want to automate a process for sending emails containing images. I
have it running in perl using Mime::Lite, and I was hoping that there
was something similar in Ruby.
···
--
Regards
David
Is there a gem for sending emails?
I want to automate a process for sending emails containing images. I
have it running in perl using Mime::Lite, and I was hoping that there
was something similar in Ruby.
--
Regards
David
have a look at ActionMailer:
http://api.rubyonrails.org/classes/ActionMailer/Base.html
look for attachment, this should allow to add images, i guess (didn't
try it, though)
--
Posted via http://www.ruby-forum.com/.
But surely that is a Rails solution, not a Ruby solution?
On Fri, 11 Apr 2008 23:24:16 +0900 Thorsten Mueller <thorsten@80beans.com> wrote:
have a look at ActionMailer:
ActionMailer::Baselook for attachment, this should allow to add images, i guess (didn't
try it, though)
--
Regards
David
actionmailer is a separate gem like activerecord.
I believe that, like activerecord, it can be used independently of
Rails, although I've not done that personally.
On Fri, Apr 11, 2008 at 10:43 AM, David Anderson <lists@pern.co.uk> wrote:
On Fri, 11 Apr 2008 23:24:16 +0900 > Thorsten Mueller <thorsten@80beans.com> wrote:
> have a look at ActionMailer:
> ActionMailer::Base
>
> look for attachment, this should allow to add images, i guess (didn't
> try it, though)But surely that is a Rails solution, not a Ruby solution?
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
have a look at ActionMailer:
ActionMailer::Baselook for attachment, this should allow to add images, i guess (didn't
try it, though)But surely that is a Rails solution, not a Ruby solution?
How about EventMachine with it's SmtpClient, I love it
On 11 Apr 2008, at 15:43, David Anderson wrote:
On Fri, 11 Apr 2008 23:24:16 +0900 > Thorsten Mueller <thorsten@80beans.com> wrote:
--
Regards
David
David Anderson wrote:
On Fri, 11 Apr 2008 23:24:16 +0900 > Thorsten Mueller <thorsten@80beans.com> wrote:
have a look at ActionMailer:
ActionMailer::Baselook for attachment, this should allow to add images, i guess (didn't
try it, though)But surely that is a Rails solution, not a Ruby solution?
No reason that ActonMailer is limited to Eails alone.
However, I'd cut out the middleman, and go for tmail directly.
- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
Abstain from wine, women, and song; mostly song.
You might also want to look at MailFactory
http://rubyforge.org/projects/mailfactory/
Gordon Thiesfeld
On Fri, Apr 11, 2008 at 1:16 PM, Phillip Gawlowski <cmdjackryan@googlemail.com> wrote:
However, I'd cut out the middleman, and go for tmail directly.
Gordon Thiesfeld wrote:
However, I'd cut out the middleman, and go for tmail directly.
You might also want to look at MailFactory
Oh, that looks good. Thanks for the tip.
- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
~ "When life gives you a lemon, make lemonade." -Susie "I say, when
life gives you a lemon, wing it right back and add some lemons of your
own!" -Calvin
On Fri, Apr 11, 2008 at 1:16 PM, Phillip Gawlowski > <cmdjackryan@googlemail.com> wrote: