Sending emails

D

David Anderson

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.
 
R

Rick DeNatale

But surely that is a Rails solution, not a Ruby solution?

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.
 
P

Phillip Gawlowski

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Anderson wrote:
| On Fri, 11 Apr 2008 23:24:16 +0900
|
|> 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)
|
| 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkf/quUACgkQbtAgaoJTgL8iCwCeIpyJ1KEbspFslxlhuFX4N3Zm
//kAnjgyJAVKGHsAy+/SOE2Ej4jKUI7G
=Vj7b
-----END PGP SIGNATURE-----
 
P

Phillip Gawlowski

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gordon Thiesfeld wrote:
| On Fri, Apr 11, 2008 at 1:16 PM, Phillip Gawlowski
|> However, I'd cut out the middleman, and go for tmail directly.
|>
|
| You might also want to look at MailFactory
|
| http://rubyforge.org/projects/mailfactory/
|
http://yehudakatz.com/2007/09/03/merbs-mailer-is-awesome-if-i-do-say-so-myself/


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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkf/uTwACgkQbtAgaoJTgL+hlwCcD6fuV9mF2063xK2e3Bkl4rdv
crEAoIHjG4cwpqAY0mOM1vmeUIx4CaNX
=KgNr
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top