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.
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.
have a look at ActionMailer:
look for attachment, this should allow to add images, i guess (didn’t
try it, though)
On Fri, 11 Apr 2008 23:24:16 +0900
Thorsten M. [email protected] 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?
On Fri, Apr 11, 2008 at 10:43 AM, David A. [email protected]
wrote:
On Fri, 11 Apr 2008 23:24:16 +0900
Thorsten M. [email protected] 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?
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.
–
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David A. wrote:
| On Fri, 11 Apr 2008 23:24:16 +0900
| Thorsten M. [email protected] 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?
|
No reason that ActonMailer is limited to Eails alone.
However, I’d cut out the middleman, and go for tmail directly.
Phillip G.
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-----
On Fri, Apr 11, 2008 at 1:16 PM, Phillip G.
[email protected] wrote:
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/
Gordon T.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gordon T. wrote:
| On Fri, Apr 11, 2008 at 1:16 PM, Phillip G.
| [email protected] wrote:
|> 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/
|
Merb's Mailer is Awesome (if I do say so myself)
Oh, that looks good. Thanks for the tip.
Phillip G.
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-----
On 11 Apr 2008, at 15:43, David A. wrote:
On Fri, 11 Apr 2008 23:24:16 +0900
Thorsten M. [email protected] 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?
How about EventMachine with it’s SmtpClient, I love it
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs